You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
419 B
C
24 lines
419 B
C
7 years ago
|
#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] = KC_KEYMAP(
|
||
|
VOLU,MPLY,MPRV,PGUP,
|
||
|
VOLD,MUTE,MNXT,PGDN
|
||
|
),
|
||
|
|
||
|
[_FN] = KC_KEYMAP(
|
||
|
F , ,RHUI, ,
|
||
|
RTOG,RMOD,RHUD,
|
||
|
)
|
||
|
};
|