aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/cospad/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/cospad/keymaps')
-rw-r--r--keyboards/cospad/keymaps/default/keymap.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/keyboards/cospad/keymaps/default/keymap.c b/keyboards/cospad/keymaps/default/keymap.c
index 0e762c2e4..3cea2f8e6 100644
--- a/keyboards/cospad/keymaps/default/keymap.c
+++ b/keyboards/cospad/keymaps/default/keymap.c
@@ -1,4 +1,4 @@
-#include "cospad.h"
+#include QMK_KEYBOARD_H
#include "led.h"
#ifdef RGBLIGHT_ENABLE
@@ -31,13 +31,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `-------------------'
*/
-[_BL] = KEYMAP(
+[_BL] = LAYOUT_numpad_6x4(
KC_ESC, KC_TAB, MO(_FL), 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_NO, \
- KC_P1, KC_P2, KC_P3, KC_PENT, \
- KC_P0, KC_NO, KC_PDOT, KC_NO),
+ 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),
/* Keymap _FL: Function Layer
* ,-------------------.
@@ -54,13 +54,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | 0 |RST | |
* `-------------------'
*/
-[_FL] = KEYMAP(
+[_FL] = LAYOUT_numpad_6x4(
RGB_TOG, KC_TAB, KC_TRNS, KC_BSPC, \
RGB_MOD, RGB_M_P, BL_TOGG, KC_PMNS, \
- RGB_HUD, RGB_HUI, BL_ON, KC_PPLS, \
- RGB_SAD, RGB_SAI, BL_OFF, KC_NO, \
- RGB_VAD, RGB_VAI, KC_P3, KC_PENT, \
- KC_P0, KC_NO, RESET, KC_NO),
+ RGB_HUD, RGB_HUI, BL_ON, \
+ RGB_SAD, RGB_SAI, BL_OFF, KC_PPLS, \
+ RGB_VAD, RGB_VAI, KC_P3, \
+ KC_P0, RESET, KC_PENT),
};