updated default layout
[tmk_keyboard.git] / keyboard / tv44 / keymap_tv44.c
CommitLineData
a209c962
ES
1#include "keymap_common.h"
2
3const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4 /* 0: qerty */
5 KEYMAP(TAB, Q, W, E, R, T, Y, U, I, O, P, BSPC, \
5f10dc4b
ES
6 FN0, A, S, D, F, G, H, J, K, L, SCLN,FN21, \
7 FN22, Z, X, C, V, B, N, M, COMM,DOT,SLSH,FN1, \
8 LCTL, FN1, LGUI, ENT, SPC, RALT, RSFT, FN2),
a209c962
ES
9
10 /* 1: FN 1 */
11 KEYMAP(GRV, FN4, FN5, FN6, FN7, FN8, FN9,FN10,FN11,FN12,FN13, DEL, \
61094680 12 TRNS, BSLS,QUOT,MINS, EQL,LBRC,RBRC,DOWN, UP,LEFT,RGHT, TRNS, \
a209c962 13 TRNS, ESC,FN20,PSCR,TRNS,TRNS,TRNS,MSTP,MPLY,MPRV,MNXT, RSFT, \
5f10dc4b 14 TRNS, LGUI, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
a209c962
ES
15
16 /* 2: FN 2 */
61094680 17 KEYMAP(FN3, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, TRNS, \
a209c962 18 ESC, FN14,FN15,FN16,FN17,FN18,FN19, 4, 5, 6,VOLU, ENT, \
61094680 19 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, 0, 1, 2, 3,VOLD, TRNS, \
5f10dc4b 20 TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
a209c962
ES
21
22 /* 3: Game Mode */
23 KEYMAP(TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, F1, F2, F3, F4, TRNS, \
24 ESC, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, F5, F6, F7, F8, ENT, \
25 LSFT, 1, 2, 3, 4, 5, 6, F9, F10, F11, F12,RSFT, \
5f10dc4b 26 TRNS, LSFT, B, SPC, C, TRNS, TRNS, TRNS),
a209c962
ES
27
28 /* 4: LED Mode */
29 KEYMAP(TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, \
30 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
31 TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS,TRNS, \
5f10dc4b 32 TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
a209c962
ES
33};
34
35const uint16_t PROGMEM fn_actions[] = {
36 [0] = ACTION_LAYER_MOMENTARY(1),
37 [1] = ACTION_LAYER_MOMENTARY(2),
38 [2] = ACTION_LAYER_TOGGLE(3),
39 [3] = ACTION_MODS_KEY(MOD_LSFT, KC_GRV),
40 [4] = ACTION_MODS_KEY(MOD_LSFT, KC_1),
41 [5] = ACTION_MODS_KEY(MOD_LSFT, KC_2),
42 [6] = ACTION_MODS_KEY(MOD_LSFT, KC_3),
43 [7] = ACTION_MODS_KEY(MOD_LSFT, KC_4),
44 [8] = ACTION_MODS_KEY(MOD_LSFT, KC_5),
45 [9] = ACTION_MODS_KEY(MOD_LSFT, KC_6),
46 [10] = ACTION_MODS_KEY(MOD_LSFT, KC_7),
47 [11] = ACTION_MODS_KEY(MOD_LSFT, KC_8),
48 [12] = ACTION_MODS_KEY(MOD_LSFT, KC_9),
49 [13] = ACTION_MODS_KEY(MOD_LSFT, KC_0),
50 [14] = ACTION_MODS_KEY(MOD_LSFT, KC_BSLS),
51 [15] = ACTION_MODS_KEY(MOD_LSFT, KC_QUOT),
52 [16] = ACTION_MODS_KEY(MOD_LSFT, KC_MINS),
53 [17] = ACTION_MODS_KEY(MOD_LSFT, KC_EQL),
54 [18] = ACTION_MODS_KEY(MOD_LSFT, KC_LBRC),
55 [19] = ACTION_MODS_KEY(MOD_LSFT, KC_RBRC),
56 [20] = ACTION_LAYER_TOGGLE(4),
61094680
ES
57 [21] = ACTION_LAYER_TAP_KEY(1, KC_QUOT),
58 [22] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_ESC)
a209c962 59};
Imprint / Impressum