xref: /haiku/headers/os/drivers/usb/USB_hid_page_simulation.h (revision b46615c55ad2c8fe6de54412055a0713da3d610a)
1 /*
2  * Copyright 2004-2010, Haiku Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _USB_HID_PAGE_SIMULATION_H
6 #define _USB_HID_PAGE_SIMULATION_H
7 
8 
9 /* Reference:
10  *		HID Usage Page 0x02: SIMULATION
11  *		HID Usage Tables Ver. 1.12
12  *		http://www.usb.org/developers/devclass_docs/Hut1_12.pdf
13  */
14 
15 // Usage IDs
16 enum {
17 	B_HID_UID_SIM_FLIGHT_SIMULATION_DEVICE = 0x1,
18 	B_HID_UID_SIM_AUTOMOBILE_SIMULATION_DEVICE,
19 	B_HID_UID_SIM_TANK_SIMULATION_DEVICE,
20 	B_HID_UID_SIM_SPACESHIP_SIMULATION_DEVICE,
21 	B_HID_UID_SIM_SUBMARINE_SIMULATION_DEVICE,
22 	B_HID_UID_SIM_SAILING_SIMULATION_DEVICE,
23 	B_HID_UID_SIM_MOTORCYCLE_SIMULATION_DEVICE,
24 	B_HID_UID_SIM_SPORTS_SIMULATION_DEVICE,
25 	B_HID_UID_SIM_AIRPLANE_SIMULATION_DEVICE,
26 	B_HID_UID_SIM_HELICOPTER_SIMULATION_DEVICE,
27 	B_HID_UID_SIM_MAGIC_CARPET_SIMULATION_DEVICE,
28 	B_HID_UID_SIM_BICYCLE_SIMULATION_DEVICE,
29 
30 	B_HID_UID_SIM_FLIGHT_CONTROL_STICK = 0x20,
31 	B_HID_UID_SIM_FLIGHT_STICK,
32 	B_HID_UID_SIM_CYCLIC_CONTROL,
33 	B_HID_UID_SIM_CYCLIC_TRIM,
34 	B_HID_UID_SIM_FLIGHT_YOKE,
35 	B_HID_UID_SIM_TRACK_CONTROL,
36 
37 	B_HID_UID_SIM_AILERON = 0xb0,
38 	B_HID_UID_SIM_AILERON_TRIM,
39 	B_HID_UID_SIM_ANTI_TORQUE_CONTROL,
40 	B_HID_UID_SIM_AUTOPILOT_ENABLE,
41 	B_HID_UID_SIM_CHAFF_RELEASE,
42 	B_HID_UID_SIM_COLLECTIVE_CONTROL,
43 	B_HID_UID_SIM_DIVE_BREAK,
44 	B_HID_UID_SIM_ELECTRONIC_COUNTERMEASURES,
45 	B_HID_UID_SIM_ELEVATOR,
46 	B_HID_UID_SIM_ELEVATOR_TRIM,
47 	B_HID_UID_SIM_RUDDER,
48 	B_HID_UID_SIM_THROTTLE,
49 	B_HID_UID_SIM_FLIGHT_COMMUNICATIONS,
50 	B_HID_UID_SIM_FLARE_RELEASE,
51 	B_HID_UID_SIM_LANDING_GEAR,
52 	B_HID_UID_SIM_TOE_BRAKE,
53 
54 	B_HID_UID_SIM_TRIGGER = 0xc0,
55 	B_HID_UID_SIM_WEAPONS_ARM,
56 	B_HID_UID_SIM_WEAPONS_SELECT,
57 	B_HID_UID_SIM_WING_FLAPS,
58 	B_HID_UID_SIM_ACCELERATOR,
59 	B_HID_UID_SIM_BRAKE,
60 	B_HID_UID_SIM_CLUTCH,
61 	B_HID_UID_SIM_SHIFTER,
62 	B_HID_UID_SIM_STEERING,
63 	B_HID_UID_SIM_TURRET_DIRECTION,
64 	B_HID_UID_SIM_BARREL_ELEVATION,
65 	B_HID_UID_SIM_DIVE_PLANE,
66 	B_HID_UID_SIM_BALLAST,
67 	B_HID_UID_SIM_BICYCLE_CRANK,
68 	B_HID_UID_SIM_HANDLE_BARS,
69 	B_HID_UID_SIM_FRONT_BRAKE,
70 	B_HID_UID_SIM_REAR_BRAKE
71 };
72 
73 
74 #endif // _USB_HID_PAGE_SIMULATION_H
75