Commit Graph

12 Commits

Author SHA1 Message Date
Eric Tang
d722b3d173 Make debounce times configurable on the fly 2018-07-05 14:41:19 -07:00
László Monda
5c84620704 Call KeyMatrix_ScanRow() from an LPTMR interrupt for the left half. Remove KeyMatrix_Scan() 2017-11-14 02:29:18 +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
14225a9ba9 Implement disabling keyboard matrix scanning for the left keyboard half, too. 2017-04-30 03:39:27 +02:00
László Monda
fef5deea4a Handle disable key matrix scan test action for the right keyboard half. 2017-04-29 21:15:04 +02:00
László Monda
e69b2720d1 Remove the OLD_MATRIX clause of the keyboard matrix code, thereby obsoleting the reverse diode UHK prototype. 2017-03-18 01:42:07 +01:00
László Monda
05359dc320 Add back the code of the old KeyMatrix functions via ifdefs. 2016-10-20 20:54:14 +02:00
László Monda
a08bdbf124 Reverse the diodes and optimize key scanning as much as possible. 2016-10-20 19:29:36 +02:00
László Monda
2dd260e84b Fix and use KeyMatrix_Scan() 2016-10-11 21:56:24 +02:00
László Monda
fbfb744fa4 Reduce the number of false positive keystroke registrations by setting output logic right... Hopefully. 2016-10-10 23:26:55 +02:00
László Monda
c8284fcd6f Add KeyMatrix_Scan() although don't use it yet. Send every detected scancode to the host of which there are false positives for some reason. 2016-10-10 22:39:22 +02:00
László Monda
5588aecb78 Extract KeyMatrix_Init() and create related typedefs. 2016-10-10 17:33:11 +02:00