diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-15 05:49:19 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-15 05:49:19 +0000 |
commit | f85a53a31b00190ad726f509ad275079fc6eb994 (patch) | |
tree | 63e7020319026cab9cc6e1e49a11f13a024462a8 /Demos/Device/ClassDriver/Joystick/Joystick.c | |
parent | da138684e428a40f7f5a0c32617e5c62c9e3a664 (diff) | |
download | lufa-f85a53a31b00190ad726f509ad275079fc6eb994.tar.gz lufa-f85a53a31b00190ad726f509ad275079fc6eb994.tar.bz2 lufa-f85a53a31b00190ad726f509ad275079fc6eb994.zip |
Fix HID class device driver -- if a SetIDle request is issued with the LSB of wValue set to zero, the idle period must be set for all HID interfaces.
Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman).
Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor.
Diffstat (limited to 'Demos/Device/ClassDriver/Joystick/Joystick.c')
0 files changed, 0 insertions, 0 deletions