mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-18 07:33:26 +00:00
5f4c2dfd84
* 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
24 lines
409 B
C
24 lines
409 B
C
#include "nano.h"
|
|
|
|
#define _MAIN 0
|
|
#define _FN 1
|
|
|
|
#define KC_ KC_TRNS
|
|
#define KC_X0 LT(_FN, KC_ESC)
|
|
#define KC_RTOG RGB_TOG
|
|
#define KC_RMOD RGB_MOD
|
|
#define KC_RHUI RGB_HUI
|
|
#define KC_RHUD RGB_HUD
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
[_MAIN] = LAYOUT(
|
|
VOLU,MPLY,MPRV,PGUP,
|
|
VOLD,MUTE,MNXT,PGDN
|
|
),
|
|
|
|
[_FN] = LAYOUT(
|
|
F , ,RHUI, ,
|
|
RTOG,RMOD,RHUD,
|
|
)
|
|
};
|