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