summaryrefslogtreecommitdiffstats
path: root/keyboards/atreus62/keymaps/atreus52/keymap.c
diff options
context:
space:
mode:
authorjprmesh <mrachhh@gmail.com>2017-05-31 22:16:21 -0400
committerJonas Rogers <jprmesh@gmail.com>2017-06-17 21:20:16 -0400
commita8992a2cfe2e44bbd662591f95b3d7cbd531e658 (patch)
tree5ce05418f2efe5f5700af009bc6e783640acef50 /keyboards/atreus62/keymaps/atreus52/keymap.c
parent7837d96b6eb18131a78925e679402257f33aab95 (diff)
Atreus52- Added Nav layer keymap.
Diffstat (limited to 'keyboards/atreus62/keymaps/atreus52/keymap.c')
-rw-r--r--keyboards/atreus62/keymaps/atreus52/keymap.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/keyboards/atreus62/keymaps/atreus52/keymap.c b/keyboards/atreus62/keymaps/atreus52/keymap.c
index aef87d6d5d..4a57da6b5e 100644
--- a/keyboards/atreus62/keymaps/atreus52/keymap.c
+++ b/keyboards/atreus62/keymaps/atreus52/keymap.c
@@ -5,6 +5,7 @@
#define DVORAK 1
#define RAISE 2
#define LOWER 3
+#define NAV 4
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[QWERTY] = KC_KEYMAP(
@@ -24,7 +25,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[RAISE] = KC_KEYMAP(
NO, MRWD, MPRV, MPLY, MNXT, MFFD, TRNS, MUTE, VOLD, VOLU, DEL, NO, \
NO, TILD, GRV, DQUO, QUOT, LCBR, RCBR, EQL, PLUS, MINS, QUES, NO, \
- NO, ESC, TAB, BSLS, SLS, LPRN, RPRN, LEFT, DOWN, UP, RGHT, NO, \
+ NO, ESC, TAB, BSLS, SLSH, LPRN, RPRN, LEFT, DOWN, UP, RGHT, NO, \
NO, TRNS, TRNS, TRNS, TRNS, LBRC, RBRC, PIPE, UNDS, TRNS, TRNS, NO, \
NO, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, NO ),
@@ -33,6 +34,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
NO, EXLM, AT, HASH, DLR, PERC, CIRC, AMPR, ASTR, LPRN, RPRN, NO, \
NO, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, NO, \
NO, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, DOT, TRNS, TRNS, TRNS, NO, \
+ NO, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, NO ),
+
+[NAV] = KC_KEYMAP(
+ NO, GRV, 1, 2, 3, 4, TRNS, TRNS, TRNS, TRNS, TRNS, NO, \
+ NO, 5, Q, W, E, R, TRNS, TRNS, TRNS, TRNS, TRNS, NO, \
+ NO, 6, A, S, D, F, TRNS, LEFT, UP, RGHT, TRNS, NO, \
+ NO, 7, Z, X, C, V, TRNS, TRNS, DOWN, TRNS, TRNS, NO, \
NO, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, NO )
};
@@ -40,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
const uint16_t PROGMEM fn_actions[] = {
[0] = ACTION_LAYER_MOMENTARY(RAISE), // Raise layer
[1] = ACTION_LAYER_MOMENTARY(LOWER), // Lower layer
- [2] = ACTION_LAYER_TOGGLE(NAV),
+ [2] = ACTION_LAYER_TOGGLE(NAV), // Nav layer
[3] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_SPC)
};