ReactOS 0.4.16-dev-306-g647d351
c1keys.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 (C1K_...) of IME Soft Keyboard Type C1
5 * COPYRIGHT: Copyright 2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6 */
7
8/* DEFINE_C1K(c1k_code, virtual_key_code, c1k_code_name, virtual_key_name, is_special) */
9DEFINE_C1K( 0, 0xC0, C1K_OEM_3, VK_OEM_3, FALSE)
10DEFINE_C1K( 1, 0x31, C1K_1, VK_1, FALSE)
11DEFINE_C1K( 2, 0x32, C1K_2, VK_2, FALSE)
12DEFINE_C1K( 3, 0x33, C1K_3, VK_3, FALSE)
13DEFINE_C1K( 4, 0x34, C1K_4, VK_4, FALSE)
14DEFINE_C1K( 5, 0x35, C1K_5, VK_5, FALSE)
15DEFINE_C1K( 6, 0x36, C1K_6, VK_6, FALSE)
16DEFINE_C1K( 7, 0x37, C1K_7, VK_7, FALSE)
17DEFINE_C1K( 8, 0x38, C1K_8, VK_8, FALSE)
18DEFINE_C1K( 9, 0x39, C1K_9, VK_9, FALSE)
19DEFINE_C1K(10, 0x30, C1K_0, VK_0, FALSE)
20DEFINE_C1K(11, 0xBD, C1K_OEM_MINUS, VK_OEM_MINUS, FALSE)
21DEFINE_C1K(12, 0xBB, C1K_OEM_PLUS, VK_OEM_PLUS, FALSE)
22DEFINE_C1K(13, 0x51, C1K_Q, VK_Q, FALSE)
23DEFINE_C1K(14, 0x57, C1K_W, VK_W, FALSE)
24DEFINE_C1K(15, 0x45, C1K_E, VK_E, FALSE)
25DEFINE_C1K(16, 0x52, C1K_R, VK_R, FALSE)
26DEFINE_C1K(17, 0x54, C1K_T, VK_T, FALSE)
27DEFINE_C1K(18, 0x59, C1K_Y, VK_Y, FALSE)
28DEFINE_C1K(19, 0x55, C1K_U, VK_U, FALSE)
29DEFINE_C1K(20, 0x49, C1K_I, VK_I, FALSE)
30DEFINE_C1K(21, 0x4F, C1K_O, VK_O, FALSE)
31DEFINE_C1K(22, 0x50, C1K_P, VK_P, FALSE)
32DEFINE_C1K(23, 0xDB, C1K_OEM_4, VK_OEM_4, FALSE)
33DEFINE_C1K(24, 0xDD, C1K_OEM_6, VK_OEM_6, FALSE)
34DEFINE_C1K(25, 0xDC, C1K_OEM_5, VK_OEM_5, FALSE)
35DEFINE_C1K(26, 0x41, C1K_A, VK_A, FALSE)
36DEFINE_C1K(27, 0x53, C1K_S, VK_S, FALSE)
37DEFINE_C1K(28, 0x44, C1K_D, VK_D, FALSE)
38DEFINE_C1K(29, 0x46, C1K_F, VK_F, FALSE)
39DEFINE_C1K(30, 0x47, C1K_G, VK_G, FALSE)
40DEFINE_C1K(31, 0x48, C1K_H, VK_H, FALSE)
41DEFINE_C1K(32, 0x4A, C1K_J, VK_J, FALSE)
42DEFINE_C1K(33, 0x4B, C1K_K, VK_K, FALSE)
43DEFINE_C1K(34, 0x4C, C1K_L, VK_L, FALSE)
44DEFINE_C1K(35, 0xBA, C1K_OEM_1, VK_OEM_1, FALSE)
45DEFINE_C1K(36, 0xDE, C1K_OEM_7, VK_OEM_7, FALSE)
46DEFINE_C1K(37, 0x5A, C1K_Z, VK_Z, FALSE)
47DEFINE_C1K(38, 0x58, C1K_X, VK_X, FALSE)
48DEFINE_C1K(39, 0x43, C1K_C, VK_C, FALSE)
49DEFINE_C1K(40, 0x56, C1K_V, VK_V, FALSE)
50DEFINE_C1K(41, 0x42, C1K_B, VK_B, FALSE)
51DEFINE_C1K(42, 0x4E, C1K_N, VK_N, FALSE)
52DEFINE_C1K(43, 0x4D, C1K_M, VK_M, FALSE)
53DEFINE_C1K(44, 0xBC, C1K_OEM_COMMA, VK_OEM_COMMA, FALSE)
54DEFINE_C1K(45, 0xBE, C1K_OEM_DOT, VK_OEM_PERIOD, FALSE)
55DEFINE_C1K(46, 0xBF, C1K_OEM_2, VK_OEM_2, FALSE)
56DEFINE_C1K(47, 0x08, C1K_BACKSPACE, VK_BACK, TRUE)
57DEFINE_C1K(48, 0x09, C1K_TAB, VK_TAB, TRUE)
58DEFINE_C1K(49, 0x14, C1K_CAPS, VK_CAPITAL, TRUE)
59DEFINE_C1K(50, 0x0D, C1K_ENTER, VK_RETURN, TRUE)
60DEFINE_C1K(51, 0x10, C1K_SHIFT, VK_SHIFT, TRUE)
61DEFINE_C1K(52, 0x2D, C1K_INSERT, VK_INSERT, TRUE)
62DEFINE_C1K(53, 0x2E, C1K_DELETE, VK_DELETE, TRUE)
63DEFINE_C1K(54, 0x20, C1K_SPACE, VK_SPACE, TRUE)
64DEFINE_C1K(55, 0x1B, C1K_ESCAPE, VK_ESCAPE, TRUE)
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define VK_A
Definition: accelerator.c:11
#define DEFINE_C1K(c1k_code, virtual_key_code, c1k_code_name, virtual_key_name, is_special)
Definition: softkbd.c:1138
#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_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_DELETE
Definition: winuser.h:2236
#define VK_ESCAPE
Definition: winuser.h:2217
#define VK_OEM_3
Definition: winuser.h:2319
#define VK_INSERT
Definition: winuser.h:2235