diff options
author | Felipe Bastos <felipe.v.b@icloud.com> | 2022-01-29 13:28:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 10:28:00 -0800 |
commit | 2100a7ca7b67eabba43ead29a49e630de24c835e (patch) | |
tree | 355c3ac7e823ef3c2368b84b7b23f938595a0287 /keyboards/kbdfans/kbdpad/mk2/keymaps/default | |
parent | 3307a8e057bcd2590f6943d954647c520a823458 (diff) |
Move kbdpad_mk2 to kbdpad/mk2, add numpad layout to mk2.h (#15892)
Diffstat (limited to 'keyboards/kbdfans/kbdpad/mk2/keymaps/default')
-rw-r--r-- | keyboards/kbdfans/kbdpad/mk2/keymaps/default/keymap.c | 28 | ||||
-rw-r--r-- | keyboards/kbdfans/kbdpad/mk2/keymaps/default/readme.md | 3 |
2 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/kbdfans/kbdpad/mk2/keymaps/default/keymap.c b/keyboards/kbdfans/kbdpad/mk2/keymaps/default/keymap.c new file mode 100644 index 0000000000..3213eca482 --- /dev/null +++ b/keyboards/kbdfans/kbdpad/mk2/keymaps/default/keymap.c @@ -0,0 +1,28 @@ +/* Copyright 2019 Ryota Goto + * + * 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] = { + [0] = LAYOUT_ortho_6x4( /* Base */ + KC_ESC, KC_LCTL, KC_LALT, KC_BSPC, + KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, KC_PPLS, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, KC_PENT, + KC_P0, KC_P0, KC_PDOT, KC_PENT + ), +}; diff --git a/keyboards/kbdfans/kbdpad/mk2/keymaps/default/readme.md b/keyboards/kbdfans/kbdpad/mk2/keymaps/default/readme.md new file mode 100644 index 0000000000..71ff8e0025 --- /dev/null +++ b/keyboards/kbdfans/kbdpad/mk2/keymaps/default/readme.md @@ -0,0 +1,3 @@ +# The default keymap for KBDPAD MKII + +Just a numpad. Top row from Cherry G80-3700
\ No newline at end of file |