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