Commit Graph

15 Commits

Author SHA1 Message Date
Kristian Sloth Lauszus
33bbf44199 Fix system keyboard descriptor, so it is byte-aligned (#93)
I have verified that the descriptor shows up correctly on Windows 7 and macOS

The descriptor is based on the two following pages: https://github.com/Microsoft/Windows-driver-samples/tree/master/hid/hidusbfx2 and https://docs.microsoft.com/en-us/windows-hardware/drivers/gpiobtn/hid-button-report-descriptors

Fixes #76
2018-02-14 00:27:53 +01:00
Kristian Sloth Lauszus
fa8c9dc907 Logical maximum is wrongly assumed to be an unsigned integer, thus 0xFF is interpreted as -1 and not 255 (#92)
Simply setting the number of bits to 16 solves this
2018-02-12 04:51:59 +01:00
László Monda
55e4997ea2 Make the system keyboard descriptor play nicely with OSX. 2017-10-26 18:22:37 +02:00
László Monda
6bdd320ed8 Reorder USB interfaces all across the codebase in the following order: generic HID, basic keyboard, media keyboard, system keyboard, mouse. 2017-10-26 00:52:20 +02:00
László Monda
0b120a3286 Fix generic HID descriptor enumeration error by making UsbGenericHidReportDescriptor extern. 2017-10-13 22:49:09 +02:00
László Monda
ecf1ad2468 Don't use the extern keyword for functions because it's redundant. 2017-09-28 02:37:55 +02:00
László Monda
28bf0cdeef Set final USB VID and PID. 2017-05-23 23:13:34 +02:00
László Monda
cde26680a8 Reindent the section comments of the configuration descriptor to resemble the style of other descriptors. 2017-03-07 23:16:04 +01:00
László Monda
15388640c8 Better organize and name HID macros. 2017-03-07 22:11:18 +01:00
László Monda
264c5b671b Refactor the system keyboard report descriptor using LUFA macros. 2017-03-07 21:50:00 +01:00
László Monda
36cca6c287 Refactor media keyboard report descriptor using LUFA macros. 2017-03-07 19:11:26 +01:00
László Monda
62a3f6b3a4 Add system keyboard interface and add sleep, power and wake keys. 2017-03-06 01:58:02 +01:00
László Monda
c887b5e309 Add another HID interface using the consumer HID class for media keys. Resolves #32. 2017-03-03 20:21:05 +01:00
László Monda
6f6d116351 Move usb_interface_*.[ch] files to the newly created usb_interfaces directory. 2017-02-26 02:45:43 +01:00
László Monda
9e3d512e89 Put the files that contain the usb descriptors into the newly created usb_descriptors directory. 2016-09-26 18:54:16 +02:00