Skip to content

Commit a82ce52

Browse files
author
Florian Fleissner
committed
Added all available Linux XKB keymaps
Signed-off-by: Florian Fleissner <[email protected]>
1 parent be1cf52 commit a82ce52

File tree

632 files changed

+304779
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

632 files changed

+304779
-0
lines changed

src/kaleidoscope/host_keymap/linux/af/fa-olpc/keymap.h

+331
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/af/olpc-ps/keymap.h

+322
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/af/ps/keymap.h

+427
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/af/standard/keymap.h

+441
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/af/uz-olpc/keymap.h

+329
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/af/uz/keymap.h

+439
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/al/plisi/keymap.h

+504
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/al/standard/keymap.h

+556
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/am/eastern-alt/keymap.h

+375
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/am/eastern/keymap.h

+375
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/am/olpc-phonetic/keymap.h

+368
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/am/phonetic-alt/keymap.h

+368
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/am/phonetic/keymap.h

+368
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/am/standard/keymap.h

+380
Large diffs are not rendered by default.

src/kaleidoscope/host_keymap/linux/am/western/keymap.h

+375
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,304 @@
1+
/* Kaleidoscope - Firmware for computer input devices
2+
* Copyright (C) 2013-2019 Keyboard.io, Inc.
3+
*
4+
* This program is free software: you can redistribute it and/or modify it under
5+
* the terms of the GNU General Public License as published by the Free Software
6+
* Foundation, version 3.
7+
*
8+
* This program is distributed in the hope that it will be useful, but WITHOUT
9+
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10+
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
11+
* details.
12+
*
13+
* You should have received a copy of the GNU General Public License along with
14+
* this program. If not, see <http://www.gnu.org/licenses/>.
15+
*/
16+
17+
#pragma once
18+
19+
#include "kaleidoscope/host_keymap/linux.h"
20+
21+
// This file was autogenerated by host_keymap.
22+
// Its content is based on information provided by the XKB X11 system
23+
// collected with the extraordinary libxkbcommon.
24+
25+
// layout: apl
26+
// variant: apl2
27+
28+
#define _HOST_KEYMAP_ASCII(OP) \
29+
OP('\b', Key_Backspace) /* XKB_KEY_BackSpace, Back space, back char */ \
30+
OP('\t', Key_Tab) /* XKB_KEY_Tab */ \
31+
OP('\r', Key_Enter) /* XKB_KEY_Return, Return, enter */ \
32+
OP('\e', Key_Escape) /* XKB_KEY_Escape */ \
33+
OP(' ', Key_Spacebar) /* U+0020, XKB_KEY_space, SPACE */ \
34+
OP('!', RALT(Key_Minus)) /* U+0021, XKB_KEY_exclam, EXCLAMATION MARK */ \
35+
OP('\'', Key_K) /* U+0027, XKB_KEY_apostrophe, APOSTROPHE */ \
36+
OP('(', LSHIFT(Key_Semicolon)) /* U+0028, XKB_KEY_parenleft, LEFT PARENTHESIS */ \
37+
OP(')', LSHIFT(Key_Quote)) /* U+0029, XKB_KEY_parenright, RIGHT PARENTHESIS */ \
38+
OP('*', Key_P) /* U+002a, XKB_KEY_asterisk, ASTERISK */ \
39+
OP('+', Key_Minus) /* U+002b, XKB_KEY_plus, PLUS SIGN */ \
40+
OP(',', Key_Comma) /* U+002c, XKB_KEY_comma, COMMA */ \
41+
OP('-', Key_KeypadSubtract) /* XKB_KEY_KP_Subtract */ \
42+
OP('.', Key_Period) /* U+002e, XKB_KEY_period, FULL STOP */ \
43+
OP('/', Key_Slash) /* U+002f, XKB_KEY_slash, SOLIDUS */ \
44+
OP('0', LSHIFT(Key_Keypad0)) /* XKB_KEY_KP_0 */ \
45+
OP('1', LSHIFT(Key_Keypad1)) /* XKB_KEY_KP_1 */ \
46+
OP('2', LSHIFT(Key_Keypad2)) /* XKB_KEY_KP_2 */ \
47+
OP('3', LSHIFT(Key_Keypad3)) /* XKB_KEY_KP_3 */ \
48+
OP('4', LSHIFT(Key_Keypad4)) /* XKB_KEY_KP_4 */ \
49+
OP('5', LSHIFT(Key_Keypad5)) /* XKB_KEY_KP_5 */ \
50+
OP('6', LSHIFT(Key_Keypad6)) /* XKB_KEY_KP_6 */ \
51+
OP('7', LSHIFT(Key_Keypad7)) /* XKB_KEY_KP_7 */ \
52+
OP('8', LSHIFT(Key_Keypad8)) /* XKB_KEY_KP_8 */ \
53+
OP('9', LSHIFT(Key_Keypad9)) /* XKB_KEY_KP_9 */ \
54+
OP(':', LSHIFT(Key_Period)) /* U+003a, XKB_KEY_colon, COLON */ \
55+
OP(';', LSHIFT(Key_Comma)) /* U+003b, XKB_KEY_semicolon, SEMICOLON */ \
56+
OP('<', Key_3) /* U+003c, XKB_KEY_less, LESS-THAN SIGN */ \
57+
OP('=', Key_5) /* U+003d, XKB_KEY_equal, EQUALS SIGN */ \
58+
OP('>', Key_7) /* U+003e, XKB_KEY_greater, GREATER-THAN SIGN */ \
59+
OP('?', Key_Q) /* U+003f, XKB_KEY_question, QUESTION MARK */ \
60+
OP('[', Key_Semicolon) /* U+005b, XKB_KEY_bracketleft, LEFT SQUARE BRACKET */ \
61+
OP('\\', LSHIFT(Key_Slash)) /* U+005c, XKB_KEY_backslash, REVERSE SOLIDUS */ \
62+
OP(']', Key_Quote) /* U+005d, XKB_KEY_bracketright, RIGHT SQUARE BRACKET */ \
63+
OP('_', Key_F) /* U+005f, XKB_KEY_underscore, LOW LINE */ \
64+
OP('|', Key_M) /* U+007c, XKB_KEY_bar, VERTICAL LINE */ \
65+
OP('~', Key_T) /* U+007e, XKB_KEY_asciitilde, TILDE */ \
66+
OP('', Key_Delete) /* XKB_KEY_Delete, Delete, rubout */ \
67+
68+
#define _HOST_KEYMAP_UNICODE(OP) \
69+
OP(L'\b', Key_Backspace) /* XKB_KEY_BackSpace, Back space, back char */ \
70+
OP(L'\t', Key_Tab) /* XKB_KEY_Tab */ \
71+
OP(L'\r', Key_Enter) /* XKB_KEY_Return, Return, enter */ \
72+
OP(L'\e', Key_Escape) /* XKB_KEY_Escape */ \
73+
OP(L' ', Key_Spacebar) /* U+0020, XKB_KEY_space, SPACE */ \
74+
OP(L'!', RALT(Key_Minus)) /* U+0021, XKB_KEY_exclam, EXCLAMATION MARK */ \
75+
OP(L'\'', Key_K) /* U+0027, XKB_KEY_apostrophe, APOSTROPHE */ \
76+
OP(L'(', LSHIFT(Key_Semicolon)) /* U+0028, XKB_KEY_parenleft, LEFT PARENTHESIS */ \
77+
OP(L')', LSHIFT(Key_Quote)) /* U+0029, XKB_KEY_parenright, RIGHT PARENTHESIS */ \
78+
OP(L'*', Key_P) /* U+002a, XKB_KEY_asterisk, ASTERISK */ \
79+
OP(L'+', Key_Minus) /* U+002b, XKB_KEY_plus, PLUS SIGN */ \
80+
OP(L',', Key_Comma) /* U+002c, XKB_KEY_comma, COMMA */ \
81+
OP(L'-', Key_KeypadSubtract) /* XKB_KEY_KP_Subtract */ \
82+
OP(L'.', Key_Period) /* U+002e, XKB_KEY_period, FULL STOP */ \
83+
OP(L'/', Key_Slash) /* U+002f, XKB_KEY_slash, SOLIDUS */ \
84+
OP(L'0', LSHIFT(Key_Keypad0)) /* XKB_KEY_KP_0 */ \
85+
OP(L'1', LSHIFT(Key_Keypad1)) /* XKB_KEY_KP_1 */ \
86+
OP(L'2', LSHIFT(Key_Keypad2)) /* XKB_KEY_KP_2 */ \
87+
OP(L'3', LSHIFT(Key_Keypad3)) /* XKB_KEY_KP_3 */ \
88+
OP(L'4', LSHIFT(Key_Keypad4)) /* XKB_KEY_KP_4 */ \
89+
OP(L'5', LSHIFT(Key_Keypad5)) /* XKB_KEY_KP_5 */ \
90+
OP(L'6', LSHIFT(Key_Keypad6)) /* XKB_KEY_KP_6 */ \
91+
OP(L'7', LSHIFT(Key_Keypad7)) /* XKB_KEY_KP_7 */ \
92+
OP(L'8', LSHIFT(Key_Keypad8)) /* XKB_KEY_KP_8 */ \
93+
OP(L'9', LSHIFT(Key_Keypad9)) /* XKB_KEY_KP_9 */ \
94+
OP(L':', LSHIFT(Key_Period)) /* U+003a, XKB_KEY_colon, COLON */ \
95+
OP(L';', LSHIFT(Key_Comma)) /* U+003b, XKB_KEY_semicolon, SEMICOLON */ \
96+
OP(L'<', Key_3) /* U+003c, XKB_KEY_less, LESS-THAN SIGN */ \
97+
OP(L'=', Key_5) /* U+003d, XKB_KEY_equal, EQUALS SIGN */ \
98+
OP(L'>', Key_7) /* U+003e, XKB_KEY_greater, GREATER-THAN SIGN */ \
99+
OP(L'?', Key_Q) /* U+003f, XKB_KEY_question, QUESTION MARK */ \
100+
OP(L'[', Key_Semicolon) /* U+005b, XKB_KEY_bracketleft, LEFT SQUARE BRACKET */ \
101+
OP(L'\\', LSHIFT(Key_Slash)) /* U+005c, XKB_KEY_backslash, REVERSE SOLIDUS */ \
102+
OP(L']', Key_Quote) /* U+005d, XKB_KEY_bracketright, RIGHT SQUARE BRACKET */ \
103+
OP(L'_', Key_F) /* U+005f, XKB_KEY_underscore, LOW LINE */ \
104+
OP(L'|', Key_M) /* U+007c, XKB_KEY_bar, VERTICAL LINE */ \
105+
OP(L'~', Key_T) /* U+007e, XKB_KEY_asciitilde, TILDE */ \
106+
OP(L'', Key_Delete) /* XKB_KEY_Delete, Delete, rubout */ \
107+
OP(L'¦', RALT(LSHIFT(Key_NonUsBackslashAndPipe))) /* U+00a6, XKB_KEY_brokenbar, BROKEN BAR */ \
108+
OP(L'¨', Key_1) /* U+00a8, XKB_KEY_diaeresis, DIAERESIS */ \
109+
OP(L'¯', Key_2) /* U+00af, XKB_KEY_macron, MACRON */ \
110+
OP(L'×', Key_Equals) /* U+00d7, XKB_KEY_multiply, MULTIPLICATION SIGN */ \
111+
OP(L'÷', LSHIFT(Key_Equals)) /* U+00f7, XKB_KEY_division, DIVISION SIGN */ \
112+
OP(L'', Key_LeftBracket) \
113+
OP(L'', Key_Y) \
114+
OP(L'', LSHIFT(Key_LeftBracket)) \
115+
OP(L'', Key_U) \
116+
OP(L'', Key_H) \
117+
OP(L'', Key_G) \
118+
OP(L'', Key_E) \
119+
OP(L'', Key_J) \
120+
OP(L'', Key_0) \
121+
OP(L'', Key_9) \
122+
OP(L'', Key_C) \
123+
OP(L'', Key_V) \
124+
OP(L'', Key_8) \
125+
OP(L'', Key_NonUsPound) \
126+
OP(L'', Key_4) \
127+
OP(L'', Key_6) \
128+
OP(L'', Key_Z) \
129+
OP(L'', Key_X) \
130+
OP(L'', RALT(Key_7)) \
131+
OP(L'', Key_N) \
132+
OP(L'', Key_B) \
133+
OP(L'', Key_S) \
134+
OP(L'', Key_D) \
135+
OP(L'', RALT(Key_1)) \
136+
OP(L'', Key_RightBracket) \
137+
OP(L'', RALT(Key_Equals)) \
138+
OP(L'', LSHIFT(Key_Backtick)) \
139+
OP(L'', RALT(Key_5)) \
140+
OP(L'', RALT(Key_Slash)) \
141+
OP(L'', RALT(Key_Period)) \
142+
OP(L'', RALT(Key_Backtick)) \
143+
OP(L'', RALT(Key_6)) \
144+
OP(L'', RALT(Key_4)) \
145+
OP(L'', RALT(Key_Semicolon)) \
146+
OP(L'', RALT(Key_3)) \
147+
OP(L'', RALT(Key_Quote)) \
148+
OP(L'', RALT(Key_RightBracket)) \
149+
OP(L'', RALT(Key_Comma)) \
150+
OP(L'', RALT(Key_LeftBracket)) \
151+
OP(L'', RALT(Key_8)) \
152+
OP(L'', RALT(Key_NonUsPound)) \
153+
OP(L'', RALT(Key_2)) \
154+
OP(L'', RALT(Key_9)) \
155+
OP(L'', RALT(Key_0)) \
156+
OP(L'', Key_I) \
157+
OP(L'', Key_R) \
158+
OP(L'', Key_W) \
159+
OP(L'', LSHIFT(Key_NonUsPound)) \
160+
OP(L'', LSHIFT(Key_RightBracket)) \
161+
OP(L'', Key_A) \
162+
OP(L'', Key_L) \
163+
OP(L'', Key_O) \
164+
165+
#define _HOST_KEYMAP_NON_PRINTABLE(OP) \
166+
OP(XKB_KEY_Alt_L, Key_LeftAlt) /* XKB_KEY_Alt_L, Left alt */ \
167+
OP(XKB_KEY_BackSpace, Key_Backspace) /* XKB_KEY_BackSpace, Back space, back char */ \
168+
OP(XKB_KEY_Break, LCTRL(Key_Pause)) /* XKB_KEY_Break */ \
169+
OP(XKB_KEY_Caps_Lock, Key_CapsLock) /* XKB_KEY_Caps_Lock, Caps lock */ \
170+
OP(XKB_KEY_Control_L, Key_LeftControl) /* XKB_KEY_Control_L, Left control */ \
171+
OP(XKB_KEY_Control_R, Key_RightControl) /* XKB_KEY_Control_R, Right control */ \
172+
OP(XKB_KEY_Delete, Key_Delete) /* XKB_KEY_Delete, Delete, rubout */ \
173+
OP(XKB_KEY_Down, Key_DownArrow) /* XKB_KEY_Down, Move down, down arrow */ \
174+
OP(XKB_KEY_End, Key_End) /* XKB_KEY_End, EOL */ \
175+
OP(XKB_KEY_Escape, Key_Escape) /* XKB_KEY_Escape */ \
176+
OP(XKB_KEY_F1, Key_F1) /* XKB_KEY_F1 */ \
177+
OP(XKB_KEY_F10, Key_F10) /* XKB_KEY_F10 */ \
178+
OP(XKB_KEY_F11, Key_F11) /* XKB_KEY_F11 */ \
179+
OP(XKB_KEY_F12, Key_F12) /* XKB_KEY_F12 */ \
180+
OP(XKB_KEY_F2, Key_F2) /* XKB_KEY_F2 */ \
181+
OP(XKB_KEY_F3, Key_F3) /* XKB_KEY_F3 */ \
182+
OP(XKB_KEY_F4, Key_F4) /* XKB_KEY_F4 */ \
183+
OP(XKB_KEY_F5, Key_F5) /* XKB_KEY_F5 */ \
184+
OP(XKB_KEY_F6, Key_F6) /* XKB_KEY_F6 */ \
185+
OP(XKB_KEY_F7, Key_F7) /* XKB_KEY_F7 */ \
186+
OP(XKB_KEY_F8, Key_F8) /* XKB_KEY_F8 */ \
187+
OP(XKB_KEY_F9, Key_F9) /* XKB_KEY_F9 */ \
188+
OP(XKB_KEY_Home, Key_Home) /* XKB_KEY_Home */ \
189+
OP(XKB_KEY_ISO_Left_Tab, LSHIFT(Key_Tab)) /* XKB_KEY_ISO_Left_Tab */ \
190+
OP(XKB_KEY_ISO_Level3_Shift, Key_RightAlt) /* XKB_KEY_ISO_Level3_Shift */ \
191+
OP(XKB_KEY_Insert, Key_Insert) /* XKB_KEY_Insert, Insert, insert here */ \
192+
OP(XKB_KEY_KP_0, LSHIFT(Key_Keypad0)) /* XKB_KEY_KP_0 */ \
193+
OP(XKB_KEY_KP_1, LSHIFT(Key_Keypad1)) /* XKB_KEY_KP_1 */ \
194+
OP(XKB_KEY_KP_2, LSHIFT(Key_Keypad2)) /* XKB_KEY_KP_2 */ \
195+
OP(XKB_KEY_KP_3, LSHIFT(Key_Keypad3)) /* XKB_KEY_KP_3 */ \
196+
OP(XKB_KEY_KP_4, LSHIFT(Key_Keypad4)) /* XKB_KEY_KP_4 */ \
197+
OP(XKB_KEY_KP_5, LSHIFT(Key_Keypad5)) /* XKB_KEY_KP_5 */ \
198+
OP(XKB_KEY_KP_6, LSHIFT(Key_Keypad6)) /* XKB_KEY_KP_6 */ \
199+
OP(XKB_KEY_KP_7, LSHIFT(Key_Keypad7)) /* XKB_KEY_KP_7 */ \
200+
OP(XKB_KEY_KP_8, LSHIFT(Key_Keypad8)) /* XKB_KEY_KP_8 */ \
201+
OP(XKB_KEY_KP_9, LSHIFT(Key_Keypad9)) /* XKB_KEY_KP_9 */ \
202+
OP(XKB_KEY_KP_Add, Key_KeypadAdd) /* XKB_KEY_KP_Add */ \
203+
OP(XKB_KEY_KP_Begin, Key_Keypad5) /* XKB_KEY_KP_Begin */ \
204+
OP(XKB_KEY_KP_Decimal, LSHIFT(Key_KeypadDot)) /* XKB_KEY_KP_Decimal */ \
205+
OP(XKB_KEY_KP_Delete, Key_KeypadDot) /* XKB_KEY_KP_Delete */ \
206+
OP(XKB_KEY_KP_Divide, Key_KeypadDivide) /* XKB_KEY_KP_Divide */ \
207+
OP(XKB_KEY_KP_Down, Key_Keypad2) /* XKB_KEY_KP_Down */ \
208+
OP(XKB_KEY_KP_End, Key_Keypad1) /* XKB_KEY_KP_End */ \
209+
OP(XKB_KEY_KP_Enter, Key_KeypadEnter) /* XKB_KEY_KP_Enter, Enter */ \
210+
OP(XKB_KEY_KP_Home, Key_Keypad7) /* XKB_KEY_KP_Home */ \
211+
OP(XKB_KEY_KP_Insert, Key_Keypad0) /* XKB_KEY_KP_Insert */ \
212+
OP(XKB_KEY_KP_Left, Key_Keypad4) /* XKB_KEY_KP_Left */ \
213+
OP(XKB_KEY_KP_Multiply, Key_KeypadMultiply) /* XKB_KEY_KP_Multiply */ \
214+
OP(XKB_KEY_KP_Next, Key_Keypad3) /* XKB_KEY_KP_Next */ \
215+
OP(XKB_KEY_KP_Prior, Key_Keypad9) /* XKB_KEY_KP_Prior */ \
216+
OP(XKB_KEY_KP_Right, Key_Keypad6) /* XKB_KEY_KP_Right */ \
217+
OP(XKB_KEY_KP_Subtract, Key_KeypadSubtract) /* XKB_KEY_KP_Subtract */ \
218+
OP(XKB_KEY_KP_Up, Key_Keypad8) /* XKB_KEY_KP_Up */ \
219+
OP(XKB_KEY_Left, Key_LeftArrow) /* XKB_KEY_Left, Move left, left arrow */ \
220+
OP(XKB_KEY_Menu, Key_PcApplication) /* XKB_KEY_Menu */ \
221+
OP(XKB_KEY_Meta_L, LSHIFT(Key_LeftAlt)) /* XKB_KEY_Meta_L, Left meta */ \
222+
OP(XKB_KEY_Next, Key_PageDown) /* XKB_KEY_Next, Next */ \
223+
OP(XKB_KEY_Num_Lock, Key_KeypadNumLock) /* XKB_KEY_Num_Lock */ \
224+
OP(XKB_KEY_Pause, Key_Pause) /* XKB_KEY_Pause, Pause, hold */ \
225+
OP(XKB_KEY_Print, Key_PrintScreen) /* XKB_KEY_Print */ \
226+
OP(XKB_KEY_Prior, Key_PageUp) /* XKB_KEY_Prior, Prior, previous */ \
227+
OP(XKB_KEY_Return, Key_Enter) /* XKB_KEY_Return, Return, enter */ \
228+
OP(XKB_KEY_Right, Key_RightArrow) /* XKB_KEY_Right, Move right, right arrow */ \
229+
OP(XKB_KEY_Scroll_Lock, Key_ScrollLock) /* XKB_KEY_Scroll_Lock */ \
230+
OP(XKB_KEY_Shift_L, Key_LeftShift) /* XKB_KEY_Shift_L, Left shift */ \
231+
OP(XKB_KEY_Shift_R, Key_RightShift) /* XKB_KEY_Shift_R, Right shift */ \
232+
OP(XKB_KEY_Super_L, Key_LeftGui) /* XKB_KEY_Super_L, Left super */ \
233+
OP(XKB_KEY_Super_R, Key_RightGui) /* XKB_KEY_Super_R, Right super */ \
234+
OP(XKB_KEY_Sys_Req, LALT(Key_PrintScreen)) /* XKB_KEY_Sys_Req */ \
235+
OP(XKB_KEY_Tab, Key_Tab) /* XKB_KEY_Tab */ \
236+
OP(XKB_KEY_Up, Key_UpArrow) /* XKB_KEY_Up, Move up, up arrow */ \
237+
OP(XKB_KEY_XF86ClearGrab, LCTRL(LALT(Key_KeypadMultiply))) /* XKB_KEY_XF86ClearGrab, kill application with grab */ \
238+
OP(XKB_KEY_XF86Next_VMode, LCTRL(LALT(Key_KeypadAdd))) /* XKB_KEY_XF86Next_VMode, next video mode available */ \
239+
OP(XKB_KEY_XF86Prev_VMode, LCTRL(LALT(Key_KeypadSubtract))) /* XKB_KEY_XF86Prev_VMode, prev. video mode available */ \
240+
OP(XKB_KEY_XF86Switch_VT_1, LCTRL(LALT(Key_F1))) /* XKB_KEY_XF86Switch_VT_1 */ \
241+
OP(XKB_KEY_XF86Switch_VT_10, LCTRL(LALT(Key_F10))) /* XKB_KEY_XF86Switch_VT_10 */ \
242+
OP(XKB_KEY_XF86Switch_VT_11, LCTRL(LALT(Key_F11))) /* XKB_KEY_XF86Switch_VT_11 */ \
243+
OP(XKB_KEY_XF86Switch_VT_12, LCTRL(LALT(Key_F12))) /* XKB_KEY_XF86Switch_VT_12 */ \
244+
OP(XKB_KEY_XF86Switch_VT_2, LCTRL(LALT(Key_F2))) /* XKB_KEY_XF86Switch_VT_2 */ \
245+
OP(XKB_KEY_XF86Switch_VT_3, LCTRL(LALT(Key_F3))) /* XKB_KEY_XF86Switch_VT_3 */ \
246+
OP(XKB_KEY_XF86Switch_VT_4, LCTRL(LALT(Key_F4))) /* XKB_KEY_XF86Switch_VT_4 */ \
247+
OP(XKB_KEY_XF86Switch_VT_5, LCTRL(LALT(Key_F5))) /* XKB_KEY_XF86Switch_VT_5 */ \
248+
OP(XKB_KEY_XF86Switch_VT_6, LCTRL(LALT(Key_F6))) /* XKB_KEY_XF86Switch_VT_6 */ \
249+
OP(XKB_KEY_XF86Switch_VT_7, LCTRL(LALT(Key_F7))) /* XKB_KEY_XF86Switch_VT_7 */ \
250+
OP(XKB_KEY_XF86Switch_VT_8, LCTRL(LALT(Key_F8))) /* XKB_KEY_XF86Switch_VT_8 */ \
251+
OP(XKB_KEY_XF86Switch_VT_9, LCTRL(LALT(Key_F9))) /* XKB_KEY_XF86Switch_VT_9 */ \
252+
OP(XKB_KEY_XF86Ungrab, LCTRL(LALT(Key_KeypadDivide))) /* XKB_KEY_XF86Ungrab, force ungrab */ \
253+
OP(XKB_KEY_apostrophe, Key_K) /* XKB_KEY_quoteright, deprecated */ \
254+
OP(XKB_KEY_asciitilde, Key_T) \
255+
OP(XKB_KEY_asterisk, Key_P) \
256+
OP(XKB_KEY_backslash, LSHIFT(Key_Slash)) \
257+
OP(XKB_KEY_bar, Key_M) \
258+
OP(XKB_KEY_bracketleft, Key_Semicolon) \
259+
OP(XKB_KEY_bracketright, Key_Quote) \
260+
OP(XKB_KEY_brokenbar, RALT(LSHIFT(Key_NonUsBackslashAndPipe))) \
261+
OP(XKB_KEY_colon, LSHIFT(Key_Period)) \
262+
OP(XKB_KEY_comma, Key_Comma) \
263+
OP(XKB_KEY_diaeresis, Key_1) \
264+
OP(XKB_KEY_division, LSHIFT(Key_Equals)) \
265+
OP(XKB_KEY_equal, Key_5) \
266+
OP(XKB_KEY_exclam, RALT(Key_Minus)) \
267+
OP(XKB_KEY_greater, Key_7) \
268+
OP(XKB_KEY_less, Key_3) \
269+
OP(XKB_KEY_macron, Key_2) \
270+
OP(XKB_KEY_minus, LSHIFT(Key_Minus)) \
271+
OP(XKB_KEY_multiply, Key_Equals) \
272+
OP(XKB_KEY_parenleft, LSHIFT(Key_Semicolon)) \
273+
OP(XKB_KEY_parenright, LSHIFT(Key_Quote)) \
274+
OP(XKB_KEY_period, Key_Period) \
275+
OP(XKB_KEY_plus, Key_Minus) \
276+
OP(XKB_KEY_question, Key_Q) \
277+
OP(XKB_KEY_semicolon, LSHIFT(Key_Comma)) \
278+
OP(XKB_KEY_slash, Key_Slash) \
279+
OP(XKB_KEY_space, Key_Spacebar) \
280+
OP(XKB_KEY_underscore, Key_F) \
281+
282+
283+
namespace kaleidoscope {
284+
namespace host_keymap {
285+
namespace linux {
286+
namespace apl {
287+
namespace apl2 {
288+
289+
HOST_KEYMAP_LINUX(
290+
_HOST_KEYMAP_ASCII,
291+
_HOST_KEYMAP_UNICODE,
292+
_HOST_KEYMAP_NON_PRINTABLE
293+
)
294+
295+
} // namespace apl2
296+
} // namespace apl
297+
} // namespace linux
298+
} // namespace host_keymap
299+
} // namespace kaleidoscope
300+
301+
#undef _HOST_KEYMAP_ASCII
302+
#undef _HOST_KEYMAP_UNICODE
303+
#undef _HOST_KEYMAP_NON_PRINTABLE
304+

0 commit comments

Comments
 (0)