1
0

redscarfII: Renew preset default keymap

This commit is contained in:
Kai Ryu 2015-12-17 18:31:12 +09:00
parent cdc5da9da9
commit 44788f3f9a

View File

@ -21,126 +21,12 @@ const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = {
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
F1, F2, ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC,NLCK,PSLS,PAST,PMNS, \
F1, F2, FN30,1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC,NLCK,PSLS,PAST,PMNS, \
F3, F4, TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS,P7, P8, P9, PPLS, \
F5, F6, CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,GRV, ENT, P4, P5, P6, PPLS, \
F7, F8, LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,FN0, P1, P2, P3, PENT, \
F9, F10, LCTL,LGUI,LALT, SPC, RALT,FN0, RGUI,RGUI,RCTL,P0, P0, PDOT,PENT ),
/* Keymap 1: ModelF/77 - Winkeyless 1.5-1-1.5-7-1.5-1-1.5
* ,-----------------------------------------------------------------------------------.
* | F1| F6|Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Num| /| *| -|
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | F2| F7|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \| 7| 8| 9| |
* |---+---+-----------------------------------------------------------+---+---+---| +|
* | F3| F8|Caps | A| S| D| F| G| H| J| K| L| ;| '|Return | 4| 5| 6| |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | F4| F9|Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn0| 1| 2| 3| |
* |---+---+-----------------------------------------------------------+---+---+---|Ent|
* | F5|F10|Ctrl |Gui|Alt | Space |Alt |Fn0|Ctrl | 0| 0| .| |
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
F1, F2, ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC,NLCK,PSLS,PAST,PMNS, \
F3, F4, TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS,P7, P8, P9, PPLS, \
F5, F6, CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,GRV, ENT, P4, P5, P6, PPLS, \
F7, F8, LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,FN0, P1, P2, P3, PENT, \
F9, F10, LCTL,LGUI,LALT, SPC, RALT,RALT,RGUI,FN0, RCTL,P0, P0, PDOT,PENT ),
/* Keymap 2: ModelF/77 - OEM + Arrow Keys 1.25-1.25-1.25-6.25-1-1-1-1-1
* ,-----------------------------------------------------------------------------------.
* | F1| F6|Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Num| /| *| -|
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | F2| F7|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \| 7| 8| 9| |
* |---+---+-----------------------------------------------------------+---+---+---| +|
* | F3| F8|Caps | A| S| D| F| G| H| J| K| L| ;| '|Return | 4| 5| 6| |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | F4| F9|Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up| 1| 2| 3| |
* |---+---+-----------------------------------------------------------+---+---+---|Ent|
* | F5|F10|Ctrl|Gui |Alt | Space |Alt|Fn0|Ctr|Lef|Dow|Rig| 0| .| |
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
F1, F2, ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC,NLCK,PSLS,PAST,PMNS, \
F3, F4, TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS,P7, P8, P9, PPLS, \
F5, F6, CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,GRV, ENT, P4, P5, P6, PPLS, \
F7, F8, LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,UP, P1, P2, P3, PENT, \
F9, F10, LCTL,LGUI,LALT, SPC, RALT,FN0, RCTL,LEFT,DOWN,RGHT,P0, PDOT,PENT ),
/* Keymap 3: ModelF/77 - 18xx 1.5-1.5-7-1.5-1.5-1-1
* ,-----------------------------------------------------------------------------------.
* | F1| F6|Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Num| /| *| -|
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | F2| F7|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \| 7| 8| 9| |
* |---+---+-----------------------------------------------------------+---+---+---| +|
* | F3| F8|Caps | A| S| D| F| G| H| J| K| L| ;| '|Return | 4| 5| 6| |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | F4| F9|Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up| 1| 2| 3| |
* |---+---+-----------------------------------------------------------+---+---+---|Ent|
* | F5|F10|Ctrl |Alt | Space |Alt |Ctrl |Lef|Dow|Rig| 0| .| |
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
F1, F2, ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC,NLCK,PSLS,PAST,FN0, \
F3, F4, TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS,P7, P8, P9, PMNS, \
F5, F6, CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,GRV, ENT, P4, P5, P6, PPLS, \
F7, F8, LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,UP, P1, P2, P3, PENT, \
F9, F10, LCTL,LGUI,LALT, SPC, RALT,FN0, RCTL,LEFT,DOWN,RGHT,P0, PDOT,PENT ),
/* Keymap 4: Mini/68 - OEM 1.25-1.25-1.25-6.25-1-1-1
* ,-----------------------------------------------------------------------.
* | F1| F6|Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |Hom|
* |---+---+-----------------------------------------------------------+---|
* | F2| F7|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \|PgU|
* |---+---+-----------------------------------------------------------+---|
* | F3| F8|Caps | A| S| D| F| G| H| J| K| L| ;| '|Return |PgD|
* |---+---+-----------------------------------------------------------+---|
* | F4| F9|Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|End|
* |---+---+-----------------------------------------------------------+---|
* | F5|F10|Ctrl|Gui |Alt | Space |Alt|Fn0|Ctr|Lef|Dow|Rig|
* `-----------------------------------------------------------------------'
*/
KEYMAP(
F1, F2, ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC,HOME,PSLS,PAST,FN0, \
F3, F4, TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS,PGUP,P8, P9, PMNS, \
F5, F6, CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,GRV, ENT, PGDN,P5, P6, PPLS, \
F7, F8, LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,UP, END, P2, P3, PENT, \
F9, F10, LCTL,LGUI,LALT, SPC, RALT,FN0, RCTL,LEFT,DOWN,RGHT,P0, PDOT,PENT ),
/* Keymap 5: Mini/68 - 18xx 1.5-1.5-7-1.5-1.5
* ,-----------------------------------------------------------------------.
* | F1| F6|Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | `|
* |---+---+-----------------------------------------------------------+---|
* | F2| F7|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \|PgU|
* |---+---+-----------------------------------------------------------+---|
* | F3| F8|Caps | A| S| D| F| G| H| J| K| L| ;| '|Return |PgD|
* |---+---+-----------------------------------------------------------+---|
* | F4| F9|Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|Fn0|
* |---+---+-----------------------------------------------------------+---|
* | F5|F10|Ctrl |Alt | Space |Alt |Ctrl |Lef|Dow|Rig|
* `-----------------------------------------------------------------------'
*/
KEYMAP(
F1, F2, ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC,GRV, PSLS,PAST,FN0, \
F3, F4, TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS,PGUP,P8, P9, PMNS, \
F5, F6, CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,GRV, ENT, PGDN,P5, P6, PPLS, \
F7, F8, LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,UP, FN0, P2, P3, PENT, \
F9, F10, LCTL,LGUI,LALT, SPC, RALT,FN0, RCTL,LEFT,DOWN,RGHT,P0, PDOT,PENT ),
/* Keymap 6: Fn Layer
* ,-----------------------------------------------------------------------------------.
* |n17|n24| `| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete |n10|n11|n12|n13|
* |---+---+-----------------------------------------------------------+---+---+---+---|
* |n10|n22| | |Up |Fn5|Fn6|Fn7|Cal| |Ins| |Psc|Slk|Pau| |n14|n15|n16| |
* |---+---+-----------------------------------------------------------|---+---+---|n17|
* |n14|n16| |Lef|Dow|Rig|Fn8|Fn9| | | | |Hom|PgU| |n18|n19|n20| |
* |---+---+-----------------------------------------------------------|---+---+---+---|
* |n25|n27| | |App|Fn1|Fn2|Fn3|VoD|VoU|Mut|End|PgD| | |n22|n23|n24| |
* |---+---+-----------------------------------------------------------+---+---+---|n25|
* |n15|n13| | | | | | | | |n26|n27|n28| |
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
FN10,FN14,GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL, FN10,FN11,FN12,FN13, \
FN26,FN15,TRNS,TRNS,UP, FN5, FN6, FN7, CALC,TRNS,INS, TRNS,PSCR,SLCK,PAUS,TRNS,FN14,FN15,FN16,FN17, \
FN23,FN16,TRNS,LEFT,DOWN,RGHT,FN8, FN9, TRNS,TRNS,TRNS,TRNS,HOME,PGUP,TRNS,TRNS,FN18,FN19,FN20,FN21, \
FN28,FN13,TRNS,TRNS,TRNS,APP, FN1, FN2, FN3, VOLD,VOLU,MUTE,END, PGDN,TRNS,TRNS,FN22,FN23,FN24,FN25, \
FN17,FN25,TRNS,TRNS,TRNS, FN4, TRNS,TRNS,TRNS,TRNS,TRNS,FN26,FN27,FN28,FN29 ),
/* Keymap 2: Arrow key Overlayer
F9, F10, LCTL,LGUI,LALT, SPC, RALT,FN0, RCTL,RGUI,RCTL,P0, P0, PDOT,PENT ),
/* Keymap 1: Arrow Key
* ,-----------------------------------------------------------------------------------.
* | | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
@ -148,19 +34,131 @@ const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = {
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | | |Up | | |
* | | | | | | | | | | | | | | | Up| | | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | | | | | |Lef|Dow|Rig| |
* | | | | | | | | | |Lef|Dow|Rig| | | |
* `-----------------------------------------------------------------------------------'
*/
/*
KEYMAP(
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,UP, TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS,TRNS,LEFT,DOWN,RGHT,TRNS ),
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,UP, TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,LEFT,DOWN,RGHT,TRNS,TRNS,TRNS ),
/* Keymap 2: Mini/68 Type-A
* ,-----------------------------------------------------------------------------------.
* | | | | | | | | | | | | | | | | |Hom| | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | | | |PgU| | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | | | | | | | | | | |PgD| | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | |End| | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | | | | | | | | | |
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,HOME,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PGUP,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PGDN,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,END, TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS ),
/* Keymap 3: Mini/68 Type-B
* ,-----------------------------------------------------------------------------------.
* | | |Esc| | | | | | | | | | | | | | `| | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | | | |PgU| | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | | | | | | | | | | |PgD| | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | |Fn0| | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | | | | | | | | | |
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
TRNS,TRNS,ESC, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,GRV, TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PGUP,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PGDN,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,FN0, TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS ),
/* Keymap 4: R1 Left 1.5-1.5-...
* ,-----------------------------------------------------------------------------------.
* | | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | |Ctrl |Alt | | | | | | | | | |
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,LCTL,LALT,LGUI, TRNS, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS ),
/* Keymap 5: R1 Right ...-1-1-1-1-1
* ,-----------------------------------------------------------------------------------.
* | | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | |Alt|Gui|Ctr| | | | | | |
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, RALT,RGUI,RCTL,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS ),
/* Keymap 6: R1 Right ...-1.5-1-1.5
* ,-----------------------------------------------------------------------------------.
* | | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---+---|
* | | | | | | | | | | | | | | | | | | |
* |---+---+-----------------------------------------------------------+---+---+---| |
* | | | | | | |Alt |Fn0|Ctrl | | | | |
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, RALT,RALT,RGUI,FN0, RCTL,TRNS,TRNS,TRNS,TRNS ),
/* Keymap 7: Fn Layer
* ,-----------------------------------------------------------------------------------.
* |n10|n14| `| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete |Num|n11|n12|n13|
* |---+---+-----------------------------------------------------------+---+---+---+---|
* |n26|n15| | |Up |Fn5|Fn6|Fn7|Cal| |Ins| |Psc|Slk|Pau| |n14|n15|n16|n17|
* |---+---+-----------------------------------------------------------|---+---+---+---|
* |n23|n16| |Lef|Dow|Rig|Fn8|Fn9| | | | |Hom|PgU| |n18|n19|n20|n21|
* |---+---+-----------------------------------------------------------|---+---+---+---|
* |n28|n13| | |App|Fn1|Fn2|Fn3|VoD|VoU|Mut|End|PgD| | | |n23|n24|n25|
* |---+---+-----------------------------------------------------------+---+---+---+---|
* |n17|n25| | | | | | | | |n26|n27|n28|n29|
* `-----------------------------------------------------------------------------------'
*/
KEYMAP(
FN10,FN14,GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL, NLCK,FN11,FN12,FN13, \
FN26,FN15,TRNS,TRNS,UP, FN5, FN6, FN7, CALC,TRNS,INS, TRNS,PSCR,SLCK,PAUS,TRNS,FN14,FN15,FN16,FN17, \
FN23,FN16,TRNS,LEFT,DOWN,RGHT,FN8, FN9, TRNS,TRNS,TRNS,TRNS,HOME,PGUP,TRNS,TRNS,FN18,FN19,FN20,FN21, \
FN28,FN13,TRNS,TRNS,TRNS,APP, FN1, FN2, FN3, VOLD,VOLU,MUTE,END, PGDN,TRNS,TRNS,TRNS,FN23,FN24,FN25, \
FN17,FN25,TRNS,TRNS,TRNS, FN4, TRNS,TRNS,TRNS,TRNS,TRNS,FN26,FN27,FN28,FN29 ),
};
/*
@ -175,7 +173,7 @@ enum function_id {
AF_RGB_FIXED,
AF_RGB_VARIABLE,
AF_RGB_STEP,
TRICKY_ESC
AF_TRICKY_ESC
};
/*
@ -186,12 +184,12 @@ const uint16_t fn_actions[FN_ACTIONS_COUNT] __attribute__ ((section (".keymap.fn
#else
const uint16_t fn_actions[] PROGMEM = {
#endif
[0] = ACTION_LAYER_MOMENTARY(6),
[0] = ACTION_LAYER_MOMENTARY(7),
[1] = ACTION_BACKLIGHT_DECREASE(),
[2] = ACTION_BACKLIGHT_TOGGLE(),
[3] = ACTION_BACKLIGHT_INCREASE(),
[5] = ACTION_FUNCTION(AF_RGB_TOGGLE),
/*[4] = ACTION_LAYER_TOGGLE(2),*/
[5] = ACTION_FUNCTION(AF_RGB_TOGGLE),
[6] = ACTION_FUNCTION_OPT(AF_RGB_STEP, RGB_FIXED),
[7] = ACTION_FUNCTION_OPT(AF_RGB_STEP, RGB_VARIABLE),
[8] = ACTION_FUNCTION(AF_RGB_DECREASE),
@ -216,6 +214,7 @@ const uint16_t fn_actions[] PROGMEM = {
[27] = ACTION_FUNCTION_OPT(AF_RGB_FIXED, RGB_FIXED_GREEN_4),
[28] = ACTION_FUNCTION_OPT(AF_RGB_FIXED, RGB_FIXED_BLUE_4),
[29] = ACTION_FUNCTION_OPT(AF_RGB_VARIABLE, RGB_VARIABLE_SMOOTH),
[30] = ACTION_FUNCTION(AF_TRICKY_ESC)
};
#ifdef KEYMAP_IN_EEPROM_ENABLE
@ -261,7 +260,7 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt)
}
static uint8_t tricky_esc_registered;
switch (id) {
case TRICKY_ESC:
case AF_TRICKY_ESC:
if (record->event.pressed) {
if (get_mods() & MODS_SHIFT_MASK) {
tricky_esc_registered = KC_GRV;