diff options
author | lokher <lokher@gmail.com> | 2023-10-25 15:08:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 15:08:46 +0800 |
commit | d72ae351eabcf2baec05436b1e479182863bfda2 (patch) | |
tree | d18c407f6e996a309a27792ef12c604fd7a7e59c /keyboards/keychron/q6_pro/config.h | |
parent | eca6feaf10c7077e00506c7dc5491cfde77546ce (diff) | |
parent | 1df560b679d2c8e8c6bf0e2156127d363eba0ce7 (diff) |
Merge pull request #185 from KeychronMacro/keychron_k15_pro
Add keychron k15 pro
Diffstat (limited to 'keyboards/keychron/q6_pro/config.h')
-rwxr-xr-x | keyboards/keychron/q6_pro/config.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/keyboards/keychron/q6_pro/config.h b/keyboards/keychron/q6_pro/config.h index 2d8b8e11c4..05de1e5ff2 100755 --- a/keyboards/keychron/q6_pro/config.h +++ b/keyboards/keychron/q6_pro/config.h @@ -20,8 +20,7 @@ #define RGB_DISABLE_WHEN_USB_SUSPENDED /* DIP switch */ -#define DIP_SWITCH_PINS \ - { A8 } +#define DIP_SWITCH_PINS { A8 } /* Increase I2C speed to 1000 KHz */ #define I2C1_TIMINGR_PRESC 0U @@ -77,14 +76,16 @@ #endif /* Encoder Configuration */ -#define ENCODER_DEFAULT_POS 0x3 +#ifdef ENCODER_ENABLE +# define ENCODER_DEFAULT_POS 0x3 +#endif /* Emulated EEPROM configuration */ #define FEE_DENSITY_BYTES FEE_PAGE_SIZE #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047 -/* Old default behavior of mod-taps */ -#define HOLD_ON_OTHER_KEY_PRESS +/* HC595 Driver configuration */ +#define HC595_END_INDEX 20 /* Factory test keys */ #define FN_KEY1 MO(1) |