summaryrefslogtreecommitdiffstats
path: root/keyboards/nano/keymaps
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-07-01 20:05:10 +0200
committerDrashna Jaelre <drashna@live.com>2018-07-01 20:05:10 +0200
commit29954efd064fdf635af0895fc53bbaee58a1efda (patch)
tree1f8ff6a560e1fe3e90fa78f53895d7c146b59e3a /keyboards/nano/keymaps
parent738eab0bb13119747260f220f855c1ef7c40fdd9 (diff)
downloadqmk_firmware-29954efd064fdf635af0895fc53bbaee58a1efda.tar.gz
qmk_firmware-29954efd064fdf635af0895fc53bbaee58a1efda.tar.xz
Nano refactor and Configurator update (#3275)
* Matrix refactor * Keymap refactor * Configurator support
Diffstat (limited to 'keyboards/nano/keymaps')
-rw-r--r--keyboards/nano/keymaps/default/keymap.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/keyboards/nano/keymaps/default/keymap.c b/keyboards/nano/keymaps/default/keymap.c
index 5fe92aab2..cd9d4549d 100644
--- a/keyboards/nano/keymaps/default/keymap.c
+++ b/keyboards/nano/keymaps/default/keymap.c
@@ -1,23 +1,19 @@
-#include "nano.h"
+#include QMK_KEYBOARD_H
#define _MAIN 0
#define _FN 1
-#define KC_ KC_TRNS
+#define _______ 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
+ KC_VOLU, KC_MPLY, KC_MPRV, KC_PGUP,
+ KC_VOLD, KC_MUTE, KC_MNXT, KC_PGDN
),
[_FN] = LAYOUT(
- F , ,RHUI, ,
- RTOG,RMOD,RHUD,
+ KC_F, _______, RGB_HUI, _______,
+ RGB_TOG, RGB_MOD, RGB_HUD, _______
)
};