summaryrefslogtreecommitdiffstats
path: root/keyboards/zen/rev2/keymaps/debug
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2019-04-15 00:29:50 -0400
committerDrashna Jaelre <drashna@live.com>2019-04-14 21:29:50 -0700
commitffc82ebdb2ee00c14dd225eb057d209d4584a623 (patch)
tree8b6fdf04546b52ce810e28bf1183e35ec628cc7e /keyboards/zen/rev2/keymaps/debug
parent49746830402cc0e1c0227c6c3c06ebc22fcd016c (diff)
[Keyboard] Zen keyboard update for Rev2 (#5522)
* Updated Zen keyboard for rev2 support * Fixing r1 compile errors * PR feedback and changes for Proton-C compile errors
Diffstat (limited to 'keyboards/zen/rev2/keymaps/debug')
-rw-r--r--keyboards/zen/rev2/keymaps/debug/keymap.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/zen/rev2/keymaps/debug/keymap.c b/keyboards/zen/rev2/keymaps/debug/keymap.c
new file mode 100644
index 0000000000..e2d3d6a356
--- /dev/null
+++ b/keyboards/zen/rev2/keymaps/debug/keymap.c
@@ -0,0 +1,19 @@
+#include QMK_KEYBOARD_H
+#include <stdio.h>
+
+// extern keymap_config_t keymap_config;
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { { { KC_TRNS } } };
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ static char buf[10] = " ";
+
+ if (record->event.pressed) {
+ snprintf(buf, 10, "C%dR%d ", record->event.key.col, record->event.key.row);
+
+ send_string(buf);
+ }
+ return false;
+
+ return true;
+}