Apollo 10.0
自动驾驶开放平台
keycode.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2019 The Apollo Authors. All Rights Reserved.
3 *
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
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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.
15 *****************************************************************************/
16#pragma once
17
18namespace apollo {
19namespace perception {
20
21enum KeyCode {
22 // Arabic numbers
23 KEY_0 = 48,
24 KEY_1 = 49,
25 KEY_2 = 50,
26 KEY_3 = 51,
27 KEY_4 = 52,
28 KEY_5 = 53,
29 KEY_6 = 54,
30 KEY_7 = 55,
31 KEY_8 = 56,
32 KEY_9 = 57,
33
34 // Alphabet upper case
61
62 // Alphabet lower case
89
90 // Arrows
91 KEY_LEFT = 65361,
92 KEY_UP = 65362,
93 KEY_RIGHT = 65363,
94 KEY_DOWN = 65364,
97
98 // Combination with Shift and Control keys
99 KEY_CTRL_S = 262259,
100 KEY_ALT_C = 524387,
101
102 // Num Lock is on
103 // Arrows
110
111 // Combination with Shift and Control keys
114}; // enum KeyCode
115} // namespace perception
116} // namespace apollo
@ KEY_SHIFT_RIGHT_NUM_LOCK_ON
Definition keycode.h:109
class register implement
Definition arena_queue.h:37