1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCESSIBLEKEYSTROKE_H
21 #define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCESSIBLEKEYSTROKE_H
23 struct ACCESSIBLE_KEYSTROKE
{
30 const short MODIFIER_SHIFT
= 1;
31 const short MODIFIER_CTRL
= 2;
32 const short MODIFIER_ALT
= 4;
34 const short KEYCODE_NUM0
= 256;
35 const short KEYCODE_NUM1
= 257;
36 const short KEYCODE_NUM2
= 258;
37 const short KEYCODE_NUM3
= 259;
38 const short KEYCODE_NUM4
= 260;
39 const short KEYCODE_NUM5
= 261;
40 const short KEYCODE_NUM6
= 262;
41 const short KEYCODE_NUM7
= 263;
42 const short KEYCODE_NUM8
= 264;
43 const short KEYCODE_NUM9
= 265;
44 const short KEYCODE_A
= 512;
45 const short KEYCODE_B
= 513;
46 const short KEYCODE_C
= 514;
47 const short KEYCODE_D
= 515;
48 const short KEYCODE_E
= 516;
49 const short KEYCODE_F
= 517;
50 const short KEYCODE_G
= 518;
51 const short KEYCODE_H
= 519;
52 const short KEYCODE_I
= 520;
53 const short KEYCODE_J
= 521;
54 const short KEYCODE_K
= 522;
55 const short KEYCODE_L
= 523;
56 const short KEYCODE_M
= 524;
57 const short KEYCODE_N
= 525;
58 const short KEYCODE_O
= 526;
59 const short KEYCODE_P
= 527;
60 const short KEYCODE_Q
= 528;
61 const short KEYCODE_R
= 529;
62 const short KEYCODE_S
= 530;
63 const short KEYCODE_T
= 531;
64 const short KEYCODE_U
= 532;
65 const short KEYCODE_V
= 533;
66 const short KEYCODE_W
= 534;
67 const short KEYCODE_X
= 535;
68 const short KEYCODE_Y
= 536;
69 const short KEYCODE_Z
= 537;
70 const short KEYCODE_F1
= 768;
71 const short KEYCODE_F2
= 769;
72 const short KEYCODE_F3
= 770;
73 const short KEYCODE_F4
= 771;
74 const short KEYCODE_F5
= 772;
75 const short KEYCODE_F6
= 773;
76 const short KEYCODE_F7
= 774;
77 const short KEYCODE_F8
= 775;
78 const short KEYCODE_F9
= 776;
79 const short KEYCODE_F10
= 777;
80 const short KEYCODE_F11
= 778;
81 const short KEYCODE_F12
= 779;
82 const short KEYCODE_F13
= 780;
83 const short KEYCODE_F14
= 781;
84 const short KEYCODE_F15
= 782;
85 const short KEYCODE_F16
= 783;
86 const short KEYCODE_F17
= 784;
87 const short KEYCODE_F18
= 785;
88 const short KEYCODE_F19
= 786;
89 const short KEYCODE_F20
= 787;
90 const short KEYCODE_F21
= 788;
91 const short KEYCODE_F22
= 789;
92 const short KEYCODE_F23
= 790;
93 const short KEYCODE_F24
= 791;
94 const short KEYCODE_F25
= 792;
95 const short KEYCODE_F26
= 793;
96 const short KEYCODE_DOWN
= 1024;
97 const short KEYCODE_UP
= 1025;
98 const short KEYCODE_LEFT
= 1026;
99 const short KEYCODE_RIGHT
= 1027;
100 const short KEYCODE_HOME
= 1028;
101 const short KEYCODE_END
= 1029;
102 const short KEYCODE_PAGEUP
= 1030;
103 const short KEYCODE_PAGEDOWN
= 1031;
104 const short KEYCODE_RETURN
= 1280;
105 const short KEYCODE_ESCAPE
= 1281;
106 const short KEYCODE_TAB
= 1282;
107 const short KEYCODE_BACKSPACE
= 1283;
108 const short KEYCODE_SPACE
= 1284;
109 const short KEYCODE_INSERT
= 1285;
110 const short KEYCODE_DELETE
= 1286;
111 const short KEYCODE_ADD
= 1287;
112 const short KEYCODE_SUBTRACT
= 1288;
113 const short KEYCODE_MULTIPLY
= 1289;
114 const short KEYCODE_DIVIDE
= 1290;
115 const short KEYCODE_POINT
= 1291;
116 const short KEYCODE_COMMA
= 1292;
117 const short KEYCODE_LESS
= 1293;
118 const short KEYCODE_GREATER
= 1294;
119 const short KEYCODE_EQUAL
= 1295;
120 const short KEYCODE_OPEN
= 1296;
121 const short KEYCODE_CUT
= 1297;
122 const short KEYCODE_COPY
= 1298;
123 const short KEYCODE_PASTE
= 1299;
124 const short KEYCODE_UNDO
= 1300;
125 const short KEYCODE_REPEAT
= 1301;
126 const short KEYCODE_FIND
= 1302;
127 const short KEYCODE_PROPERTIES
= 1303;
128 const short KEYCODE_FRONT
= 1304;
129 const short KEYCODE_CONTEXTMENU
= 1305;
130 const short KEYCODE_HELP
= 1306;
132 const short SHORTCUT_DONTKNOW
= 0;
134 const short OPEN
= 2;
135 const short SAVE
= 3;
136 const short SAVEAS
= 4;
137 const short PRINT
= 5;
138 const short CLOSE
= 6;
139 const short QUIT
= 7;
141 const short COPY
= 9;
142 const short PASTE
= 10;
143 const short UNDO
= 11;
144 const short REDO
= 12;
145 const short UNODELETE
= 13;
146 const short REPEAT
= 14;
147 const short FIND
= 15;
148 const short FINDBACKWARD
= 16;
149 const short PROPERTIES
= 17;
150 const short FRONT
= 18;
152 #endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCESSIBLEKEYSTROKE_H
154 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */