Tighten up the code in the delta movement detection code in the MouseHostWithParser...
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 9 Aug 2010 12:04:52 +0000 (12:04 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 9 Aug 2010 12:04:52 +0000 (12:04 +0000)
commiteb060db71b629d72107e67a5057bf70f7d53307d
treeba8722f487a1da31044cdf06caab6def812f6530
parent508e905d8d39c3968927aa2c1a45350f49452df1
Tighten up the code in the delta movement detection code in the MouseHostWithParser and JoystickHostWithParser demos. Make the ClassDriver JoystickHostWithParser demo use the HID_ALIGN_DATA() macro instead of manual shifting and casting.
Demos/Host/ClassDriver/JoystickHostWithParser/JoystickHostWithParser.c
Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c
Demos/Host/LowLevel/JoystickHostWithParser/JoystickHostWithParser.c
Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c