summaryrefslogtreecommitdiff
path: root/keyboards/angel17/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorkakunpc <15257475+kakunpc@users.noreply.github.com>2019-09-29 03:59:33 +0900
committerDrashna Jaelre <drashna@live.com>2019-09-28 11:59:33 -0700
commit20a16d29fe50f30b8309e68790c628832dc4906c (patch)
tree050392591fea585703ddd1788b52004d9fdc8d8a /keyboards/angel17/keymaps/default/keymap.c
parent17794e0b2502371eaf155328d4e4195aef703163 (diff)
[Keyboard] update angel17 (#6831)
Diffstat (limited to 'keyboards/angel17/keymaps/default/keymap.c')
-rw-r--r--keyboards/angel17/keymaps/default/keymap.c24
1 files changed, 18 insertions, 6 deletions
diff --git a/keyboards/angel17/keymaps/default/keymap.c b/keyboards/angel17/keymaps/default/keymap.c
index 509bcf5e25..8f54b72b42 100644
--- a/keyboards/angel17/keymaps/default/keymap.c
+++ b/keyboards/angel17/keymaps/default/keymap.c
@@ -15,13 +15,25 @@
*/
#include QMK_KEYBOARD_H
+enum layers{
+ BASE,
+ COMMAND,
+};
+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_numpad_5x4( /* Base */
- KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
- 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
+ [BASE] = LAYOUT_numpad_5x4( /* Base */
+ LT(COMMAND,KC_NLCK), KC_PSLS, KC_PAST, KC_PMNS,
+ 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
+ ),
+ [COMMAND] = LAYOUT_numpad_5x4( /* Base */
+ _______, KC_NO, KC_NO, RGB_RMOD,
+ KC_NO, KC_NO, KC_NO,
+ RGB_HUI, RGB_SAI, RGB_VAI, RGB_MOD,
+ RGB_HUD, RGB_SAD, RGB_VAD,
+ RGB_TOG, KC_NO, KC_NO
),
};