Commit Graph

13 Commits

Author SHA1 Message Date
Tim Crawford
9bf09e211c kbscan: Ignore key presses with ghost keys 2020-03-31 13:40:56 -06:00
Tim Crawford
ebcd545746 kbscan: Add function to read row from matrix 2020-03-31 13:40:56 -06:00
Tim Crawford
a176da0ebe kbc: Handle setting typematic rate/delay
Per [1], use a default delay of 500ms and a rate of 10.9 CPS. When the
Linux kernel starts, this will be updated by atkbd to the fastest
settings possible [2]: 250ms delay and 30 CPS.

Modifying these values with kbdrate to test settings will cause two
spurious ACKs in the kernel. This behavior is also present in the
proprietary firmware.

[1]: https://web.archive.org/web/20180217074705/http://computer-engineering.org/ps2keyboard/
[2]: c5f8689118/drivers/input/keyboard/atkbd.c (L863-L868)
2020-02-25 14:21:10 -07:00
Tim Crawford
a8f921fcab kbscan: Implement key repeat 2020-02-25 13:28:09 -07:00
Jeremy Soller
aa065f0a05 Fix double setting of low keyboard outputs 2020-02-24 09:07:02 -07:00
Tim Crawford
3014fb3a41 Wake from S3 using any key 2020-02-24 07:04:19 -07:00
Jeremy Soller
2a4255ce15 Do not hold super-p when using display mode hotkey 2020-02-12 14:25:18 -07:00
Jeremy Soller
d5f1fb0d5b Implement display switch combo 2020-02-12 14:04:44 -07:00
Jeremy Soller
aa6f838f53 Add printscreen support as a combo 2020-02-12 13:53:14 -07:00
Jeremy Soller
79a9722c90 Remove use of timer 2 2020-02-12 12:23:06 -07:00
Jeremy Soller
b3801ccf98 Debounce on release (darp5, galp3-c) 2020-02-10 15:54:32 -07:00
Jeremy Soller
933b67a841 Sync changes from galp3-c to darp5 and lemp9 2020-01-29 12:32:25 -07:00
Jeremy Soller
5d10775877 Add darp5 firmware 2020-01-15 21:02:41 -07:00