László Monda
729e0be0ad
Make scrolling utilize mouse_kinetic_state_t, just like mouse movements. Fix scrolling issue by making distance float. Add new debug functions for ints and float.
2017-11-28 02:01:26 +01:00
László Monda
00dfd96d55
Instead of scanning the keyboard matrix from the main loop and utilizing busy loops, try to use a PIT interrupt handler to do the same thing, scanning one row per interrupt call without busy loops.
...
For some reason, this makes the movement of the mouse pointer very slow and makes it jump from time to time, so I ended up adding INTERRUPT_KEY_SCANNER and disabling the timer interrupt.
Also double bufferred the mouse report just like the others. Unfortunately this does not affect this issue.
2017-11-02 01:11:41 +01: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
4295793fb9
Add ATTR_* macros in the newly created attributes.h and use them wherever possible for improved readability.
2017-10-04 22:26:48 +02:00
László Monda
4666b24c69
Change UsbMouseReport back to extern that I screwed up in ecf1ad2468
2017-09-28 14:13:24 +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
c7f101b67f
Extract USB_*_INTERFACE_COUNT macros to usb_interface_*.h files and make usb_device_config.h use them along with USB_*_ENDPOINT_COUNT macros.
2017-03-05 23:45:41 +01:00
László Monda
5055fa6e77
Remove the usb_desciptors include path and include the full path of these files.
2017-02-26 03:05:15 +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