Merge pull request #1 from jdost/master
[tmk_keyboard.git] / keyboard / tv44 / keymap_hhkb.c
1 #include "keymap_common.h"
2
3 /*
4 * HHKB Layout
5 */
6 const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
7 /* 0: Default layer
8 * ,-----------------------------------------------------------.
9 * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \| `|
10 * |-----------------------------------------------------------|
11 * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]|Bspc |
12 * |-----------------------------------------------------------|
13 * |Ctrl | A| S| D| F| G| H| J| K| L|Fn3| '|Return |
14 * |-----------------------------------------------------------|
15 * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn |
16 * |-----------------------------------------------------------|
17 * | |Gui |Alt | Space | |Alt |Gui | |
18 * `-----------------------------------------------------------'
19 */
20 KEYMAP_HHKB(
21 ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSLS, GRV, \
22 TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSPC, \
23 LCTL,A, S, D, F, G, H, J, K, L, SCLN,QUOT, ENT, \
24 LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RSFT,FN0, \
25 NO, LGUI,LALT, SPC, NO, RALT,RGUI,NO),
26 /* 1: HHKB Fn layer
27 * ,-----------------------------------------------------------.
28 * |Pwr| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del|
29 * |-----------------------------------------------------------|
30 * |Caps | | | | | | | |Psc|Slk|Pus|Up | | |
31 * |-----------------------------------------------------------|
32 * | |VoD|VoU|Mut|Ejc| | *| /|Hom|PgU|Lef|Rig|Enter |
33 * |-----------------------------------------------------------|
34 * | | | | | | | +| -|End|PgD|Dow| | |
35 * |-----------------------------------------------------------|
36 * | | | | | | | | |
37 * `-----------------------------------------------------------'
38 */
39 KEYMAP_HHKB(
40 PWR, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \
41 CAPS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PSCR,SLCK,PAUS,UP, TRNS,TRNS, \
42 TRNS,VOLD,VOLU,MUTE,EJCT,TRNS,PAST,PSLS,HOME,PGUP,LEFT,RGHT, PENT, \
43 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PPLS,PMNS,END, PGDN,DOWN, TRNS,TRNS, \
44 TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS),
45 };
46
47 /*
48 * Fn action definition
49 */
50 const uint16_t PROGMEM fn_actions[] = {
51 [0] = ACTION_LAYER_MOMENTARY(1),
52 };
Imprint / Impressum