-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkeysyms.inc
110 lines (109 loc) · 5.44 KB
/
keysyms.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
// Ordering and first param is linux's input-event-codes.h style KEY_* symbols,
// Second param is X11's keysymdef.h XK_* symbols
// Third param is imgui symbols
HUT_MAP_KEYSYM(ESC, Escape, Escape)
HUT_MAP_KEYSYM(1, 1, 1)
HUT_MAP_KEYSYM(2, 2, 2)
HUT_MAP_KEYSYM(3, 3, 3)
HUT_MAP_KEYSYM(4, 4, 4)
HUT_MAP_KEYSYM(5, 5, 5)
HUT_MAP_KEYSYM(6, 6, 6)
HUT_MAP_KEYSYM(7, 7, 7)
HUT_MAP_KEYSYM(8, 8, 8)
HUT_MAP_KEYSYM(9, 9, 9)
HUT_MAP_KEYSYM(0, 0, 0)
HUT_MAP_KEYSYM(MINUS, minus, Minus)
HUT_MAP_KEYSYM(EQUAL, equal, Equal)
HUT_MAP_KEYSYM(BACKSPACE, BackSpace, Backspace)
HUT_MAP_KEYSYM(TAB, Tab, Tab)
HUT_MAP_KEYSYM(Q, Q, Q)
HUT_MAP_KEYSYM(W, W, W)
HUT_MAP_KEYSYM(E, E, E)
HUT_MAP_KEYSYM(R, R, R)
HUT_MAP_KEYSYM(T, T, T)
HUT_MAP_KEYSYM(Y, Y, Y)
HUT_MAP_KEYSYM(U, U, U)
HUT_MAP_KEYSYM(I, I, I)
HUT_MAP_KEYSYM(O, O, O)
HUT_MAP_KEYSYM(P, P, P)
HUT_MAP_KEYSYM(LEFTBRACE, bracketleft, LeftBracket)
HUT_MAP_KEYSYM(RIGHTBRACE, bracketright, RightBracket)
HUT_MAP_KEYSYM(ENTER, Return, Enter)
HUT_MAP_KEYSYM(LEFTCTRL, Control_L, LeftCtrl)
HUT_MAP_KEYSYM(A, A, A)
HUT_MAP_KEYSYM(S, S, S)
HUT_MAP_KEYSYM(D, D, D)
HUT_MAP_KEYSYM(F, F, F)
HUT_MAP_KEYSYM(G, G, G)
HUT_MAP_KEYSYM(H, H, H)
HUT_MAP_KEYSYM(J, J, J)
HUT_MAP_KEYSYM(K, K, K)
HUT_MAP_KEYSYM(L, L, L)
HUT_MAP_KEYSYM(SEMICOLON, semicolon, Semicolon)
HUT_MAP_KEYSYM(APOSTROPHE, apostrophe, Apostrophe)
HUT_MAP_KEYSYM(GRAVE, grave, GraveAccent)
HUT_MAP_KEYSYM(LEFTSHIFT, Shift_L, LeftShift)
HUT_MAP_KEYSYM(BACKSLASH, backslash, Backslash)
HUT_MAP_KEYSYM(Z, Z, Z)
HUT_MAP_KEYSYM(X, X, X)
HUT_MAP_KEYSYM(C, C, C)
HUT_MAP_KEYSYM(V, V, V)
HUT_MAP_KEYSYM(B, B, B)
HUT_MAP_KEYSYM(N, N, N)
HUT_MAP_KEYSYM(M, M, M)
HUT_MAP_KEYSYM(COMMA, comma, Comma)
HUT_MAP_KEYSYM(DOT, period, Period)
HUT_MAP_KEYSYM(SLASH, slash, Slash)
HUT_MAP_KEYSYM(RIGHTSHIFT, Shift_R, RightShift)
HUT_MAP_KEYSYM(KPASTERISK, KP_Multiply, KeypadMultiply)
HUT_MAP_KEYSYM(LEFTALT, Alt_L, LeftAlt)
HUT_MAP_KEYSYM(SPACE, space, Space)
HUT_MAP_KEYSYM(CAPSLOCK, Caps_Lock, CapsLock)
HUT_MAP_KEYSYM(F1, F1, F1)
HUT_MAP_KEYSYM(F2, F2, F2)
HUT_MAP_KEYSYM(F3, F3, F3)
HUT_MAP_KEYSYM(F4, F4, F4)
HUT_MAP_KEYSYM(F5, F5, F5)
HUT_MAP_KEYSYM(F6, F6, F6)
HUT_MAP_KEYSYM(F7, F7, F7)
HUT_MAP_KEYSYM(F8, F8, F8)
HUT_MAP_KEYSYM(F9, F9, F9)
HUT_MAP_KEYSYM(F10, F10, F10)
HUT_MAP_KEYSYM(NUMLOCK, Num_Lock, NumLock)
HUT_MAP_KEYSYM(SCROLLLOCK, Scroll_Lock, ScrollLock)
HUT_MAP_KEYSYM(KP7, KP_7, Keypad7)
HUT_MAP_KEYSYM(KP8, KP_8, Keypad8)
HUT_MAP_KEYSYM(KP9, KP_9, Keypad9)
HUT_MAP_KEYSYM(KPMINUS, KP_Subtract, KeypadSubtract)
HUT_MAP_KEYSYM(KP4, KP_4, Keypad4)
HUT_MAP_KEYSYM(KP5, KP_5, Keypad5)
HUT_MAP_KEYSYM(KP6, KP_6, Keypad6)
HUT_MAP_KEYSYM(KPPLUS, KP_Add, KeypadAdd)
HUT_MAP_KEYSYM(KP1, KP_1, Keypad1)
HUT_MAP_KEYSYM(KP2, KP_2, Keypad2)
HUT_MAP_KEYSYM(KP3, KP_3, Keypad3)
HUT_MAP_KEYSYM(KP0, KP_0, Keypad0)
HUT_MAP_KEYSYM(KPDOT, KP_Decimal, KeypadDecimal)
HUT_MAP_KEYSYM(F11, F11, F11)
HUT_MAP_KEYSYM(F12, F12, F12)
HUT_MAP_KEYSYM(KPENTER, KP_Enter, KeypadEnter)
HUT_MAP_KEYSYM(RIGHTCTRL, Control_R, RightCtrl)
HUT_MAP_KEYSYM(KPSLASH, KP_Divide, KeypadDivide)
HUT_MAP_KEYSYM(SYSRQ, Sys_Req, SysReq)
HUT_MAP_KEYSYM(RIGHTALT, Alt_R, RightAlt)
HUT_MAP_KEYSYM(LINEFEED, Linefeed, Linefeed)
HUT_MAP_KEYSYM(HOME, Home, Home)
HUT_MAP_KEYSYM(UP, Up, UpArrow)
HUT_MAP_KEYSYM(PAGEUP, Page_Up, PageUp)
HUT_MAP_KEYSYM(LEFT, Left, LeftArrow)
HUT_MAP_KEYSYM(RIGHT, Right, RightArrow)
HUT_MAP_KEYSYM(END, End, End)
HUT_MAP_KEYSYM(DOWN, Down, DownArrow)
HUT_MAP_KEYSYM(PAGEDOWN, Page_Down, PageDown)
HUT_MAP_KEYSYM(INSERT, Insert, Insert)
HUT_MAP_KEYSYM(DELETE, Delete, Delete)
HUT_MAP_KEYSYM(KPEQUAL, KP_Equal, KeypadEqual)
HUT_MAP_KEYSYM(PAUSE, Pause, Pause)
HUT_MAP_KEYSYM(LEFTMETA, Meta_L, LeftSuper)
HUT_MAP_KEYSYM(RIGHTMETA, Meta_R, RightSuper)
// Edit KSYM_LAST_VALUE if adding any values after RIGHTMETA