summaryrefslogtreecommitdiff
path: root/keyboards/rgbkb/zen/rev2/keymaps/debug
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2019-05-14 13:58:56 -0500
committerDrashna Jaelre <drashna@live.com>2019-05-14 11:58:56 -0700
commit4cdb86c730528c8ca5ff90f5b9b01c395d31fc0e (patch)
treee7d20a62af90342ba4dc59d769b46aec01b5c31a /keyboards/rgbkb/zen/rev2/keymaps/debug
parente8b27a965d4f6abcc2773022f451bdc7eabebf69 (diff)
[Keyboard] Create RGBKB Folder (#5858)
* Move Sol, Zen, & Zygomorph keyboards to RGBKB folder * Updated default keymaps * Fixing more areas due too folder moves * Fixing Zen layer numbers * Fixing zygomorph layer comments * Fixing Colmak comments * Fixing Sol Colmak readme * Macro alignment * Zen rev2 configuration json * Fixing sol ifdef * Fixing Sol info.json
Diffstat (limited to 'keyboards/rgbkb/zen/rev2/keymaps/debug')
-rw-r--r--keyboards/rgbkb/zen/rev2/keymaps/debug/keymap.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/rgbkb/zen/rev2/keymaps/debug/keymap.c b/keyboards/rgbkb/zen/rev2/keymaps/debug/keymap.c
new file mode 100644
index 0000000000..e2d3d6a356
--- /dev/null
+++ b/keyboards/rgbkb/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;
+}