2 * Copyright (c) 2011-2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #ifndef __VOICE_CONTROL_KEY_DEFINES_H__
19 #define __VOICE_CONTROL_KEY_DEFINES_H__
23 * @addtogroup VOICE_CONTROL_KEY_DEFINES
35 #define VC_MODIFIER_NONE 0x00000000
36 #define VC_MODIFIER_CTRL 0x01000000
37 #define VC_MODIFIER_ALT 0x00100000
38 #define VC_MODIFIER_SHIFT 0x00010000
43 #define VC_KEY_NONE 0x00000000
45 #define VC_KEY_NUMBER_BASE 0x00001000
46 #define VC_KEY_0 VC_KEY_NUMBER_BASE | 0x00
47 #define VC_KEY_1 VC_KEY_NUMBER_BASE | 0x01
48 #define VC_KEY_2 VC_KEY_NUMBER_BASE | 0x02
49 #define VC_KEY_3 VC_KEY_NUMBER_BASE | 0x03
50 #define VC_KEY_4 VC_KEY_NUMBER_BASE | 0x04
51 #define VC_KEY_5 VC_KEY_NUMBER_BASE | 0x05
52 #define VC_KEY_6 VC_KEY_NUMBER_BASE | 0x06
53 #define VC_KEY_7 VC_KEY_NUMBER_BASE | 0x07
54 #define VC_KEY_8 VC_KEY_NUMBER_BASE | 0x08
55 #define VC_KEY_9 VC_KEY_NUMBER_BASE | 0x09
58 #define VC_KEY_FUNCTION_BASE 0x00002000
59 #define VC_KEY_F1 VC_KEY_FUNCTION_BASE | 0x01
60 #define VC_KEY_F2 VC_KEY_FUNCTION_BASE | 0x02
61 #define VC_KEY_F3 VC_KEY_FUNCTION_BASE | 0x03
62 #define VC_KEY_F4 VC_KEY_FUNCTION_BASE | 0x04
63 #define VC_KEY_F5 VC_KEY_FUNCTION_BASE | 0x05
64 #define VC_KEY_F6 VC_KEY_FUNCTION_BASE | 0x06
65 #define VC_KEY_F7 VC_KEY_FUNCTION_BASE | 0x07
66 #define VC_KEY_F8 VC_KEY_FUNCTION_BASE | 0x08
67 #define VC_KEY_F9 VC_KEY_FUNCTION_BASE | 0x09
68 #define VC_KEY_F10 VC_KEY_FUNCTION_BASE | 0x10
69 #define VC_KEY_F11 VC_KEY_FUNCTION_BASE | 0x11
70 #define VC_KEY_F12 VC_KEY_FUNCTION_BASE | 0x12
72 #define VC_KEY_UP VC_KEY_FUNCTION_BASE | 0x40
73 #define VC_KEY_DOWN VC_KEY_FUNCTION_BASE | 0x41
74 #define VC_KEY_RIGHT VC_KEY_FUNCTION_BASE | 0x42
75 #define VC_KEY_LEFT VC_KEY_FUNCTION_BASE | 0x43
76 #define VC_KEY_INSERT VC_KEY_FUNCTION_BASE | 0x44
77 #define VC_KEY_HOME VC_KEY_FUNCTION_BASE | 0x45
78 #define VC_KEY_END VC_KEY_FUNCTION_BASE | 0x46
79 #define VC_KEY_PAGE_UP VC_KEY_FUNCTION_BASE | 0x47
80 #define VC_KEY_PAGE_DOWN VC_KEY_FUNCTION_BASE | 0x48
83 #define VC_KEY_ALPHABET_BASE 0x00003000
84 #define VC_KEY_A VC_KEY_ALPHABET_BASE | 0x01
85 #define VC_KEY_B VC_KEY_ALPHABET_BASE | 0x02
86 #define VC_KEY_C VC_KEY_ALPHABET_BASE | 0x03
87 #define VC_KEY_D VC_KEY_ALPHABET_BASE | 0x04
88 #define VC_KEY_E VC_KEY_ALPHABET_BASE | 0x05
89 #define VC_KEY_F VC_KEY_ALPHABET_BASE | 0x06
90 #define VC_KEY_G VC_KEY_ALPHABET_BASE | 0x07
91 #define VC_KEY_H VC_KEY_ALPHABET_BASE | 0x08
92 #define VC_KEY_I VC_KEY_ALPHABET_BASE | 0x09
93 #define VC_KEY_J VC_KEY_ALPHABET_BASE | 0x10
94 #define VC_KEY_K VC_KEY_ALPHABET_BASE | 0x11
95 #define VC_KEY_L VC_KEY_ALPHABET_BASE | 0x12
96 #define VC_KEY_M VC_KEY_ALPHABET_BASE | 0x13
97 #define VC_KEY_N VC_KEY_ALPHABET_BASE | 0x14
98 #define VC_KEY_O VC_KEY_ALPHABET_BASE | 0x15
99 #define VC_KEY_P VC_KEY_ALPHABET_BASE | 0x16
100 #define VC_KEY_Q VC_KEY_ALPHABET_BASE | 0x17
101 #define VC_KEY_R VC_KEY_ALPHABET_BASE | 0x18
102 #define VC_KEY_S VC_KEY_ALPHABET_BASE | 0x19
103 #define VC_KEY_T VC_KEY_ALPHABET_BASE | 0x20
104 #define VC_KEY_U VC_KEY_ALPHABET_BASE | 0x21
105 #define VC_KEY_V VC_KEY_ALPHABET_BASE | 0x22
106 #define VC_KEY_W VC_KEY_ALPHABET_BASE | 0x23
107 #define VC_KEY_X VC_KEY_ALPHABET_BASE | 0x24
108 #define VC_KEY_Y VC_KEY_ALPHABET_BASE | 0x25
109 #define VC_KEY_Z VC_KEY_ALPHABET_BASE | 0x26
112 #define VC_KEY_SYMBOL_BASE 0x00004000
113 #define VC_KEY_COLON VC_KEY_SYMBOL_BASE | 0x01
114 #define VC_KEY_SEMICOLON VC_KEY_SYMBOL_BASE | 0x02
115 #define VC_KEY_LESS VC_KEY_SYMBOL_BASE | 0x03
116 #define VC_KEY_EQUAL VC_KEY_SYMBOL_BASE | 0x04
117 #define VC_KEY_GREATER VC_KEY_SYMBOL_BASE | 0x05
118 #define VC_KEY_QUESTION VC_KEY_SYMBOL_BASE | 0x06
119 #define VC_KEY_AT VC_KEY_SYMBOL_BASE | 0x07
130 #endif /* __VOICE_CONTROL_KEY_DEFINES_H__ */