summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q1/q1.h
diff options
context:
space:
mode:
authorlalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com>2021-08-24 08:32:15 +0800
committerGitHub <noreply@github.com>2021-08-23 17:32:15 -0700
commite3483b4126adca1730dbaf1d466a227e66c6df91 (patch)
treeff2c37cf81cd589932d3838904bd0f530cb98a53 /keyboards/keychron/q1/q1.h
parent9472c4b8cb448f04e17810dd304e368c60fdd504 (diff)
downloadqmk_firmware-e3483b4126adca1730dbaf1d466a227e66c6df91.tar.gz
qmk_firmware-e3483b4126adca1730dbaf1d466a227e66c6df91.zip
[Keyboard] Add new keyboard version: keychron/q1/rev_0102 (#14029)
* Add keyboard Q1 * Update keyboards/keychron/q1/readme.md * Update keyboards/keychron/q1/rev_0100/rules.mk * Update keyboards/keychron/q1/readme.md * Change layer switch function to "default_layout_set" * Update keyboards/keychron/q1/rev_0100/info.json * Update keyboards/keychron/q1/q1.c * Mask out the DIP switch to fix sleeping issue when switch is ON * Added and changed readme.md Added keyboards\q1\rev_0100\readme.md Changed keyboards\q1\readme.md since different MCU may used in other version. * update * update keymap name * update keymap for keychron/q1/rev_0102 * Update info.json
Diffstat (limited to 'keyboards/keychron/q1/q1.h')
-rw-r--r--keyboards/keychron/q1/q1.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/keyboards/keychron/q1/q1.h b/keyboards/keychron/q1/q1.h
index 1e92a062ad..eb9a7d69a7 100644
--- a/keyboards/keychron/q1/q1.h
+++ b/keyboards/keychron/q1/q1.h
@@ -18,6 +18,9 @@
#include "quantum.h"
-#if defined(KEYBOARD_keychron_q1_rev_0100)
+
+#if defined(KEYBOARD_keychron_q1_rev_0100)
# include "rev_0100.h"
-#endif
+#elif defined(KEYBOARD_keychron_q1_rev_0102)
+# include "rev_0102.h"
+#endif \ No newline at end of file