1
0
Fork 0

Keeb.werk nano.slider Improved Default Layout (#8785)

* Improved default layout to match improved layout from configurator PR

* fixed keycode spacing

* Update keyboards/keebwerk/nano_slider/keymaps/default/keymap.c
This commit is contained in:
Mikkel Jeppesen 2020-04-16 21:04:27 +02:00 committed by GitHub
parent fcf2b45263
commit 7873b49d40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@
enum layer_names { enum layer_names {
_BASE, _BASE,
_FN, _FN,
_DEMO _MEDIA
}; };
// Defines the keycodes used by our macros in process_record_user // Defines the keycodes used by our macros in process_record_user
@ -30,6 +30,7 @@ enum custom_keycodes {
QMKURL QMKURL
}; };
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base */ /* Base */
[_BASE] = LAYOUT( [_BASE] = LAYOUT(
@ -38,14 +39,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_4, KC_5, KC_6, KC_0 KC_4, KC_5, KC_6, KC_0
), ),
[_FN] = LAYOUT( [_FN] = LAYOUT(
TO(_DEMO), TO(_MEDIA),
RGB_TOG, RGB_MOD, RGB_VAI, RGB_TOG, RGB_MOD, RGB_VAI,
_______, _______, _______, _______ QMKURL, RGB_RMOD, RGB_VAD, QMKBEST
), ),
[_DEMO] = LAYOUT( [_MEDIA] = LAYOUT(
TO(_BASE), TO(_BASE),
QMKBEST, _______, _______, KC_VOLD, KC_VOLU, KC_F24,
_______, _______, _______, QMKURL KC_MRWD, KC_MFFD, KC_F23, KC_MPLY
) )
}; };