Add some optimization to the Tetris keyboard (#4645)
This commit is contained in:
parent
02d44beb44
commit
161ffa0af6
3 changed files with 31 additions and 44 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue