remove experimental return, cleanup slash_question key
[tmk_keyboard.git] / keyboard / caravan / keymap_caravan.c
1 #include "keymap_common.h"
2
3 const 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, \
6 FN0, A, S, D, F, G, H, J, K, L, SCLN,FN0, \
7 LSFT, Z, X, C, V, B, N, M, COMM,DOT,SLSH,FN1, \
8 LCTL, FN1, LGUI, ENT, SPC, RALT, RSFT, FN2),
9
10 /* 1: FN 1 */
11 KEYMAP(GRV, FN4, FN5, FN6, FN7, FN8, FN9,FN10,FN11,FN12,FN13, DEL, \
12 TRNS, BSLS,QUOT,MINS, EQL,LBRC,RBRC,DOWN, UP,LEFT,RGHT, TRNS, \
13 TRNS, ESC,FN20,PSCR,TRNS,TRNS,TRNS,MSTP,MPLY,MPRV,MNXT, RSFT, \
14 TRNS, LGUI, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
15
16 /* 2: FN 2 */
17 KEYMAP(FN3, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, TRNS, \
18 ESC, FN14,FN15,FN16,FN17,FN18,FN19, 4, 5, 6,VOLU, ENT, \
19 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, 0, 1, 2, 3,VOLD, TRNS, \
20 TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
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, \
26 TRNS, LSFT, B, SPC, C, TRNS, TRNS, TRNS),
27
28 };
29
30 const action_t PROGMEM fn_actions[] = {
31 [0] = ACTION_LAYER_MOMENTARY(1),
32 [1] = ACTION_LAYER_MOMENTARY(2),
33 [2] = ACTION_LAYER_TOGGLE(3),
34 [3] = ACTION_MODS_KEY(MOD_LSFT, KC_GRV),
35 [4] = ACTION_MODS_KEY(MOD_LSFT, KC_1),
36 [5] = ACTION_MODS_KEY(MOD_LSFT, KC_2),
37 [6] = ACTION_MODS_KEY(MOD_LSFT, KC_3),
38 [7] = ACTION_MODS_KEY(MOD_LSFT, KC_4),
39 [8] = ACTION_MODS_KEY(MOD_LSFT, KC_5),
40 [9] = ACTION_MODS_KEY(MOD_LSFT, KC_6),
41 [10] = ACTION_MODS_KEY(MOD_LSFT, KC_7),
42 [11] = ACTION_MODS_KEY(MOD_LSFT, KC_8),
43 [12] = ACTION_MODS_KEY(MOD_LSFT, KC_9),
44 [13] = ACTION_MODS_KEY(MOD_LSFT, KC_0),
45 [14] = ACTION_MODS_KEY(MOD_LSFT, KC_BSLS),
46 [15] = ACTION_MODS_KEY(MOD_LSFT, KC_QUOT),
47 [16] = ACTION_MODS_KEY(MOD_LSFT, KC_MINS),
48 [17] = ACTION_MODS_KEY(MOD_LSFT, KC_EQL),
49 [18] = ACTION_MODS_KEY(MOD_LSFT, KC_LBRC),
50 [19] = ACTION_MODS_KEY(MOD_LSFT, KC_RBRC),
51 [20] = ACTION_BACKLIGHT_STEP()
52 };
Imprint / Impressum