From a2fa12d6313b85822113a80f23ace951b2f9af17 Mon Sep 17 00:00:00 2001 From: yinxianwei Date: Sat, 18 Jul 2020 01:46:05 +0800 Subject: [keyboard] Add x16 (#9709) * [keyboard] Add x16 * update x16 * Update keyboards/x16/config.h Co-authored-by: Ryan * Update keyboards/x16/readme.md Co-authored-by: Ryan * Update keyboards/x16/rules.mk Co-authored-by: Ryan * Update keyboards/x16/rules.mk Co-authored-by: Ryan * Update keyboards/x16/rules.mk Co-authored-by: Ryan Co-authored-by: Ryan --- keyboards/x16/keymaps/default/keymap.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 keyboards/x16/keymaps/default/keymap.c (limited to 'keyboards/x16/keymaps/default') 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 + ) +}; -- cgit v1.2.3