László Monda
3f52819c0e
Move UsbDebugInfo into usb_command_get_debug_info.[ch] and remove external UsbDebugInfo references.
2017-11-05 19:07:12 +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
569493cbfa
Add UsbDebugInfo to aid future debugging via USB.
2017-10-28 17:12:52 +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
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
751810ec4c
Explicitly add void to the argument list of zero argument functions.
2017-09-28 03:03:11 +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
e6b5b3b3a5
Read the hardware configuration area and the user configuration area of the EEPROM into the RAM and try to apply it.
2017-09-14 09:55:29 +02:00
László Monda
237ef3c34a
Rename action.h to key_action.h
2017-06-15 19:27:44 +02:00
László Monda
cca1e49d18
Rename the misspelled peripherials directory to peripherals.
2017-04-15 01:00:55 +02: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
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
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
8b46810643
Update USB reports from the main loop instead of the callback of the USB keyboard interface.
2017-02-26 11:10:04 +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
6e415696d7
Move merge_sensor.[ch], reset_button.[ch] and test_led.[ch] into the newly created peripherials directory.
2017-02-26 02:50:21 +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