summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-07-04 15:32:57 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-07-04 15:32:57 +0000
commita4a1f2b6249f30899c8226d15d9006d878cf55b5 (patch)
tree1f9bb2fae2340ff1e2a368ddc0d03cf7939c48fe
parentb51c6e3aa307c37a12f34e92c048dc4f1ef4e223 (diff)
Add subclass field
-rw-r--r--include/hidp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hidp.h b/include/hidp.h
index 894ddd1b..21b62513 100644
--- a/include/hidp.h
+++ b/include/hidp.h
@@ -44,7 +44,8 @@ extern "C" {
#define HIDPGETCONNINFO _IOR('H', 211, int)
#define HIDP_VIRTUAL_CABLE_UNPLUG 0
-#define HIDP_BLUETOOTH_VENDOR_ID 1
+#define HIDP_BOOT_PROTOCOL_MODE 1
+#define HIDP_BLUETOOTH_VENDOR_ID 9
struct hidp_connadd_req {
int ctrl_sock; /* Connected control socket */
@@ -53,6 +54,7 @@ struct hidp_connadd_req {
uint16_t rd_size; /* Report descriptor size */
uint8_t *rd_data; /* Report descriptor data */
uint8_t country;
+ uint8_t subclass;
uint16_t vendor;
uint16_t product;
uint16_t version;