]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Scan/SKM67001/customSKM.h
0c04c7b0582d3530596e8cf0a6ea4188b679d0a9
[kiibohd-controller.git] / Scan / SKM67001 / customSKM.h
1 /* Copyright (C) 2012,2014 by Jacob Alexander
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining a copy
4  * of this software and associated documentation files (the "Software"), to deal
5  * in the Software without restriction, including without limitation the rights
6  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7  * copies of the Software, and to permit persons to whom the Software is
8  * furnished to do so, subject to the following conditions:
9  *
10  * The above copyright notice and this permission notice shall be included in
11  * all copies or substantial portions of the Software.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19  * THE SOFTWARE.
20  */
21
22 #ifndef __KEYMAP_H
23 #define __KEYMAP_H
24
25 // ----- Variables -----
26
27 // Default 1-indexed key mappings
28 static uint8_t DefaultMap_Lookup[] = {
29                                 0, // 0x00
30                                 KEY_1, // 0x01
31                                 KEY_Q, // 0x02
32                                 KEY_A, // 0x03
33                                 KEY_2, // 0x04
34                                 KEY_Z, // 0x05
35                                 KEY_W, // 0x06
36                                 KEY_S, // 0x07
37                                 KEY_3, // 0x08
38                                 KEY_X, // 0x09
39                                 KEY_E, // 0x0A
40                                 KEY_D, // 0x0B
41                                 KEY_4, // 0x0C
42                                 KEY_C, // 0x0D
43                                 KEY_R, // 0x0E
44                                 KEY_F, // 0x0F
45                                 KEY_5, // 0x10
46                                 KEY_V, // 0x11
47                                 KEY_T, // 0x12
48                                 KEY_G, // 0x13
49                                 KEY_6, // 0x14
50                                 KEY_B, // 0x15
51                                 KEY_Y, // 0x16
52                                 KEY_H, // 0x17
53                                 KEY_7, // 0x18
54                                 KEY_N, // 0x19
55                                 KEY_U, // 0x1A
56                                 KEY_J, // 0x1B
57                                 KEY_8, // 0x1C
58                                 KEY_M, // 0x1D
59                                 KEY_I, // 0x1E
60                                 KEY_K, // 0x1F
61                                 KEY_9, // 0x20
62                                 KEY_COMMA, // 0x21
63                                 KEY_O, // 0x22
64                                 KEY_L, // 0x23
65                                 KEY_0, // 0x24
66                                 KEY_PERIOD, // 0x25
67                                 KEY_P, // 0x26
68                                 KEY_SEMICOLON, // 0x27
69                                 KEY_MINUS, // 0x28
70                                 KEY_SLASH, // 0x29
71                                 KEY_LEFT_BRACE, // 0x2A (1/4)
72                                 KEY_QUOTE, // 0x2B
73                                 KEY_EQUAL, // 0x2C
74                                 KEY_RIGHT_BRACE, // 0x2D
75                                 0, // 0x2E
76                                 0, // 0x2F
77                                 KEY_TILDE, // 0x30
78                                 KEY_TAB, // 0x31
79                                 0, // 0x32
80                                 0, // 0x33
81                                 KEY_SHIFT, // 0x34
82                                 KEY_ENTER, // 0x35
83                                 KEY_BACKSPACE, // 0x36
84                                 KEY_DELETE, // 0x37
85                                 KEY_CTRL, // 0x38 (MAR LEFT)
86                                 KEY_SPACE, // 0x39
87                                 KEY_ALT, // 0x3A (EXPRESS / MAR RIGHT)
88                                 0, // 0x3B
89                                 0, // 0x3C
90                                 KEY_ESC, // 0x3D (MAR REL)
91                                 0, // 0x3E (STORE)
92                                 0, // 0x3F (RECALL)
93                                 KEY_GUI, // 0x40 (CODE)
94                                 0, // 0x41
95                                 0, // 0x42
96                                 0, // 0x43
97                                 0, // 0x44
98                                 0, // 0x45
99                                 0, // 0x46
100                                 0, // 0x47
101                                 0, // 0x48 (DEC TAB)
102                                 0, // 0x49 (SET TAB)
103                                 0, // 0x4A (TAB CLEAR)
104                                 0, // 0x4B (INDEX)
105                                 0, // 0x4C (RELOC)
106                                 0, // 0x4D
107                                 0, // 0x4E
108                                 0, // 0x4F
109                                 0, // 0x50 (REV INDEX)
110                                 0, // 0x51
111                                 0, // 0x52
112                                 0, // 0x53
113                                 0, // 0x54
114                                 0, // 0x55
115 };
116
117
118 #endif
119