summaryrefslogtreecommitdiffstats
path: root/keyboards/xd004/keymaps/default
diff options
context:
space:
mode:
authorSidney Bovet <sidney.bovet@gmail.com>2019-07-15 19:35:05 +0200
committerDrashna Jaelre <drashna@live.com>2019-07-15 10:35:05 -0700
commita200f194d14086e2da740ac48bac5ffdf36689d8 (patch)
tree0a8cb1ae1bbd535e70868379c54a643672cf09d4 /keyboards/xd004/keymaps/default
parentb2fb0ceeef1a3f8ba96184fbeb21b2c89456c06a (diff)
[Keyboard] Add support for XD004 macro keyboard (#6337)
* Add support for XD004 Also applying the following suggested edits: Add hardware availability link in readme Co-Authored-By: Drashna Jaelre <drashna@live.com> Enable lite bootmagic Co-Authored-By: Drashna Jaelre <drashna@live.com> Remove commented out MCU Co-Authored-By: fauxpark <fauxpark@gmail.com> * Add more ellaborate keymap Correcting usage of tap_code_16 for modified key, thanks to @drashna * Add information about bootloader type Co-Authored-By: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/xd004/keymaps/default')
-rw-r--r--keyboards/xd004/keymaps/default/keymap.c13
-rw-r--r--keyboards/xd004/keymaps/default/readme.md7
2 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/xd004/keymaps/default/keymap.c b/keyboards/xd004/keymaps/default/keymap.c
new file mode 100644
index 0000000000..e82ce5e973
--- /dev/null
+++ b/keyboards/xd004/keymaps/default/keymap.c
@@ -0,0 +1,13 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ // 0: Base Layer
+ LAYOUT_all(KC_L, KC_O, KC_V, KC_E),
+
+};
+
+// Loop
+void matrix_scan_user(void){
+ // Empty
+};
diff --git a/keyboards/xd004/keymaps/default/readme.md b/keyboards/xd004/keymaps/default/readme.md
new file mode 100644
index 0000000000..fdf07cc877
--- /dev/null
+++ b/keyboards/xd004/keymaps/default/readme.md
@@ -0,0 +1,7 @@
+# Default Keymap for XD004 PCB
+
+This keymap is not very useful, but it will validate that the board works.
+
+## Build
+
+To build the default keymap, simply run `make xd004:default`.