5 // - Base (NO PREFIX)
\r
6 Uint32 gp101_to_HID_1[128] = {
\r
8 // First row (0x01 - 0x0e)
\r
9 KEYSYM_ESC, KEYSYM_1, KEYSYM_2, KEYSYM_3, KEYSYM_4, KEYSYM_5, KEYSYM_6,
\r
10 KEYSYM_7, KEYSYM_8, KEYSYM_9, KEYSYM_0, KEYSYM_MINUS, KEYSYM_EQUALS,
\r
12 // Second Row (0x0f - 0x1c)
\r
13 KEYSYM_TAB, KEYSYM_q, KEYSYM_w, KEYSYM_e, KEYSYM_r, KEYSYM_t, KEYSYM_y,
\r
14 KEYSYM_u, KEYSYM_i, KEYSYM_o, KEYSYM_p, KEYSYM_SQUARE_OPEN, KEYSYM_SQUARE_CLOSE,
\r
16 // Third Row (0x1d - 0x28)
\r
17 KEYSYM_LEFTCTRL, KEYSYM_a, KEYSYM_s, KEYSYM_d, KEYSYM_f, KEYSYM_g, KEYSYM_h,
\r
18 KEYSYM_j, KEYSYM_k, KEYSYM_l, KEYSYM_SEMICOLON, KEYSYM_QUOTE, // 0x1d - 0x28
\r
19 // Fourth Row (0x20 - 0x3e)
\r
20 KEYSYM_GRAVE_TILDE, KEYSYM_LEFTSHIFT, KEYSYM_BACKSLASH, KEYSYM_z, KEYSYM_x,
\r
21 KEYSYM_c, KEYSYM_v, KEYSYM_b, KEYSYM_n, KEYSYM_m, KEYSYM_COMMA, KEYSYM_PERIOD,
\r
22 KEYSYM_SLASH, KEYSYM_RIGHTSHIFT,
\r
23 // Bottom row (0x3f - 0x42)
\r
24 KEYSYM_KPSTAR, KEYSYM_LEFTALT, KEYSYM_SPACE, KEYSYM_CAPS,
\r
25 // F Keys (0x43 - 0x4d)
\r
26 KEYSYM_F1, KEYSYM_F2, KEYSYM_F3, KEYSYM_F4, KEYSYM_F5,
\r
27 KEYSYM_F6, KEYSYM_F7, KEYSYM_F8, KEYSYM_F9, KEYSYM_F10,
\r
29 KEYSYM_NUMLOCK, KEYSYM_SCROLLLOCK,
\r
30 KEYSYM_KP7, KEYSYM_KP8, KEYSYM_KP9, KEYSYM_KPMINUS,
\r
31 KEYSYM_KP4, KEYSYM_KP5, KEYSYM_KP6, KEYSYM_KPPLUS,
\r
32 KEYSYM_KP1, KEYSYM_KP2, KEYSYM_KP3,
\r
33 KEYSYM_KP0, KEYSYM_KPPERIOD,
\r
34 0, 0, 0, KEYSYM_F11, KEYSYM_F12, 0, 0, 0, 0, 0, 0, 0,
\r
35 /*60*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
\r
36 /*70*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
\r
39 Uint32 gp101_to_HID_2[128] = {
\r
40 // 0 1 2 3 4 5 6 7 8 9 A B C D E F
\r
41 /*00*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //0-F
\r
42 /*10*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, KEYSYM_KPENTER, KEYSYM_RIGHTCTRL, 0, 0,
\r
43 /*20*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1/*Fake LShift*/, 0, 0, 0, 0, 0,
\r
44 /*30*/ 0, 0, 0, 0, 0, KEYSYM_KPSLASH, 0, KEYSYM_PRINTSCREEN,
\r
45 KEYSYM_RIGHTALT, 0, 0, 0, 0, 0, 0, 0,
\r
46 /*40*/ 0, 0, 0, 0, 0, 0, 0/*Break*/, KEYSYM_HOME,
\r
47 KEYSYM_UPARROW, KEYSYM_PGUP, 0, KEYSYM_LEFTARROW, 0, KEYSYM_RIGHTARROW, 0, KEYSYM_END,
\r
48 /*50*/ KEYSYM_DOWNARROW, KEYSYM_PGDN, KEYSYM_INSERT, KEYSYM_DELETE, 0, 0, 0, 0,
\r
49 0, 0, 0, KEYSYM_LEFTGUI, KEYSYM_RIGHTGUI, KEYSYM_APPLICATION, KEYSYM_POWER/*Power*/, 0/*Sleep*/,
\r
50 /*60*/ 0,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