Tipro API
Communicate with Tipro devices
HidUsageTables.h
1 // HidUsageTables.h :
3 // UsageTables from Hut1_12.pdf
4 //
5 /*
6 00 Undefined
7 01 Generic Desktop Controls 4
8 02 Simulation Controls 5
9 03 VR Controls 0
10 04 Sport Controls 7
11 05 Game Controls 8
12 06 Generic Device Controls 9
13 07 Keyboard/Keypad 10
14 08 LEDs 11
15 09 Button 12
16 0A Ordinal 13
17 0B Telephony 14
18 0C Consumer 15
19 0D Digitizer 16
20 0E Reserved
21 0F PID Page USB Physical Interface Device
22 definitions for force feedback
23 and related devices.
24 10 Unicode 17
25 11-13 Reserved
26 14 Alphanumeric Display 18
27 15-3f Reserved
28 40 Medical Instruments 19
29 41-7F Reserved
30 80-83 Monitor pages USB Device Class Definition for
31 Monitor Devices
32 84-87 Power pages USB Device Class Definition for
33 Power Devices
34 88-8B Reserved
35 8C Bar Code Scanner page
36 8D Scale page
37 8E Magnetic Stripe Reading (MSR)
38 Devices
39 8F Reserved Point of Sale pages
40 USB Device Class Definition for
41 Point of Sale Devices
42 90 Camera Control Page USB Device Class Definition
43 */
44 
45 // Usage Pages
46 #define UP_GenericDesktopControls 0x01
47 #define UP_SimulationControls 0x02
48 #define UP_VRControls 0x03
49 #define UP_SportControls 0x04
50 #define UP_GameControls 0x05
51 #define UP_GenericDeviceControls 0x06
52 #define UP_Keyboard_Keypad 0x07
53 #define UP_LEDs 0x08
54 #define UP_Button 0x09
55 #define UP_Ordinal 0x0A
56 #define UP_Telephony 0x0B
57 #define UP_Consumer 0x0C
58 
59 // Tipro Usage Pages
60 #define UP_VENDOR_DEFINED_TIPRO_01 0xFF01
61 
62 // Usages
63 
64 #define USAGE_UP_GenericDesktopControls_Pointer 0x01
65 #define USAGE_UP_GenericDesktopControls_Mouse 0x02
66 #define USAGE_UP_GenericDesktopControls_Joystick 0x04
67 #define USAGE_UP_GenericDesktopControls_GamePad 0x05
68 #define USAGE_UP_GenericDesktopControls_Keyboard 0x06
69 #define USAGE_UP_GenericDesktopControls_Keypad 0x07
70 
71 #define USAGE_UP_Telephony_Phone 0x01
72 #define USAGE_UP_Telephony_AnsweringMachine 0x02
73 #define USAGE_UP_Telephony_MessageControls 0x03
74 #define USAGE_UP_Telephony_Handset 0x04
75 #define USAGE_UP_Telephony_Headset 0x05