Commit Graph

128 Commits

Author SHA1 Message Date
László Monda
c56f2d13f6 Create README.md 2016-03-04 15:12:50 +01:00
László Monda
c10f3ad1e9 Create README.md 2016-03-04 14:41:53 +01:00
László Monda
c45db1984d Update README.md 2016-03-04 14:32:22 +01:00
László Monda
59c0b97bdf Create README.md 2016-03-04 14:31:06 +01:00
László Monda
c03423ca20 Create README.md 2016-03-04 14:20:41 +01:00
László Monda
c7d94a6334 Create README.md 2016-03-04 14:12:39 +01:00
László Monda
eecd34f1f4 Create README.md 2016-03-04 14:10:19 +01:00
László Monda
1b1337b702 Update submodule. 2016-03-04 13:58:28 +01:00
László Monda
7223eaed8c Wrap lines. 2016-03-04 13:51:55 +01:00
László Monda
77f6621267 Create README.md 2016-03-04 13:42:56 +01:00
László Monda
3865429a0e Move USB constants to usb_api.h 2016-03-04 01:18:59 +01:00
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
22e36dc030 Set USB_DEVICE_CONFIG_ENDPOINTS to 5 instead of 6 because it's just enough. 2016-03-03 22:50:14 +01:00
László Monda
029df6f7c1 Use standard one-liner comments instead of the Doxygen syntax. 2016-03-03 22:10:00 +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
a4989349ec Extract general HID descriptor related functions to descriptor_hid.[ch] 2016-03-03 18:43:22 +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
09f25e6139 Feature HID descriptors within the configuration descriptor in the same order as HID interface indexes dictate. 2016-03-03 17:42:54 +01:00
László Monda
d1ac7ba892 Deduplicate macros. 2016-03-03 16:56:11 +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
951fcbfe79 Make the armgcc build work. 2016-03-03 11:41:25 +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
73518d8222 Use the correct handles for generic HID. 2016-03-03 10:58:26 +01:00
László Monda
5bcf07b1a6 Rename type. 2016-03-03 10:56:52 +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
2c15f1d8c3 Rename composite.[ch] to usb_composite_device.[ch] 2016-03-03 10:36:03 +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
b3867fe6de Remove usb_device_generic_hid_struct_t in favor of a local buffer and buffer index variable. 2016-03-02 20:26:06 +01:00
László Monda
d6d15ec884 Remove scancodes.h and rather use LUFA's scancode macros. 2016-03-02 20:10:06 +01:00
László Monda
93ff0f24e5 Replace usb_device_hid_keyboard_struct_t with usb_keyboard_report_t 2016-03-02 19:48:01 +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
ee484d6b47 Feature the name of the relevant usage pages in usage names. 2016-03-02 16:11:30 +01:00
László Monda
9140b68bd4 Add comments to the sections of USB HID report descriptors. 2016-03-02 15:51:18 +01:00
László Monda
22119e8134 Hardcore mouse coordinate report size to 16 bits because this way it surely won't be out of sync with the mouse report structure. 2016-03-02 11:47:08 +01:00
László Monda
8acff8aaf7 Extract USB_MOUSE_REPORT_DESCRIPTOR_BUTTONS_PADDING 2016-03-02 11:45:05 +01:00
László Monda
85a3680fdc Remove the old mouse HID report descriptor. 2016-03-02 11:38:04 +01:00
László Monda
8a537e67e6 Clean up the horizontal wheel section of the mouse HID report descriptor. 2016-03-02 11:37:09 +01:00
László Monda
a555570e1a Clean up the padding section of the mouse HID report descriptor. 2016-03-02 11:21:40 +01:00
László Monda
1ce881b260 Clean up the horizontal wheel resolution multiplier section of the mouse HID report descriptor. 2016-03-02 11:15:47 +01:00
László Monda
10fe8f9bdf Clean up the vertical wheel section of the mouse HID report descriptor. 2016-03-02 11:11:53 +01:00
László Monda
2346fbb765 Clean up the vertical wheel resolution multiplier section of the mouse HID report descriptor. 2016-03-02 11:03:32 +01:00
László Monda
d3f5bc2ed4 Further clean up the mouse report descriptor and add related macros. 2016-03-02 10:56:24 +01:00
László Monda
7fbf119bb2 Partially clean up the mouse report descriptor. 2016-03-02 10:30:31 +01:00
László Monda
f4b36fab51 Make mouse scrolling work. 2016-03-02 01:00:22 +01:00