summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/keymaps
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-11-18 02:16:38 +0000
committerGitHub <noreply@github.com>2022-11-18 02:16:38 +0000
commit5d882ab6ef6bc3cf384046f409a86cbb7550153c (patch)
treee06919d83bf76945665e5c5ecc7a2d76de95f38c /keyboards/handwired/onekey/keymaps
parentd86c0d372312dc72a384e166d4cc8653de670610 (diff)
Disable onekey console by default (#19104)
Diffstat (limited to 'keyboards/handwired/onekey/keymaps')
-rw-r--r--keyboards/handwired/onekey/keymaps/console/keymap.c8
-rw-r--r--keyboards/handwired/onekey/keymaps/console/rules.mk2
-rw-r--r--keyboards/handwired/onekey/keymaps/hardware_id/rules.mk1
-rw-r--r--keyboards/handwired/onekey/keymaps/oled/rules.mk1
4 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/keymaps/console/keymap.c b/keyboards/handwired/onekey/keymaps/console/keymap.c
index b47fb59d17..3f5d0664f5 100644
--- a/keyboards/handwired/onekey/keymaps/console/keymap.c
+++ b/keyboards/handwired/onekey/keymaps/console/keymap.c
@@ -18,3 +18,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
+
+void keyboard_post_init_user(void) {
+ // Customise these values to desired behaviour
+ debug_enable=true;
+ debug_matrix=true;
+ //debug_keyboard=true;
+ //debug_mouse=true;
+}
diff --git a/keyboards/handwired/onekey/keymaps/console/rules.mk b/keyboards/handwired/onekey/keymaps/console/rules.mk
new file mode 100644
index 0000000000..7c83606d2d
--- /dev/null
+++ b/keyboards/handwired/onekey/keymaps/console/rules.mk
@@ -0,0 +1,2 @@
+CONSOLE_ENABLE = yes
+DEBUG_MATRIX_SCAN_RATE_ENABLE = yes
diff --git a/keyboards/handwired/onekey/keymaps/hardware_id/rules.mk b/keyboards/handwired/onekey/keymaps/hardware_id/rules.mk
new file mode 100644
index 0000000000..15b7f725b2
--- /dev/null
+++ b/keyboards/handwired/onekey/keymaps/hardware_id/rules.mk
@@ -0,0 +1 @@
+CONSOLE_ENABLE = yes
diff --git a/keyboards/handwired/onekey/keymaps/oled/rules.mk b/keyboards/handwired/onekey/keymaps/oled/rules.mk
index 6b69e50dbb..83757b1909 100644
--- a/keyboards/handwired/onekey/keymaps/oled/rules.mk
+++ b/keyboards/handwired/onekey/keymaps/oled/rules.mk
@@ -1,3 +1,4 @@
OLED_ENABLE = yes
OLED_DRIVER = SSD1306
TAP_DANCE_ENABLE = yes
+CONSOLE_ENABLE = yes