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