László Monda
599b78a676
Don't expose UpdateUsbReports() anymore.
2017-11-03 03:20:08 +01:00
László Monda
e0868ac866
Rename CurrentKeyStates to KeyStates and move it to the newly created key_states.[ch]
2017-11-03 02:46:34 +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
04047eb128
Make modules send their features (key count and whether they have pointer input) to the master upon enumeration.
2017-09-30 00:08:28 +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
fc0fc4a3f4
Start to implement the fully asynchronous bridge protocol scheduler and use it to transfer key and LED state.
2017-02-03 01:37:25 +01:00
László Monda
9ef9e5f734
Drive the LED_PWM line of the left half via TPM which doesn't work yet for some reason. Add protocol command for setting the LED_PWM brightness of the left half. Expose UpdateUsbReports()
2017-01-13 21:43:47 +01:00
László Monda
2457f3b0e0
Add CurrentKeyStates and PreviousKeyStates globals and use them across the whole codebase.
2017-01-03 01:09:00 +01:00
László Monda
3942d089de
Rename keyMatrix to KeyMatrix because it's a global.
2017-01-02 23:11:24 +01:00
László Monda
47c7863026
Move keyMatrix to main.c and only initialize it once in main()
2017-01-02 22:55:23 +01:00
László Monda
b280fde8a5
Extract LED driver related functions to led_driver.[ch]
2016-09-26 20:28:12 +02:00
László Monda
11401a6448
Make less use of linked files and folders for better long-term maintainability by moving the source files under the newly created src directory and only linking that directory to the workspace.
2016-09-26 08:45:59 +02:00