diff options
author | Adam Gwilliam <adamgwilliam@gmail.com> | 2020-08-18 16:36:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 14:36:46 -0700 |
commit | 5aa55a715420a4977562c21ae4f76870024e8c42 (patch) | |
tree | ecbd5286855b053b372f7064db0e88305c07e748 /keyboards/boardsource/3x4/keymaps/via/keymap.c | |
parent | 03090d657148dcad87f4ad51bba4a13f078a8083 (diff) | |
download | firmware-5aa55a715420a4977562c21ae4f76870024e8c42.tar.gz firmware-5aa55a715420a4977562c21ae4f76870024e8c42.tar.bz2 firmware-5aa55a715420a4977562c21ae4f76870024e8c42.zip |
add VIA keymap for boardsource/3x4 (#10043)
* via keymap for boardsource/3x4
* fix formatting
* Apply suggestions from code review
fix rules.mk
* Update keyboards/boardsource/3x4/rules.mk
* use unique product ID
* update vendor id to be unique, update product id to make more sense
Diffstat (limited to 'keyboards/boardsource/3x4/keymaps/via/keymap.c')
-rw-r--r-- | keyboards/boardsource/3x4/keymaps/via/keymap.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/boardsource/3x4/keymaps/via/keymap.c b/keyboards/boardsource/3x4/keymaps/via/keymap.c new file mode 100644 index 000000000..a4824f8bf --- /dev/null +++ b/keyboards/boardsource/3x4/keymaps/via/keymap.c @@ -0,0 +1,25 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + LAYOUT( + KC_0, KC_1, KC_4, KC_7, + KC_ENT, KC_2, KC_5, KC_8, + MO(1), KC_3, KC_6, KC_9 + ), + LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, RESET + ), + LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; |