Lightweight USB stack
1.0
hid_usage_simulation.h
1
/* This file is the part of the Lightweight USB device Stack for STM32 microcontrollers
2
*
3
* Copyright ©2016 Dmitry Filimonchuk <dmitrystu[at]gmail[dot]com>
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
* http://www.apache.org/licenses/LICENSE-2.0
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
#ifndef _USB_HID_USAGE_SIMUL_H_
17
#define _USB_HID_USAHE_SUMUL_H_
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
30
#define HID_PAGE_SIMULATION 0x02
31
#define HID_SIMUL_SPORTS 0x08
35
#define HID_SIMUL_FLIGHT 0x01
36
#define HID_SIMUL_SPACESHIP 0x04
37
#define HID_SIMUL_AIRPLANE 0x09
38
#define HID_SIMUL_HELICOPTER 0x0A
39
#define HID_SIMUL_ALIERON 0xB0
40
#define HID_SIMUL_ALIERIN_TRIM 0xB1
41
#define HID_SIMUL_ANTI_TORQUE 0xB2
42
#define HID_SIMUL_AUTOPILOT_ENABLE 0xB3
43
#define HID_SIMUL_CHAFF_RELEASE 0xB4
44
#define HID_SIMUL_COLLECTIVE_CONTROL 0xB5
45
#define HID_SIMUL_CYCLIC_CONTROL 0x22
46
#define HID_SIMUL_CYCLIC_TRIM 0x23
47
#define HID_SIMUL_DRIVE_BRAKE 0xB6
48
#define HID_SIMUL_ELECTR_COUNTERMEAS 0xB7
49
#define HID_SIMUL_ELEVATOR 0xB8
50
#define HID_SIMUL_ELEVATOR_TRIM 0xB9
51
#define HID_SIMUL_FLIGHT_COMM 0xBC
52
#define HID_SIMUL_FLARE_RELEASE 0xBD
53
#define HID_SIMUL_FLIGHT_CONTROL_STICK 0x20
54
#define HID_SIMUL_FLIGHT_STICK 0x21
55
#define HID_SIMUL_LANDING_GEAR 0xBE
56
#define HID_SIMUL_RUDDER 0xBA
57
#define HID_SIMUL_TOE_BRAKE 0xBF
58
#define HID_SIMUL_THROTTLE 0xBB
59
#define HID_SIMUL_TRIGGER 0xC0
60
#define HID_SIMUL_WEAPONS_ARM 0xC1
61
#define HID_SIMUL_WEAPONS_SELECT 0xC2
62
#define HID_SIMUL_WING_FLAPS 0xC3
63
#define HID_SIMUL_FLIGHT_YOKE 0x24
68
#define HID_SIMUL_AUTOMOBILE 0x02
69
#define HID_SIMUL_ACCELERATOR 0xC4
70
#define HID_SIMUL_BRAKE 0xC5
71
#define HID_SIMUL_CLUTCH 0xC6
72
#define HID_SIMUL_SHIFTER 0xC7
73
#define HID_SIMUL_STEERING 0xC8
78
#define HID_SIMUL_TANK 0x03
79
#define HID_SIMUL_TRACK_CONTROL 0x25
80
#define HID_SIMUL_TURRET_DIRECTION 0xC9
81
#define HID_SIMUL_BARREL_ELEVATION 0xCA
86
#define HID_SIMUL_SUBMARINE 0x05
87
#define HID_SIMUL_SAILING 0x06
88
#define HID_SIMUL_DIVE_PLANE 0xCB
89
#define HID_SIMUL_BALLAST 0xCC
94
#define HID_SIMUL_MOTOCYCLE 0x07
95
#define HID_SIMUL_BICYCLE 0x0C
96
#define HID_SIMUL_BICYCLE_CRANK 0xCD
97
#define HID_SIMUL_HANDLE_BARS 0xCE
98
#define HID_SIMUL_FRONT_BRAKE 0xCF
99
#define HID_SIMUL_REAR_BRAKE 0xD0
104
#define HID_SIMUL_MAGIC_CARPET 0x0B
108
#ifdef __cplusplus
109
}
110
#endif
111
112
#endif
113
inc
hid_usage_simulation.h
Generated by
1.8.13