2 #include "action_code.h"
3 #include "actionmap_common.h"
9 #define AC_LM1 ACTION_LAYER_MOMENTARY(1) // HHKB layer
12 const action_t PROGMEM actionmaps[][MATRIX_ROWS][MATRIX_COLS] = {
14 * ,-----------------------------------------------------------.
15 * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|BSpc |
16 * |-----------------------------------------------------------|
17 * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |
18 * |-----------------------------------------------------------|
19 * |Ctrl | A| S| D| F| G| H| J| K| L|Fn3| '|FN1 |
20 * |-----------------------------------------------------------|
21 * |Shift | Z| X| C| V| B| N| M| ,| .|Fn2|Shift |
22 * |-----------------------------------------------------------|
23 * |Ctrl |Gui |Alt | Space |Alt |Fn5 |Ctrl |
24 * `-----------------------------------------------------------'
26 [0] = ACTIONMAP_AEK( \
27 ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC, \
28 TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, \
29 LCTL,A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
30 LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, \
31 LCTL,LGUI,LALT, SPC, RALT,RGUI,LM1),
33 * ,-----------------------------------------------------------.
34 * |Esc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| ` |
35 * |-----------------------------------------------------------|
36 * |Caps | | | | | | | |Psc|Slk|Pus|Up | |Del |
37 * |-----------------------------------------------------------|
38 * |Contro|VoD|VoU|Mut| | | *| /|Hom|PgU|Lef|Rig|Enter |
39 * |-----------------------------------------------------------|
40 * |Shift | | | | | | +| -|End|PgD|Dow|Shift |
41 * |-----------------------------------------------------------|
42 * |Ctrl |Gui |Alt | Space |Alt |Fn5 |Ctrl |
43 * `-----------------------------------------------------------'
45 [1] = ACTIONMAP_AEK( \
46 GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, GRV, \
47 CAPS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PSCR,SLCK,PAUS,UP, TRNS,DEL, \
48 TRNS,VOLD,VOLU,MUTE,TRNS,TRNS,PAST,PSLS,HOME,PGUP,LEFT,RGHT,TRNS, \
49 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PPLS,PMNS,END, PGDN,DOWN,TRNS, \
50 TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS),