diff options
Diffstat (limited to 'keyboards/roadkit/keymaps/default')
-rw-r--r-- | keyboards/roadkit/keymaps/default/keymap.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/roadkit/keymaps/default/keymap.c b/keyboards/roadkit/keymaps/default/keymap.c index 048e807481..4ec0f6cfdc 100644 --- a/keyboards/roadkit/keymaps/default/keymap.c +++ b/keyboards/roadkit/keymaps/default/keymap.c @@ -1,6 +1,4 @@ -#include "roadkit.h" -#include "action_layer.h" -#include "eeconfig.h" +#include QMK_KEYBOARD_H extern keymap_config_t keymap_config; @@ -20,11 +18,12 @@ extern keymap_config_t keymap_config; const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_NP] = /* Numpad */ - KEYMAP(KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_PLUS, \ - KC_KP_4, KC_KP_5, KC_KP_6, \ - KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_ENTER, \ - KC_KP_0, KC_KP_DOT), + [_NP] = LAYOUT_numpad_4x4( /* Numpad */ + KC_P7, KC_P8, KC_P9, KC_PPLS, \ + KC_P4, KC_P5, KC_P6, \ + KC_P1, KC_P2, KC_P3, KC_PENT, \ + KC_P0, KC_PDOT \ + ), }; const uint16_t PROGMEM fn_actions[] = { |