skylark-qmk/keyboards/nano/keymaps/default/keymap.c

24 lines
409 B
C
Raw Normal View History

2017-11-01 18:25:44 +00:00
#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(
2017-11-01 18:25:44 +00:00
VOLU,MPLY,MPRV,PGUP,
VOLD,MUTE,MNXT,PGDN
),
[_FN] = LAYOUT(
2017-11-01 18:25:44 +00:00
F , ,RHUI, ,
RTOG,RMOD,RHUD,
2017-11-01 18:25:44 +00:00
)
};