László Monda
|
a988afe1ea
|
Use USB_DEVICE_CONFIG_HID as a single source of truth and replace USB_COMPOSITE_INTERFACE_COUNT with it.
|
2016-03-03 23:55:58 +01:00 |
|
László Monda
|
df63abeb3a
|
Ditch USB_*_SUBCLASS and USB_*_PROTOCOL macros in favor of the standard USB_HID_SUBCLASS_* USB_HID_PROTOCOL_* macros.
|
2016-03-03 22:02:28 +01:00 |
|
László Monda
|
55e5643bf0
|
Replace USB_*_HID_CLASS with USB_CLASS_HID
|
2016-03-03 21:17:11 +01:00 |
|
László Monda
|
7b04084f46
|
Rename USB_*_ENDPOINT_ID to USB_*_ENDPOINT_INDEX
|
2016-03-03 21:08:08 +01:00 |
|
László Monda
|
09e0a739e3
|
Use USB_INTERFACE_ALTERNATE_SETTING_NONE wherever possible.
|
2016-03-03 21:01:14 +01:00 |
|
László Monda
|
f7755b2520
|
Rename usb_report_item_macros.h to usb_api.h, include the whole USB API into it, and include it from every file where it's needed.
|
2016-03-03 19:18:21 +01:00 |
|
László Monda
|
55c063c69a
|
Don't use the U number notation and macro parentheses unless necessary.
|
2016-03-03 18:27:39 +01:00 |
|
László Monda
|
fa1afbbb9b
|
Make the names of guard macros reflect the filenames they're in.
|
2016-03-03 16:14:55 +01:00 |
|
László Monda
|
9ef0c484ba
|
Make Generic HID the first interface because further interfaces may be added in the future and this way its index will be fixed and well defined.
|
2016-03-03 11:12:24 +01:00 |
|
László Monda
|
39f286ce39
|
Remove redundant struct identifiers.
|
2016-03-03 10:53:42 +01:00 |
|
László Monda
|
fc8c0682d6
|
Extract main() to the newly created main.c
|
2016-03-03 10:49:01 +01:00 |
|
László Monda
|
66b8d72c70
|
Merge usb_class_*.[ch] into usb_interface_*.[ch] respectively.
|
2016-03-03 01:07:07 +01:00 |
|
László Monda
|
d3741b13dc
|
Get rid of usb_device_hid_mouse_struct_t in favor of usb_mouse_report_t which now functions properly because of using __attribute__ ((packed))
|
2016-03-02 17:05:51 +01:00 |
|
László Monda
|
286c16c627
|
Remove unused idleRate members.
|
2016-03-02 16:16:17 +01:00 |
|
László Monda
|
c7a762ae67
|
Add a mouse report descriptor that have wheel usages.
|
2016-03-02 00:28:15 +01:00 |
|
László Monda
|
ba1aee598d
|
Restructure the codebase across more files.
|
2016-02-29 20:44:53 +01:00 |
|