summaryrefslogtreecommitdiffstats
path: root/keyboards/novelpad/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/novelpad/keymaps')
-rwxr-xr-xkeyboards/novelpad/keymaps/default/keymap.c29
1 files changed, 16 insertions, 13 deletions
diff --git a/keyboards/novelpad/keymaps/default/keymap.c b/keyboards/novelpad/keymaps/default/keymap.c
index 59cc1adc8..78cdff512 100755
--- a/keyboards/novelpad/keymaps/default/keymap.c
+++ b/keyboards/novelpad/keymaps/default/keymap.c
@@ -16,6 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
+#define _______ KC_TRNS
+
enum custom_keycodes {
BL = SAFE_RANGE,
WK_RED,
@@ -25,20 +27,21 @@ enum custom_keycodes {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-KEYMAP(
+ [0] = LAYOUT(
KC_NLCK, KC_PSLS, KC_PAST, KC_ESC,
- KC_P7, KC_P8, KC_P9, KC_PMNS,
- KC_P4, KC_P5, KC_P6, KC_PPLS,
- KC_P1, KC_P2, KC_P3, KC_TAB,
- MO(1), KC_P0, KC_PDOT, KC_ENT),
-
-KEYMAP(
- KC_TRNS, BL, RGB_MODE_SWIRL, RESET, \
- RGB_TOG, RGB_MOD, RGB_MODE_PLAIN, RGB_MODE_SNAKE, \
- RGB_HUI, RGB_SAI, RGB_VAI, RGB_MODE_KNIGHT, \
- RGB_HUD , RGB_SAD, RGB_VAD, RGB_MODE_XMAS, \
- KC_TRNS, WK_RED, WK_GREEN, WK_BLUE \
- ),
+ KC_P7, KC_P8, KC_P9, KC_PMNS,
+ KC_P4, KC_P5, KC_P6, KC_PPLS,
+ KC_P1, KC_P2, KC_P3, KC_TAB,
+ MO(1), KC_P0, KC_PDOT, KC_ENT
+ ),
+
+ [1] = LAYOUT(
+ _______, BL, RGB_MODE_SWIRL, RESET,
+ RGB_TOG, RGB_MOD, RGB_MODE_PLAIN, RGB_MODE_SNAKE,
+ RGB_HUI, RGB_SAI, RGB_VAI, RGB_MODE_KNIGHT,
+ RGB_HUD, RGB_SAD, RGB_VAD, RGB_MODE_XMAS,
+ _______, WK_RED, WK_GREEN, WK_BLUE
+ ),
};