From 2100a7ca7b67eabba43ead29a49e630de24c835e Mon Sep 17 00:00:00 2001 From: Felipe Bastos Date: Sat, 29 Jan 2022 13:28:00 -0500 Subject: Move kbdpad_mk2 to kbdpad/mk2, add numpad layout to mk2.h (#15892) --- .../kbdfans/kbdpad/mk2/keymaps/tester/keymap.c | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 keyboards/kbdfans/kbdpad/mk2/keymaps/tester/keymap.c (limited to 'keyboards/kbdfans/kbdpad/mk2/keymaps/tester/keymap.c') diff --git a/keyboards/kbdfans/kbdpad/mk2/keymaps/tester/keymap.c b/keyboards/kbdfans/kbdpad/mk2/keymaps/tester/keymap.c new file mode 100644 index 0000000000..e0c56c167d --- /dev/null +++ b/keyboards/kbdfans/kbdpad/mk2/keymaps/tester/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 . + */ +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_ortho_6x4( /* Base */ + BL_TOGG, BL_STEP, RGB_TOG, RGB_MOD, + 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 + ), +}; -- cgit v1.2.3