Revision 42bef05a Matrix.h

View differences:

Matrix.h
29 29

  
30 30
// second line of keys
31 31
#define QWERTY_Q {{0,key(J)},{0,key(J)},{key(RIGHT_ALT),key(DOT_AND_GREATER_THAN_SIGN)},{0,key(PAGE_UP)}}
32
#define QWERTY_W {{0,key(D)},{0,key(D)},{key(LEFT_SHIFT),key(SLASH_AND_QUESTION_MARK)},{0,key(BACKSPACE)}}
32
#define QWERTY_W {{0,key(G)},{0,key(G)},{key(LEFT_SHIFT),key(SLASH_AND_QUESTION_MARK)},{0,key(BACKSPACE)}}
33 33
#define QWERTY_E {{0,key(U)},{0,key(U)},{key(RIGHT_ALT),key(8_AND_ASTERISK)},{0,key(UP_ARROW)}}
34 34
#define QWERTY_R {{0,key(A)},{0,key(A)},{key(RIGHT_ALT),key(9_AND_OPENING_PARENTHESIS)},{0,key(DELETE)}}
35 35
#define QWERTY_T {{0,key(X)},{0,key(X)},{0,key(GRAVE_ACCENT_AND_TILDE)},{0,key(PAGE_DOWN)}}
36
#define QWERTY_Y {{0,key(P)},{0,key(P)},{key(LEFT_SHIFT),key(1_AND_EXCLAMATION)},{(key(LEFT_SHIFT)|key(RIGHT_ALT)),key(1_AND_EXCLAMATION)}}
37
#define QWERTY_U {{0,key(H)},{0,key(H)},{0,key(NON_US_BACKSLASH_AND_PIPE)},{0,key(7_AND_AND_AMPERSAND)}}
38
#define QWERTY_I {{0,key(L)},{0,key(L)},{key(LEFT_SHIFT),key(NON_US_BACKSLASH_AND_PIPE)},{0,key(8_AND_ASTERISK)}}
39
#define QWERTY_O {{0,key(M)},{0,key(M)},{key(LEFT_SHIFT),key(0_AND_CLOSING_PARENTHESIS)},{0,key(9_AND_OPENING_PARENTHESIS)}}
40
#define QWERTY_P {{0,key(W)},{0,key(W)},{key(LEFT_SHIFT),key(6_AND_CARET)},{0,key(CLOSING_BRACKET_AND_CLOSING_BRACE)}}
36
#define QWERTY_Y {{0,key(W)},{0,key(W)},{key(LEFT_SHIFT),key(1_AND_EXCLAMATION)},{(key(LEFT_SHIFT)|key(RIGHT_ALT)),key(1_AND_EXCLAMATION)}}
37
#define QWERTY_U {{0,key(D)},{0,key(D)},{0,key(NON_US_BACKSLASH_AND_PIPE)},{0,key(7_AND_AND_AMPERSAND)}}
38
#define QWERTY_I {{0,key(C)},{0,key(C)},{key(LEFT_SHIFT),key(NON_US_BACKSLASH_AND_PIPE)},{0,key(8_AND_ASTERISK)}}
39
#define QWERTY_O {{0,key(L)},{0,key(L)},{key(LEFT_SHIFT),key(0_AND_CLOSING_PARENTHESIS)},{0,key(9_AND_OPENING_PARENTHESIS)}}
40
#define QWERTY_P {{0,key(F)},{0,key(F)},{key(LEFT_SHIFT),key(6_AND_CARET)},{0,key(CLOSING_BRACKET_AND_CLOSING_BRACE)}}
41 41
// ü
42 42
#define QWERTY_OPENING_BRACKET_AND_OPENING_BRACE {{0,key(Q)},{0,key(Q)},{0,0},{0,key(SLASH_AND_QUESTION_MARK)}}
43 43
// + * ~
......
45 45

  
46 46
// third line of keys
47 47
#define QWERTY_CAPS_LOCK {{key(MOD3),0},{key(MOD3),0},{key(MOD3),0},{key(MOD3),0}}
48
#define QWERTY_A {{0,key(C)},{0,key(C)},{key(RIGHT_ALT),key(MINUS_AND_UNDERSCORE)},{0,key(HOME)}}
49
#define QWERTY_S {{0,key(T)},{0,key(T)},{key(LEFT_SHIFT),key(7_AND_AND_AMPERSAND)},{0,key(LEFT_ARROW)}}
48
#define QWERTY_A {{0,key(H)},{0,key(H)},{key(RIGHT_ALT),key(MINUS_AND_UNDERSCORE)},{0,key(HOME)}}
49
#define QWERTY_S {{0,key(M)},{0,key(M)},{key(LEFT_SHIFT),key(7_AND_AND_AMPERSAND)},{0,key(LEFT_ARROW)}}
50 50
#define QWERTY_D {{0,key(I)},{0,key(I)},{key(RIGHT_ALT),key(7_AND_AND_AMPERSAND)},{0,key(DOWN_ARROW)}}
51 51
#define QWERTY_F {{0,key(E)},{0,key(E)},{key(RIGHT_ALT),key(0_AND_CLOSING_PARENTHESIS)},{0,key(RIGHT_ARROW)}}
52 52
#define QWERTY_G {{0,key(O)},{0,key(O)},{key(LEFT_SHIFT),key(CLOSING_BRACKET_AND_CLOSING_BRACE)},{0,key(END)}}
53 53
#define QWERTY_H {{0,key(B)},{0,key(B)},{key(LEFT_SHIFT),key(MINUS_AND_UNDERSCORE)},{(key(LEFT_SHIFT)|key(RIGHT_ALT)),key(MINUS_AND_UNDERSCORE)}}
54
#define QWERTY_J {{0,key(N)},{0,key(N)},{key(LEFT_SHIFT),key(8_AND_ASTERISK)},{0,key(4_AND_DOLLAR)}}
55
#define QWERTY_K {{0,key(R)},{0,key(R)},{key(LEFT_SHIFT),key(9_AND_OPENING_PARENTHESIS)},{0,key(5_AND_PERCENTAGE)}}
56
#define QWERTY_L {{0,key(S)},{0,key(S)},{0,key(SLASH_AND_QUESTION_MARK)},{0,key(6_AND_CARET)}}
54
#define QWERTY_J {{0,key(T)},{0,key(T)},{key(LEFT_SHIFT),key(8_AND_ASTERISK)},{0,key(4_AND_DOLLAR)}}
55
#define QWERTY_K {{0,key(N)},{0,key(N)},{key(LEFT_SHIFT),key(9_AND_OPENING_PARENTHESIS)},{0,key(5_AND_PERCENTAGE)}}
56
#define QWERTY_L {{0,key(R)},{0,key(R)},{0,key(SLASH_AND_QUESTION_MARK)},{0,key(6_AND_CARET)}}
57 57
// ö
58
#define QWERTY_SEMICOLON_AND_COLON {{0,key(G)},{0,key(G)},{key(LEFT_SHIFT),key(DOT_AND_GREATER_THAN_SIGN)},{0,key(COMMA_AND_LESS_THAN_SIGN)}}
58
#define QWERTY_SEMICOLON_AND_COLON {{0,key(S)},{0,key(S)},{key(LEFT_SHIFT),key(DOT_AND_GREATER_THAN_SIGN)},{0,key(COMMA_AND_LESS_THAN_SIGN)}}
59 59
// ä
60 60
#define QWERTY_APOSTROPHE_AND_QUOTE {{key(MOD3),0},{key(MOD3),0},{key(MOD3),0},{key(MOD3),0}}
61 61
// ' #
......
64 64
// fourth line of keys
65 65
// <>|
66 66
#define QWERTY_NON_US_BACKSLASH_AND_PIPE {{key(MOD4),0},{key(MOD4),0},{key(MOD4),0},{key(MOD4),0}}
67
#define QWERTY_Z {{0,key(F)},{0,key(F)},{0,key(NON_US_HASHMARK_AND_TILDE)},{0,key(ESCAPE)}}
67
#define QWERTY_Z {{0,key(K)},{0,key(K)},{0,key(NON_US_HASHMARK_AND_TILDE)},{0,key(ESCAPE)}}
68 68
#define QWERTY_X {{0,key(V)},{0,key(V)},{key(LEFT_SHIFT),key(4_AND_DOLLAR)},{0,key(TAB)}}
69 69
#define QWERTY_C {{0,key(OPENING_BRACKET_AND_OPENING_BRACE)}, {0,key(OPENING_BRACKET_AND_OPENING_BRACE)},{key(RIGHT_ALT),key(NON_US_BACKSLASH_AND_PIPE)},{0,key(INSERT)}}
70 70
#define QWERTY_V {{0,key(APOSTROPHE_AND_QUOTE)},{key(LEFT_SHIFT),key(APOSTROPHE_AND_QUOTE)},{key(RIGHT_ALT),key(CLOSING_BRACKET_AND_CLOSING_BRACE)},{0,key(ENTER)}}
71 71
#define QWERTY_B {{0,key(SEMICOLON_AND_COLON)},{0,key(SEMICOLON_AND_COLON)},{key(LEFT_SHIFT),key(EQUAL_AND_PLUS)},{0,key(UNDO)}}
72 72
#define QWERTY_N {{0,key(Z)},{0,key(Z)},{0,key(CLOSING_BRACKET_AND_CLOSING_BRACE)},{key(LEFT_SHIFT),key(DOT_AND_GREATER_THAN_SIGN)}}
73
#define QWERTY_M {{0,key(Y)},{0,key(Y)},{key(LEFT_SHIFT),key(5_AND_PERCENTAGE)},{0,key(1_AND_EXCLAMATION)}}
73
#define QWERTY_M {{0,key(P)},{0,key(P)},{key(LEFT_SHIFT),key(5_AND_PERCENTAGE)},{0,key(1_AND_EXCLAMATION)}}
74 74
#define QWERTY_COMMA_AND_LESS_THAN_SIGN {{0,key(COMMA_AND_LESS_THAN_SIGN)},{0,key(COMMA_AND_LESS_THAN_SIGN)},{key(LEFT_SHIFT),key(2_AND_AT)},{0,key(2_AND_AT)}}
75 75
#define QWERTY_DOT_AND_GREATER_THAN_SIGN {{0,key(DOT_AND_GREATER_THAN_SIGN)},{0,key(DOT_AND_GREATER_THAN_SIGN)},{key(LEFT_SHIFT),key(NON_US_HASHMARK_AND_TILDE)},{0,key(3_AND_HASHMARK)}}
76 76
// - _
77
#define QWERTY_SLASH_AND_QUESTION_MARK {{0,key(K)},{0,key(K)},{key(LEFT_SHIFT),key(COMMA_AND_LESS_THAN_SIGN)},{key(LEFT_SHIFT),key(COMMA_AND_LESS_THAN_SIGN)}}
77
#define QWERTY_SLASH_AND_QUESTION_MARK {{0,key(Y)},{0,key(Y)},{key(LEFT_SHIFT),key(COMMA_AND_LESS_THAN_SIGN)},{key(LEFT_SHIFT),key(COMMA_AND_LESS_THAN_SIGN)}}
78 78

  
79 79
//bonus stuff you'd miss
80 80
#define QWERTY_SPACE {{0,key(SPACE)},{0,key(SPACE)},{0,key(SPACE)},{0,key(0_AND_CLOSING_PARENTHESIS)}}
......
124 124
#define QWERTY_PAGE_UP	{{0,key(PAGE_UP)},{0,key(PAGE_UP)},{0,key(PAGE_UP)},{0,key(PAGE_UP)}}
125 125
#define QWERTY_PAGE_DOWN {{0,key(PAGE_DOWN)},{0,key(PAGE_DOWN)},{0,key(PAGE_DOWN)},{0,key(PAGE_DOWN)}}
126 126

  
127
// Bonus for gaming-expander
128
/*
129
#define GAMING_GRAVE	{{0,key(GRAVE_ACCENT_AND_TILDE)},{0,0},{0,0},{0,0}}
130
#define GAMING_1	{{,key(KEYPAD_1_AND_END)},{0,0},{0,0},{0,0}}
131
#define GAMING_2	{{0,key(KEYPAD_2_AND_DOWN_ARROW)},{0,0},{0,0},{0,0}}
132
#define GAMING_3	{{0,key(KEYPAD_3_AND_PAGE_DOWN)},{0,0},{0,0},{0,0}}
133
#define GAMING_4	{{0,key(KEYPAD_4_AND_LEFT_ARROW)},{0,0},{0,0},{0,0}}
134
#define GAMING_5	{{0,key(KEYPAD_5)},{0,0},{0,0},{0,0}}
135
#define GAMING_6	{{0,key(KEYPAD_6_AND_RIGHT_ARROW)},{0,0},{0,0},{0,0}}
136
#define GAMING_7	{{0,key(KEYPAD_7_AND_HOME)},{0,0},{0,0},{0,0}}
137
#define GAMING_8	{{0,key(KEYPAD_8_AND_UP_ARROW)},{0,0},{0,0},{0,0}}
138
#define GAMING_9	{{0,key(KEYPAD_9_AND_PAGE_UP)},{0,0},{0,0},{0,0}}
139
#define GAMING_0	{{0,key(KEYPAD_0_AND_INSERT)},{0,0},{0,0},{0,0}}
140
*/
141

  
142
#define GAMING_GRAVE	{{0,key(GRAVE_ACCENT_AND_TILDE)},{0,0},{0,0},{0,0}}
143
#define GAMING_1	{{0,key(1_AND_EXCLAMATION)},{0,0},{0,0},{0,0}}
144
#define GAMING_2	{{0,key(2_AND_AT)},{0,0},{0,0},{0,0}}
145
#define GAMING_3	{{0,key(3_AND_HASHMARK)},{0,0},{0,0},{0,0}}
146
#define GAMING_4	{{0,key(4_AND_DOLLAR)},{0,0},{0,0},{0,0}}
147
#define GAMING_5	{{0,key(5_AND_PERCENTAGE)},{0,0},{0,0},{0,0}}
148
#define GAMING_6	{{0,key(6_AND_CARET)},{0,0},{0,0},{0,0}}
149
#define GAMING_7	{{0,key(7_AND_AND_AMPERSAND)},{0,0},{0,0},{0,0}}
150
#define GAMING_8	{{0,key(8_AND_ASTERISK)},{0,0},{0,0},{0,0}}
151
#define GAMING_9	{{0,key(9_AND_OPENING_PARENTHESIS)},{0,0},{0,0},{0,0}}
152
#define GAMING_0	{{0,key(0_AND_CLOSING_PARENTHESIS)},{0,0},{0,0},{0,0}}
153

  
154
#define GAMING_A	{{0,key(A)},{0,0},{0,0},{0,0}}
155
#define GAMING_B	{{0,key(B)},{0,0},{0,0},{0,0}}
156
#define GAMING_C	{{0,key(C)},{0,0},{0,0},{0,0}}
157
#define GAMING_D	{{0,key(D)},{0,0},{0,0},{0,0}}
158
#define GAMING_E	{{0,key(E)},{0,0},{0,0},{0,0}}
159
#define GAMING_F	{{0,key(F)},{0,0},{0,0},{0,0}}
160
//#define GAMING_F	{{0,key(KEYPAD_F)},{0,0},{0,0},{0,0}}
161

  
162
#define GAMING_SLASH	{{0,key(KEYPAD_SLASH)},{0,0},{0,0},{0,0}}
163
#define GAMING_ASTERISK	{{0,key(KEYPAD_ASTERISK)},{0,0},{0,0},{0,0}}
164
#define GAMING_MINUS	{{0,key(KEYPAD_MINUS)},{0,0},{0,0},{0,0}}
165
#define GAMING_PLUS	{{0,key(KEYPAD_PLUS)},{0,0},{0,0},{0,0}}
166

  
167 127
// key is on matrix but not mapped
168 128
#define BLANK {{0,0},{0,0},{0,0},{0,0}}
169 129
// key is not on matrix and not map-able

Also available in: Unified diff