Root/
Source at commit 1166 created 13 years 10 days ago. By meklort, Fixed recent Makefile changes. Please do not use /Users/evan/SourceCode/tmp/chameleon/trunk or VPATH. the *only* time you should use /Users/evan/SourceCode/tmp/chameleon/trunk is when setting the SRCROOT variable. Also note that very soon make pkg is going to be removed. The pkg build script in trunk is very out of date. Instead please use the package maker at http://forge.voodooprojects.org/p/chameleonApplications/. Once this is ready for trunk it will be merged. | |
---|---|
1 | /*␊ |
2 | ␉File:␉␉IOBluetoothHIDDriverTypes.h␊ |
3 | ␉Contains:␉Type defined for the IOBluetoothHIDDriver.h.␊ |
4 | ␉Copyright:␉(c) 2001-2008 by Apple, all rights reserved.␊ |
5 | */␊ |
6 | ␊ |
7 | ␊ |
8 | #ifndef IOBLUETOOTHHIDDRIVERTYPES_H␊ |
9 | #define IOBLUETOOTHHIDDRIVERTYPES_H␊ |
10 | ␊ |
11 | // Vendor ID Sources␊ |
12 | //------------------␊ |
13 | #define kVendorIDSourceBluetoothSIG␉␉␉␉0x1␊ |
14 | #define kVendorIDSourceUSBIF␉␉␉␉␉0x2␊ |
15 | ␊ |
16 | // Bluetooth HID Transaction Headers␊ |
17 | //----------------------------------␊ |
18 | #define IOBTHID_HANDSHAKE_HEADER␉␉␉␉0x00␊ |
19 | #define IOBTHID_HID_CONTROL_HEADER␉␉␉␉0x10␊ |
20 | #define IOBTHID_GET_REPORT_HEADER␉␉␉␉0x40␊ |
21 | #define IOBTHID_SET_REPORT_HEADER␉␉␉␉0x50␊ |
22 | #define IOBTHID_GET_PROTOCOL_HEADER␉␉␉␉0x60␊ |
23 | #define IOBTHID_SET_PROTOCOL_HEADER␉␉␉␉0x70␊ |
24 | #define IOBTHID_GET_IDLE_HEADER␉␉␉␉␉0x80␊ |
25 | #define IOBTHID_SET_IDLE_HEADER␉␉␉␉␉0x90␊ |
26 | #define IOBTHID_DATA_HEADER␉␉␉␉␉␉0xA0␊ |
27 | #define IOBTHID_DATC_HEADER␉␉␉␉␉␉0xB0␊ |
28 | ␊ |
29 | // Handshake Types␊ |
30 | //----------------␊ |
31 | #define IOBTHID_HANDSHAKE_SUCCESSFUL␉␉␉0x0␊ |
32 | #define IOBTHID_HANDSHAKE_NOT_READY␉␉␉␉0x1␊ |
33 | #define IOBTHID_HANDSHAKE_INVALID_REPORT_ID␉␉0x2␊ |
34 | #define IOBTHID_HANDSHAKE_UNSUPPORTED_REQUEST␉0x3␊ |
35 | #define IOBTHID_HANDSHAKE_INVALID_PARAMETER␉␉0x4␊ |
36 | #define IOBTHID_HANDSHAKE_ERR_UNKNOWN␉␉␉0xE␊ |
37 | #define IOBTHID_HANDSHAKE_ERR_FATAL␉␉␉␉0xF␊ |
38 | ␊ |
39 | // HID_Control Types␊ |
40 | //------------------␊ |
41 | #define IOBTHID_CONTROL_NOP␉␉␉␉␉␉0x0␊ |
42 | #define IOBTHID_CONTROL_HARD_RESET␉␉␉␉0x1␊ |
43 | #define IOBTHID_CONTROL_SOFT_RESET␉␉␉␉0x2␊ |
44 | #define IOBTHID_CONTROL_SUSPEND␉␉␉␉␉0x3␊ |
45 | #define IOBTHID_CONTROL_EXIT_SUSPEND␉␉␉0x4␊ |
46 | #define IOBTHID_CONTROL_VC_UNPLUG␉␉␉␉0x5␊ |
47 | ␊ |
48 | // Protocol Types␊ |
49 | //---------------␊ |
50 | #define IOBTHID_BOOT_PROTOCOL␉␉␉␉␉0x0␊ |
51 | #define IOBTHID_REPORT_PROTOCOL␉␉␉␉␉0x1␊ |
52 | ␊ |
53 | // Report Types␊ |
54 | //-------------␊ |
55 | #define IOBTHID_RESERVED_REPORT␉␉␉␉␉0x0␊ |
56 | #define IOBTHID_OTHER_REPORT␉␉␉␉␉0x0␊ |
57 | #define IOBTHID_INPUT_REPORT␉␉␉␉␉0x1␊ |
58 | #define IOBTHID_OUTPUT_REPORT␉␉␉␉␉0x2␊ |
59 | #define IOBTHID_FEATURE_REPORT␉␉␉␉␉0x3␊ |
60 | ␊ |
61 | #endif // IOBLUETOOTHHIDDRIVERTYPES_H␊ |
62 |