diff options
author | kb-elmo <lorwel@mailbox.org> | 2020-08-07 05:47:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 20:47:00 -0700 |
commit | 2d8703f6cc61918aaefd3ce04a064a82ab238140 (patch) | |
tree | 42d61cae87c2e5f40fbb30da5967c9326f55e8d2 /keyboards/kb_elmo/elmopad/keymaps | |
parent | c125d0a7a0daa539d425c6c01ace4175ebffa2f1 (diff) | |
download | qmk_firmware-2d8703f6cc61918aaefd3ce04a064a82ab238140.tar.gz qmk_firmware-2d8703f6cc61918aaefd3ce04a064a82ab238140.zip |
[Keyboard] add kb-elmo boards (#9898)
* add kb-elmo boards
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* fix wrong names
* fix VID and UID
Diffstat (limited to 'keyboards/kb_elmo/elmopad/keymaps')
-rw-r--r-- | keyboards/kb_elmo/elmopad/keymaps/default/keymap.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/kb_elmo/elmopad/keymaps/default/keymap.c b/keyboards/kb_elmo/elmopad/keymaps/default/keymap.c new file mode 100644 index 0000000000..9e672de69d --- /dev/null +++ b/keyboards/kb_elmo/elmopad/keymaps/default/keymap.c @@ -0,0 +1,28 @@ +/* Copyright 2020 kb-elmo<mail@elmo.space> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* Base */ + [0] = LAYOUT_numpad_6x4( + KC_ESC, KC_TAB, KC_DEL, KC_BSPC, + KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT + ) +}; |