summaryrefslogtreecommitdiff
path: root/keyboards/x16/keymaps/default
diff options
context:
space:
mode:
authoryinxianwei <yinxianwei@qq.com>2020-07-18 01:46:05 +0800
committerGitHub <noreply@github.com>2020-07-17 18:46:05 +0100
commita2fa12d6313b85822113a80f23ace951b2f9af17 (patch)
tree681be3987d7a2976d1c56e2944ac63f5664ccc1e /keyboards/x16/keymaps/default
parent412c6bf44785e2312821a484a7cd36ce1ec6361a (diff)
[keyboard] Add x16 (#9709)
* [keyboard] Add x16 * update x16 * Update keyboards/x16/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/x16/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/x16/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/x16/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/x16/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/x16/keymaps/default')
-rw-r--r--keyboards/x16/keymaps/default/keymap.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/x16/keymaps/default/keymap.c b/keyboards/x16/keymaps/default/keymap.c
new file mode 100644
index 0000000000..ab15eb9556
--- /dev/null
+++ b/keyboards/x16/keymaps/default/keymap.c
@@ -0,0 +1,27 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┬───┐
+ * │ 7 │ 8 │ 9 │BAC│
+ * ├───┼───┼───┤───┤ 
+ * │ 4 │ 5 │ 6 │VOU│
+ * ├───┼───┼───┼───┤
+ * │ 1 │ 2 │ 3 │VOD│
+ * ├───┼───┼───┤───┤ 
+ * │MO1│ 0 │ . │ENT│
+ * └───┴───┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_4x4(
+ KC_P7, KC_P8, KC_P9, KC_BSPC,
+ KC_P4, KC_P5, KC_P6, KC_VOLU,
+ KC_P1, KC_P2, KC_P3, KC_VOLD,
+ MO(1), KC_P0, KC_DOT, KC_ENT
+ ),
+ [1] = LAYOUT_ortho_4x4(
+ RESET, KC_TRNS, KC_TRNS, KC_DEL,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY
+ )
+};