summaryrefslogtreecommitdiff
path: root/keyboards/handwired/numpad20/keymaps
diff options
context:
space:
mode:
authorAlex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
committerAlex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
commit47c91fc7f75ae0a477e55b687aa0fc30da0a283c (patch)
tree65ad39452748ff2e6d4a83ce54ede6ca22c9ada9 /keyboards/handwired/numpad20/keymaps
parentac9b88e8ccbbf38762871504cd827ff0d941c426 (diff)
parent563ce3f225d981ce460c12ca5130dfe47af41df0 (diff)
Merge branch 'master' of https://github.com/qmk/qmk_firmware
Diffstat (limited to 'keyboards/handwired/numpad20/keymaps')
-rw-r--r--keyboards/handwired/numpad20/keymaps/default/keymap.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/keyboards/handwired/numpad20/keymaps/default/keymap.c b/keyboards/handwired/numpad20/keymaps/default/keymap.c
index 65799bfee4..414b104afd 100644
--- a/keyboards/handwired/numpad20/keymaps/default/keymap.c
+++ b/keyboards/handwired/numpad20/keymaps/default/keymap.c
@@ -1,16 +1,11 @@
-#include "numpad20.h"
-
-#define KC_ KC_TRNS
+#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
- LEFT,RGHT, UP ,DOWN, \
- P7 , P8 , P9 ,PLUS, \
- P4 , P5 , P6 ,MINS, \
- P1 , P2 , P3 , ENT, \
- P0 ,DOT ,RGHT, TAB \
- )
-};
-
-const uint16_t PROGMEM fn_actions[] = {
+ KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, \
+ KC_P7, KC_P8, KC_P9, KC_PLUS, \
+ KC_P4, KC_P5, KC_P6, KC_MINS, \
+ KC_P1, KC_P2, KC_P3, KC_ENT, \
+ KC_P0, KC_DOT, KC_RGHT, KC_TAB \
+ )
};