nearly finished layout comments, implemented layer0
[tmk_keyboard.git] / keyboard / tv44 / keymap_tv44.c
CommitLineData
5dd11e82
J
1#include "keymap_common.h"
2
3const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4 /* Layer: Base Layer
5 * ,-------------------------------------------------.
885c13e4 6 * |Esc| Q| W| E| R| T| Z| U| I| O| P| BSp |
5dd11e82 7 * |-------------------------------------------------|
885c13e4 8 * |Ctrl| A| S| D| F| G| H| J| K| L| /|Fn2 |
5dd11e82 9 * |-------------------------------------------------|
885c13e4 10 * |Shift| Y| X| C| V| B| N| M| ,| .| -|Sft|
5dd11e82 11 * |-------------------------------------------------|
885c13e4 12 * |Alt | XXX |XXX |Enter| Space |XXX |XXX | Fn3 |
5dd11e82
J
13 * `-------------------------------------------------'
14 */
15 KEYMAP(
885c13e4 16 ESC , Q, W, E, R, T, Y, U, I, O, P, BSPC, \
17 LCTRL, A, S, D, F, G, H, J, K, L,FN10, FN1, \
18 LSHIFT, Z, X, C, V, B, N, M,COMM, DOT,SLSH, RSHIFT, \
19 LALT, FN1, LGUI, ENT, SPC, RALT, RSFT, FN2 ),
5dd11e82 20
885c13e4 21 /* Layer: Movement Layer (wrd=ctrl-right, bck=crtl-left) TOGGLE
5dd11e82 22 * ,-------------------------------------------------.
885c13e4 23 * | | |wrd| |END| | |PUp| | |Hom| Del |
5dd11e82 24 * |-------------------------------------------------|
885c13e4 25 * | | | |PDn| | |Lft| Up| Dn| Rt| | |
5dd11e82 26 * |-------------------------------------------------|
885c13e4 27 * | |Psc| | | |bck| | | | | | |
5dd11e82
J
28 * |-------------------------------------------------|
29 * | | Gui | | | | | | |
30 * `-------------------------------------------------'
31 */
32 KEYMAP(
33 GRV , FN4, FN5, FN6, FN7, FN8, FN9,FN10,FN11,FN12,FN13, DEL, \
34 TRNS ,BSLS,QUOT,MINS, EQL,LBRC,RBRC,DOWN, UP,LEFT,RGHT, TRNS, \
35 TRNS , ESC,FN20,PSCR,TRNS,TRNS,TRNS,MSTP,MPLY,MPRV,MNXT,RSFT, \
36 TRNS, LGUI, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS ),
37
885c13e4 38 /* Layer: Numbers and ASCII-Symbols Layer MOMENTARY+TOGGLE
5dd11e82 39 * ,-------------------------------------------------.
885c13e4 40 * | ^| !| "| §| $| %| &| /| (| )| =| ? |
5dd11e82 41 * |-------------------------------------------------|
885c13e4 42 * | `| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| ' |
5dd11e82 43 * |-------------------------------------------------|
885c13e4 44 * | #| <| || >| +| *| {| [| ]| }| \| ~|
5dd11e82
J
45 * |-------------------------------------------------|
46 * | | | | | | | | |
47 * `-------------------------------------------------'
48 */
49 KEYMAP(
50 FN3 , 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, TRNS, \
51 ESC ,FN14,FN15,FN16,FN17,FN18,FN19, 4, 5, 6,VOLU, ENT, \
52 TRNS ,TRNS,TRNS,TRNS,TRNS,TRNS, 0, 1, 2, 3,VOLD,TRNS, \
53 TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS ),
54
885c13e4 55 /* Layer: Layer for Function keys and Unicode Symbols MOMENTARY
5dd11e82 56 * ,-------------------------------------------------.
885c13e4 57 * | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11| F12|
5dd11e82 58 * |-------------------------------------------------|
885c13e4 59 * | | | | | | | | | Ä| Ö| Ü|Entr|
5dd11e82 60 * |-------------------------------------------------|
885c13e4 61 * | |LED|Fls| °| ²| ³| µ| ä| ö| ü| ß| |
5dd11e82 62 * |-------------------------------------------------|
885c13e4 63 * | | | |Space| Enter | | | |
5dd11e82
J
64 * `-------------------------------------------------'
65 */
66 KEYMAP(
67 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, F1, F2, F3, F4, TRNS, \
68 ESC ,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, F5, F6, F7, F8, ENT, \
69 LSFT , 1, 2, 3, 4, 5, 6, F9, F10, F11, F12,RSFT, \
70 TRNS, LSFT, B, SPC, C, TRNS, TRNS, TRNS ),
5dd11e82
J
71};
72
73const action_t PROGMEM fn_actions[] = {
74 [0] = ACTION_LAYER_MOMENTARY(1),
75 [1] = ACTION_LAYER_MOMENTARY(2),
76 [2] = ACTION_LAYER_TOGGLE(3),
77 [3] = ACTION_MODS_KEY(MOD_LSFT, KC_GRV),
78 [4] = ACTION_MODS_KEY(MOD_LSFT, KC_1),
79 [5] = ACTION_MODS_KEY(MOD_LSFT, KC_2),
80 [6] = ACTION_MODS_KEY(MOD_LSFT, KC_3),
81 [7] = ACTION_MODS_KEY(MOD_LSFT, KC_4),
82 [8] = ACTION_MODS_KEY(MOD_LSFT, KC_5),
83 [9] = ACTION_MODS_KEY(MOD_LSFT, KC_6),
84 [10] = ACTION_MODS_KEY(MOD_LSFT, KC_7),
85 [11] = ACTION_MODS_KEY(MOD_LSFT, KC_8),
86 [12] = ACTION_MODS_KEY(MOD_LSFT, KC_9),
87 [13] = ACTION_MODS_KEY(MOD_LSFT, KC_0),
88 [14] = ACTION_MODS_KEY(MOD_LSFT, KC_BSLS),
89 [15] = ACTION_MODS_KEY(MOD_LSFT, KC_QUOT),
90 [16] = ACTION_MODS_KEY(MOD_LSFT, KC_MINS),
91 [17] = ACTION_MODS_KEY(MOD_LSFT, KC_EQL),
92 [18] = ACTION_MODS_KEY(MOD_LSFT, KC_LBRC),
93 [19] = ACTION_MODS_KEY(MOD_LSFT, KC_RBRC),
94 [20] = ACTION_BACKLIGHT_STEP(),
95 [21] = ACTION_LAYER_TAP_KEY(1, KC_QUOT),
96 [22] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_ESC)
97};
Imprint / Impressum