Add another HID interface using the consumer HID class for media keys. Resolves #32.

This commit is contained in:
László Monda
2017-03-03 20:21:05 +01:00
parent 1aae668ed5
commit c887b5e309
24 changed files with 604 additions and 344 deletions

View File

@@ -15,8 +15,9 @@
typedef struct {
usb_device_handle deviceHandle;
class_handle_t mouseHandle;
class_handle_t keyboardHandle;
class_handle_t basicKeyboardHandle;
class_handle_t genericHidHandle;
class_handle_t mediaKeyboardHandle;
uint8_t attach;
uint8_t currentConfiguration;
uint8_t currentInterfaceAlternateSetting[USB_DEVICE_CONFIG_HID];