zmk/app/drivers/kscan
Sophie Tyalie 412376e8a4 kscan: Limit maximum amount of key presses to 3
When using a keyboard without diodes in the key matrix, ghosting can
become a serious issue. Quite often three keys held at the same time are
needed to produce a ghosted fourth key press when using a row, col based
keyboard matrix. In these cases it makes sense to allow only three key
presses at the same time, ignoring all of them if a fourth is pressed.

The changes made here are a simple work-of-proof how this "limit the
amount of key presses" could be done.

Note: There's no configuration options or similar to change this
behavior right now.

Signed-off-by: Sophie Tyalie <dev@flowerpot.me>
2022-11-11 15:23:30 +01:00
..
CMakeLists.txt refactor(kscan): Auto enable kscan drivers 2022-04-25 22:28:53 -04:00
debounce.c feat(kscan): Improve matrix debouncing 2021-10-26 23:52:13 -04:00
debounce.h feat(kscan): Improve matrix debouncing 2021-10-26 23:52:13 -04:00
Kconfig feature(drivers): Option for read wait on matrix. 2022-09-29 01:06:54 -04:00
kscan_composite.c refactor: Move away from deprecated PM callback. 2022-04-03 00:10:29 -04:00
kscan_gpio_demux.c refactor(kscan): Auto enable kscan drivers 2022-04-25 22:28:53 -04:00
kscan_gpio_direct.c Update kscan_gpio_get_extra_flags 2022-05-19 11:24:01 -04:00
kscan_gpio_matrix.c kscan: Limit maximum amount of key presses to 3 2022-11-11 15:23:30 +01:00
kscan_mock.c refactor: Move to k_work_delayable API. 2022-04-03 00:10:29 -04:00