Kristian Sloth Lauszus
|
6e2eca7829
|
Changed CurrentTime to a static variable and added function for getting the current time instead
Global variables are really bad practice and should be avoided
|
2018-03-11 17:59:23 +01:00 |
|
Kristian Sloth Lauszus
|
0b100feb32
|
Global variables shared between an interrupt and the main code should be volatile
See: https://www.embedded.com/electronics-blogs/beginner-s-corner/4023801/Introduction-to-the-Volatile-Keyword
|
2018-03-11 02:37:59 +01:00 |
|
László Monda
|
2eb25ce05c
|
Make UpdateUsbReports() not exit prematurely even if a previously active USB interface is not polled anymore by the host. Tweak the Timer API to not set the current time automatically.
|
2017-12-07 03:24:53 +01:00 |
|
László Monda
|
712b87182a
|
Double timer interval that wasn't right for an unknown reason. Adjust mouse kinetic values accordingly. Reprioritize interrupts to make mouse pointer movement as smooth as possible.
|
2017-11-28 18:52:39 +01:00 |
|
László Monda
|
ae4d60882f
|
Use interrupt based keyboard matrix scanning for the right keyboard half. Get rid of INTERRUPT_KEY_SCANNER
|
2017-11-13 02:18:55 +01:00 |
|
László Monda
|
332f2a69fa
|
Set up the timer properly and introduce CurrentTime.
|
2017-11-12 17:33:23 +01:00 |
|
László Monda
|
a91f945591
|
Add timer.[ch]
|
2017-11-12 04:48:06 +01:00 |
|