diff options
author | cole smith <38364556+daysgobye@users.noreply.github.com> | 2020-06-01 13:07:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 06:07:49 +1000 |
commit | f1c33423b07886355c7a06c2bc785dcd22c4e10d (patch) | |
tree | 6d762337aba75c69da0dffc273c9da6836b5fa3b /keyboards/boardsource/3x4/keymaps/default/keymap.c | |
parent | 5f8e8540fb135b416a2d8f8a59df2b29ee9b9443 (diff) |
Added new keyboard boardsource/3x4 (#9247)
* added bordsource 3x4 macro pad
* added bordsource 3x4 macro pad
* Update keyboards/boardsource/3x4/3x4.h
Co-authored-by: Nick Brassel <nick@tzarc.org>
* Update keyboards/boardsource/3x4/3x4.c
Co-authored-by: Nick Brassel <nick@tzarc.org>
* Update keyboards/boardsource/3x4/config.h
Co-authored-by: Nick Brassel <nick@tzarc.org>
* Update keyboards/boardsource/3x4/config.h
Co-authored-by: Nick Brassel <nick@tzarc.org>
* Update keyboards/boardsource/3x4/config.h
Co-authored-by: Nick Brassel <nick@tzarc.org>
* Update keyboards/boardsource/3x4/config.h
Co-authored-by: Nick Brassel <nick@tzarc.org>
* added link to readme
* Update keyboards/boardsource/3x4/keymaps/default/keymap.c
Co-authored-by: Nick Brassel <nick@tzarc.org>
* Apply suggestions from code review
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/boardsource/3x4/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/boardsource/3x4/keymaps/default/keymap.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/boardsource/3x4/keymaps/default/keymap.c b/keyboards/boardsource/3x4/keymaps/default/keymap.c new file mode 100644 index 0000000000..3add4f7fbf --- /dev/null +++ b/keyboards/boardsource/3x4/keymaps/default/keymap.c @@ -0,0 +1,25 @@ + +#include QMK_KEYBOARD_H + +#define _MAIN 0 +#define _RAISE 1 +#define _LOWER 2 + +// Readability keycodes +#define LOWER MO(_LOWER) +#define RAISE MO(_RAISE) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [_MAIN] = LAYOUT( + KC_0, KC_1, KC_4, KC_7, + KC_ENT, KC_2, KC_5, KC_8, + RAISE, KC_3, KC_6, KC_9 + ), + [_RAISE] = LAYOUT( + _______, _______, _______, _______, + _______, _______, _______, _______, + _______, _______, _______, RESET + ) + +}; |