zmk/app/drivers
Joel Spadin b276a3bfb0 refactor(kscan): batch GPIO reads by port
Changed the GPIO matrix and direct GPIO key scan drivers to do a single
read per port instead of one read per pin. This is much more efficient
for some types of GPIO drivers, such as I2C GPIO expanders.

To accomplish this with minimal overhead, we now sort input pins by port
at driver init. if we iterate through the pins in the sorted order, all
pins on the same port are consecutive, so we only need to read each port
once the first time we see it.
2023-05-28 23:33:34 -06:00
..
display refactor: Replace tabs with spaces 2023-04-24 16:07:04 -07:00
gpio refactor: Replace tabs with spaces 2023-04-24 16:07:04 -07:00
kscan refactor(kscan): batch GPIO reads by port 2023-05-28 23:33:34 -06:00
sensor refactor: Replace tabs with spaces 2023-04-24 16:07:04 -07:00
zephyr refactor: Add more checks to pre-commit 2023-04-24 16:07:04 -07:00
CMakeLists.txt fix(drivers): Avoid build failures for GPIO driver 2022-06-05 17:57:35 -04:00
Kconfig feat(drivers): Add mcp23017 driver based on upstream mcp23s17 one. 2021-09-14 20:48:28 -04:00