diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-04-07 12:14:53 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-04-07 15:14:53 -0400 |
commit | 5f4c2dfd84467dc7f04e8e07c294ebfa5b4ca459 (patch) | |
tree | 97cc0be236858347503cc3c5cb4ae348daa61974 /keyboards/nano | |
parent | b7dc17ef33fe85d0ab5a837da7bed0ad194e455b (diff) | |
download | qmk_firmware-5f4c2dfd84467dc7f04e8e07c294ebfa5b4ca459.tar.gz qmk_firmware-5f4c2dfd84467dc7f04e8e07c294ebfa5b4ca459.zip |
Fix some Configurator Warnings regarding LAYOUT vs KEYMAP (#2708)
* change diverge 3 KC_KEYMAP to LAYOUT
* Change KEYMAP to LAYOUT for handwired arrow pad
* change M10A to LAYOUT for m10-a
* Change KC_KEYMAP to LAYOUT_kc and KEYMAP to LAYOUT for mf68
* change KC_KEYMAP to LAYOUT for nano
* Refactor to LAYOUT
* refactor to LAYOUT-ansi and LAYOUT_iso for s65
* LAYOUT conversions for lfkkeyboards
* missed a few renames
* mini1800 for lfkeyobards support of LAYOUT
Diffstat (limited to 'keyboards/nano')
-rw-r--r-- | keyboards/nano/keymaps/default/keymap.c | 6 | ||||
-rw-r--r-- | keyboards/nano/nano.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/nano/keymaps/default/keymap.c b/keyboards/nano/keymaps/default/keymap.c index 26e00bf52f..5fe92aab24 100644 --- a/keyboards/nano/keymaps/default/keymap.c +++ b/keyboards/nano/keymaps/default/keymap.c @@ -11,13 +11,13 @@ #define KC_RHUD RGB_HUD const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_MAIN] = KC_KEYMAP( + [_MAIN] = LAYOUT( VOLU,MPLY,MPRV,PGUP, VOLD,MUTE,MNXT,PGDN ), - [_FN] = KC_KEYMAP( + [_FN] = LAYOUT( F , ,RHUI, , - RTOG,RMOD,RHUD, + RTOG,RMOD,RHUD, ) }; diff --git a/keyboards/nano/nano.h b/keyboards/nano/nano.h index 2d48962bf8..4d69dc6f8b 100644 --- a/keyboards/nano/nano.h +++ b/keyboards/nano/nano.h @@ -3,7 +3,7 @@ #include "quantum.h" -#define KC_KEYMAP(k01, k02, k03, k04, k05, k06, k07, k08) \ +#define LAYOUT(k01, k02, k03, k04, k05, k06, k07, k08) \ { \ {KC_##k01, KC_##k02, KC_##k03, KC_##k04}, \ {KC_##k05, KC_##k06, KC_##k07, KC_##k08} \ |