summaryrefslogtreecommitdiff
path: root/keyboards/nano/keymaps/default/keymap.c
blob: 5fe92aab2413784573e23b87550f361364e323ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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,
  )
};