diff options
author | lalalademaxiya1 <2831039915@qq.com> | 2023-10-16 12:21:12 +0800 |
---|---|---|
committer | lalalademaxiya1 <2831039915@qq.com> | 2023-10-16 12:21:12 +0800 |
commit | d98aab33c05f5db81a88dd4d47a5a6e3a3d665e1 (patch) | |
tree | f7fd24734d2f27d41da69e7abfcb95cab874382a /keyboards/keychron/q3_pro/config.h | |
parent | 03b160c413f4bd59c60b677dde13e0bda3face56 (diff) |
Update some boards
Diffstat (limited to 'keyboards/keychron/q3_pro/config.h')
-rw-r--r-- | keyboards/keychron/q3_pro/config.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/keychron/q3_pro/config.h b/keyboards/keychron/q3_pro/config.h index b74ec45f41..7f0abcec6e 100644 --- a/keyboards/keychron/q3_pro/config.h +++ b/keyboards/keychron/q3_pro/config.h @@ -20,8 +20,7 @@ #define RGB_DISABLE_WHEN_USB_SUSPENDED /* DIP switch for Mac/win OS switch */ -#define DIP_SWITCH_PINS \ - { A8 } +#define DIP_SWITCH_PINS { A8 } /* Increase I2C speed to 1000 KHz */ #define I2C1_TIMINGR_PRESC 0U @@ -76,15 +75,14 @@ #endif // KC_BLUETOOTH_ENABLE /* 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 - /* Factory test keys */ #define FN_KEY1 MO(1) #define FN_KEY2 MO(3) |