summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q1_pro/config.h
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-10-16 13:53:37 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-10-16 13:53:37 +0800
commit76937cbc3d7db45d1b203018dbf78f2fd3837591 (patch)
treea6040854f47ef7741dceb2587be625b9595e4d09 /keyboards/keychron/q1_pro/config.h
parentef55878bc9ba7ff249f4dd5428c066b71c483de9 (diff)
Update q1 pro
Diffstat (limited to 'keyboards/keychron/q1_pro/config.h')
-rw-r--r--keyboards/keychron/q1_pro/config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/keychron/q1_pro/config.h b/keyboards/keychron/q1_pro/config.h
index 9a6da1ecf4..cc17c33a92 100644
--- a/keyboards/keychron/q1_pro/config.h
+++ b/keyboards/keychron/q1_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 }
#ifdef KC_BLUETOOTH_ENABLE
/* Hardware configuration */
@@ -68,6 +67,11 @@
#define FEE_DENSITY_BYTES FEE_PAGE_SIZE
#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047
+/* Encoder Configuration */
+#ifdef ENCODER_ENABLE
+# define ENCODER_DEFAULT_POS 0x3
+#endif
+
/* Factory test keys */
#define FN_KEY1 MO(1)
#define FN_KEY2 MO(3)