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 |
|
László Monda
|
c7a762ae67
|
Add a mouse report descriptor that have wheel usages.
|
2016-03-02 00:28:15 +01:00 |
|
László Monda
|
28e61ee96c
|
Make the usage page data of the generic HID report descriptor 1 byte long.
|
2016-03-01 20:41:55 +01:00 |
|
László Monda
|
c94a08f8ca
|
Use the LUFA generic HID descriptor.
|
2016-03-01 20:29:29 +01:00 |
|
László Monda
|
ab2cb911d4
|
Use LUFA's keyboard report descriptor.
|
2016-03-01 18:28:06 +01:00 |
|
László Monda
|
a72d95dad1
|
Add additional report item constants and use them.
|
2016-03-01 01:11:56 +01:00 |
|
László Monda
|
e7d12634f4
|
Add a bit of LUFA in order for its report item macros to be used.
|
2016-03-01 00:34:11 +01:00 |
|
László Monda
|
ba1aee598d
|
Restructure the codebase across more files.
|
2016-02-29 20:44:53 +01:00 |
|
László Monda
|
3ddd75db3a
|
Add generic HID related files for the armgcc build.
|
2016-02-29 17:09:13 +01:00 |
|
László Monda
|
c65b13a010
|
Clean up UsbGenericHidCallback()
|
2016-02-29 17:01:46 +01:00 |
|
László Monda
|
d41020f861
|
Don't set alternate setting because there is none.
|
2016-02-29 16:54:58 +01:00 |
|
László Monda
|
50d64d4fe3
|
Fix interface index.
|
2016-02-29 16:06:30 +01:00 |
|
László Monda
|
ce056ed2ca
|
Extract UsbReceiveData()
|
2016-02-29 16:00:00 +01:00 |
|
László Monda
|
9585c2c8cb
|
Don't check the value of alternateSetting because it's always 0.
|
2016-02-29 15:52:26 +01:00 |
|
László Monda
|
44234f15ca
|
Rename Usb*SetConfigure() to Usb*SetConfiguration()
|
2016-02-29 15:43:37 +01:00 |
|
László Monda
|
933acd4361
|
Wrap the lines of the definitions of USB_COMPOSITE_INTERFACE_COUNT
|
2016-02-29 15:42:02 +01:00 |
|
László Monda
|
60ced5a6d7
|
Remove the prototype declaration of Usb{Keyboard,Mouse}Init() because these functions have been removed.
|
2016-02-29 15:37:35 +01:00 |
|
László Monda
|
f62a96778f
|
Remove HID interface related string descriptors.
|
2016-02-29 15:35:59 +01:00 |
|
László Monda
|
0247fe17b1
|
Remove usb_device_composite_struct_t.speed because it's unused.
|
2016-02-29 15:27:34 +01:00 |
|
László Monda
|
3f7bad3c19
|
Move LED initialization code to pin_mux.c
|
2016-02-29 15:25:47 +01:00 |
|
László Monda
|
5d73388fd8
|
Set up set configuration and set interface callbacks for the generic HID interface.
|
2016-02-29 00:38:03 +01:00 |
|
László Monda
|
ad15e39e30
|
Add generic HID interface.
|
2016-02-28 23:16:50 +01:00 |
|
László Monda
|
d429980975
|
Use BOARD_SW[23]_GPIO{_PIN} macros wherever possible.
|
2016-02-27 12:51:38 +01:00 |
|
László Monda
|
00c9659c16
|
Make SW2 move the mouse pointer downwards.
|
2016-02-27 12:44:38 +01:00 |
|
László Monda
|
b3984c050b
|
Make SW3 send the scancode of 'A' to the host.
|
2016-02-27 12:33:04 +01:00 |
|
László Monda
|
f4c778be30
|
Rename parameter.
|
2016-02-26 11:31:44 +01:00 |
|
László Monda
|
43c6230930
|
Remove all the cruft from USB_DeviceApplicationInit()
|
2016-02-26 11:27:34 +01:00 |
|
László Monda
|
af46f730a4
|
Remove Usb{Keyboard,Mouse}Init()
|
2016-02-26 11:18:07 +01:00 |
|
László Monda
|
1ffb45795a
|
Move USB_{KEYBOARD,MOUSE}_REPORT_LENGTH to hid_{keyboard,mouse}.h
|
2016-02-26 10:18:39 +01:00 |
|
László Monda
|
40bd3f82ac
|
Extract scan codes to dedicated file.
|
2016-02-26 09:51:18 +01:00 |
|
László Monda
|
65412b86fb
|
Rename some string descriptor related macros.
|
2016-02-26 09:45:18 +01:00 |
|
László Monda
|
40bef157b1
|
Reaname and rearrange a couple of descriptor related macros.
|
2016-02-26 09:39:28 +01:00 |
|
László Monda
|
4cc0f862b0
|
Remove util.[ch] because USB_SHORT_GET_{LOW,HIGH} can be used in place of GET_[LM]SB_OF_WORD()
|
2016-02-25 22:49:08 +01:00 |
|
László Monda
|
ec187193b6
|
Create macros for the magic numbers of the configuration descriptor. Remove the now redundant comments.
|
2016-02-25 21:17:52 +01:00 |
|