summaryrefslogtreecommitdiff
path: root/keyboards/40percentclub/nano/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorAlex Ong <the.onga@gmail.com>2019-01-04 19:43:45 +1100
committerAlex Ong <the.onga@gmail.com>2019-01-04 19:43:45 +1100
commit2bb2977c133646c4e056960e72029270d77cc1eb (patch)
tree235d491f992121ac1716c5bf2fafb80983748576 /keyboards/40percentclub/nano/keymaps/default/keymap.c
parenta55c838961c89097ab849ed6cb1f261791e6b9b4 (diff)
parent47c91fc7f75ae0a477e55b687aa0fc30da0a283c (diff)
Merge branch 'master' into debounce_refactor
# Conflicts: # tmk_core/common/keyboard.c
Diffstat (limited to 'keyboards/40percentclub/nano/keymaps/default/keymap.c')
-rw-r--r--keyboards/40percentclub/nano/keymaps/default/keymap.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/40percentclub/nano/keymaps/default/keymap.c b/keyboards/40percentclub/nano/keymaps/default/keymap.c
new file mode 100644
index 0000000000..9ce282a28a
--- /dev/null
+++ b/keyboards/40percentclub/nano/keymaps/default/keymap.c
@@ -0,0 +1,18 @@
+#include QMK_KEYBOARD_H
+
+#define _MAIN 0
+#define _FN 1
+
+#define KC_X0 LT(_FN, KC_ESC)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_MAIN] = LAYOUT(
+ KC_VOLU, KC_MPLY, KC_MPRV, KC_PGUP,
+ KC_VOLD, KC_MUTE, KC_MNXT, KC_PGDN
+ ),
+
+ [_FN] = LAYOUT(
+ KC_F, _______, RGB_HUI, _______,
+ RGB_TOG, RGB_MOD, RGB_HUD, _______
+ )
+};