summaryrefslogtreecommitdiff
path: root/keyboards/tetris/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tetris/config.h')
-rw-r--r--keyboards/tetris/config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/tetris/config.h b/keyboards/tetris/config.h
index 7e7dac7cf6..c2e5524490 100644
--- a/keyboards/tetris/config.h
+++ b/keyboards/tetris/config.h
@@ -1,5 +1,4 @@
-#ifndef CONFIG_H
-#define CONFIG_H
+#pragma once
#include "config_common.h"
@@ -10,6 +9,7 @@
#define MANUFACTURER Fengz
#define PRODUCT Tetris
#define DESCRIPTION Planck mit
+
#define QMK_ESC_OUTPUT B0
#define QMK_ESC_INPUT D7
#define QMK_LED B7
@@ -41,8 +41,10 @@
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
+
#define TAPPING_TERM 200
-#define PERMISSIVE_HOLD
#ifdef AUDIO_ENABLE
#define B5_AUDIO
@@ -50,13 +52,11 @@
#define NO_MUSIC_MODE
#endif
+#if RGBLIGHT_ENABLE
#define RGB_DI_PIN F5
-#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_SLEEP
#define RGBLED_NUM 47
#define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 12
//#define RGBLIGHT_LIMIT_VAL 128
#endif
-
-#endif