ReactOS 0.4.16-dev-306-g647d351
t1keys.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS IMM32
3 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4 * PURPOSE: Defining internal codes (T1K_...) of IME Soft Keyboard Type T1
5 * COPYRIGHT: Copyright 2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6 */
7
8/* DEFINE_T1K(t1k_code, virtual_key_code, t1k_code_name, virtual_key_name, is_special) */
9DEFINE_T1K( 0, 0xC0, T1K_BACKTICK, VK_OEM_3, FALSE)
10DEFINE_T1K( 1, 0x31, T1K_1, VK_1, FALSE)
11DEFINE_T1K( 2, 0x32, T1K_2, VK_2, FALSE)
12DEFINE_T1K( 3, 0x33, T1K_3, VK_3, FALSE)
13DEFINE_T1K( 4, 0x34, T1K_4, VK_4, FALSE)
14DEFINE_T1K( 5, 0x35, T1K_5, VK_5, FALSE)
15DEFINE_T1K( 6, 0x36, T1K_6, VK_6, FALSE)
16DEFINE_T1K( 7, 0x37, T1K_7, VK_7, FALSE)
17DEFINE_T1K( 8, 0x38, T1K_8, VK_8, FALSE)
18DEFINE_T1K( 9, 0x39, T1K_9, VK_9, FALSE)
19DEFINE_T1K(10, 0x30, T1K_0, VK_0, FALSE)
20DEFINE_T1K(11, 0xBD, T1K_MINUS, VK_OEM_MINUS, FALSE)
21DEFINE_T1K(12, 0xBB, T1K_PLUS, VK_OEM_PLUS, FALSE)
22DEFINE_T1K(13, 0xDC, T1K_OEM_5, VK_OEM_5, FALSE)
23DEFINE_T1K(14, 0x51, T1K_Q, VK_Q, FALSE)
24DEFINE_T1K(15, 0x57, T1K_W, VK_W, FALSE)
25DEFINE_T1K(16, 0x45, T1K_E, VK_E, FALSE)
26DEFINE_T1K(17, 0x52, T1K_R, VK_R, FALSE)
27DEFINE_T1K(18, 0x54, T1K_T, VK_T, FALSE)
28DEFINE_T1K(19, 0x59, T1K_Y, VK_Y, FALSE)
29DEFINE_T1K(20, 0x55, T1K_U, VK_U, FALSE)
30DEFINE_T1K(21, 0x49, T1K_I, VK_I, FALSE)
31DEFINE_T1K(22, 0x4F, T1K_O, VK_O, FALSE)
32DEFINE_T1K(23, 0x50, T1K_P, VK_P, FALSE)
33DEFINE_T1K(24, 0xDB, T1K_OEM_4, VK_OEM_4, FALSE)
34DEFINE_T1K(25, 0xDD, T1K_OEM_6, VK_OEM_6, FALSE)
35DEFINE_T1K(26, 0x41, T1K_A, VK_A, FALSE)
36DEFINE_T1K(27, 0x53, T1K_S, VK_S, FALSE)
37DEFINE_T1K(28, 0x44, T1K_D, VK_D, FALSE)
38DEFINE_T1K(29, 0x46, T1K_F, VK_F, FALSE)
39DEFINE_T1K(30, 0x47, T1K_G, VK_G, FALSE)
40DEFINE_T1K(31, 0x48, T1K_H, VK_H, FALSE)
41DEFINE_T1K(32, 0x4A, T1K_J, VK_J, FALSE)
42DEFINE_T1K(33, 0x4B, T1K_K, VK_K, FALSE)
43DEFINE_T1K(34, 0x4C, T1K_L, VK_L, FALSE)
44DEFINE_T1K(35, 0xBA, T1K_OEM_1, VK_OEM_1, FALSE)
45DEFINE_T1K(36, 0xDE, T1K_OEM_7, VK_OEM_7, FALSE)
46DEFINE_T1K(37, 0x5A, T1K_Z, VK_Z, FALSE)
47DEFINE_T1K(38, 0x58, T1K_X, VK_X, FALSE)
48DEFINE_T1K(39, 0x43, T1K_C, VK_C, FALSE)
49DEFINE_T1K(40, 0x56, T1K_V, VK_V, FALSE)
50DEFINE_T1K(41, 0x42, T1K_B, VK_B, FALSE)
51DEFINE_T1K(42, 0x4E, T1K_N, VK_N, FALSE)
52DEFINE_T1K(43, 0x4D, T1K_M, VK_M, FALSE)
53DEFINE_T1K(44, 0xBC, T1K_OEM_COMMA, VK_OEM_COMMA, FALSE)
54DEFINE_T1K(45, 0xBE, T1K_OEM_PERIOD, VK_OEM_PERIOD, FALSE)
55DEFINE_T1K(46, 0xBF, T1K_OEM_2, VK_OEM_2, FALSE)
56DEFINE_T1K(47, 0x08, T1K_BACKSPACE, VK_BACK, TRUE)
57DEFINE_T1K(48, 0x09, T1K_TAB, VK_TAB, TRUE)
58DEFINE_T1K(49, 0x14, T1K_CAPS, VK_CAPITAL, TRUE)
59DEFINE_T1K(50, 0x0D, T1K_ENTER, VK_RETURN, TRUE)
60DEFINE_T1K(51, 0x10, T1K_L_SHIFT, VK_SHIFT, TRUE)
61DEFINE_T1K(52, 0x10, T1K_R_SHIFT, VK_SHIFT, TRUE)
62DEFINE_T1K(53, 0x11, T1K_L_CTRL, VK_CONTROL, TRUE)
63DEFINE_T1K(54, 0x11, T1K_R_CTRL, VK_CONTROL, TRUE)
64DEFINE_T1K(55, 0x12, T1K_L_ALT, VK_MENU, TRUE)
65DEFINE_T1K(56, 0x12, T1K_R_ALT, VK_MENU, TRUE)
66DEFINE_T1K(57, 0x1B, T1K_ESCAPE, VK_ESCAPE, TRUE)
67DEFINE_T1K(58, 0x20, T1K_SPACE, VK_SPACE, TRUE)
68DEFINE_T1K(59, 0x00, T1K_NONE, 0, TRUE)
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define VK_A
Definition: accelerator.c:11
#define DEFINE_T1K(t1k_code, virtual_key_code, t1k_code_name, virtual_key_name, is_special)
Definition: softkbd.c:126
#define VK_C
Definition: winhello.c:30
#define VK_OEM_5
Definition: winuser.h:2321
#define VK_TAB
Definition: winuser.h:2202
#define VK_OEM_7
Definition: winuser.h:2323
#define VK_SPACE
Definition: winuser.h:2222
#define VK_CAPITAL
Definition: winuser.h:2209
#define VK_OEM_4
Definition: winuser.h:2320
#define VK_CONTROL
Definition: winuser.h:2206
#define VK_RETURN
Definition: winuser.h:2204
#define VK_OEM_6
Definition: winuser.h:2322
#define VK_OEM_2
Definition: winuser.h:2318
#define VK_BACK
Definition: winuser.h:2201
#define VK_OEM_1
Definition: winuser.h:2311
#define VK_SHIFT
Definition: winuser.h:2205
#define VK_ESCAPE
Definition: winuser.h:2217
#define VK_OEM_3
Definition: winuser.h:2319
#define VK_MENU
Definition: winuser.h:2207