Jeff Epler
d7c86c0e3e
refactor keypad to share more code
...
This saves 444 bytes on the pygamer build (both commits taken together)
testing performed:
* pygamer (samd51) with ShiftRegisterKeys
* macropad (rp2040) with Keys
* UM feather s2 (esp32-s2) with KeyMatrix
Result:
* all ports still worked nicely
* keys held down at start always registered (>2 trials all boards, >100 trials esp32-s2)
* keys held down are immediately registered after reset() (>100 trials esp32-s2)
* double .reset() is OK, accessing .events throws (only tested esp32-s2)
2022-04-05 14:50:30 -05:00
..
2022-01-25 16:28:46 -08:00
2021-11-10 10:55:53 -06:00
2021-10-09 00:05:49 +02:00
2022-01-31 22:03:30 -05:00
2021-12-17 16:23:58 -05:00
2021-03-15 19:27:36 +05:30
2021-10-15 08:20:54 -05:00
2021-11-10 10:55:53 -06:00
2019-08-03 11:20:06 -05:00
2021-11-10 10:55:53 -06:00
2022-01-02 15:19:25 -06:00
2019-07-26 07:52:37 -05:00
2022-02-02 22:54:35 +11:00
2022-03-04 17:06:07 +09:00
2021-05-11 15:07:40 -07:00
2022-02-08 21:37:38 -05:00
2021-11-10 11:07:45 -06:00
2022-03-15 13:56:11 -07:00
2021-10-15 08:20:54 -05:00
2021-11-22 14:54:44 -08:00
2021-11-10 21:00:17 -06:00
2021-10-15 08:20:54 -05:00
2021-11-20 08:53:04 -05:00
2021-11-03 11:02:46 -05:00
2021-03-15 19:27:36 +05:30
2022-03-23 17:37:56 -05:00
2022-04-05 14:50:30 -05:00
2021-03-15 19:27:36 +05:30
2022-02-21 09:16:36 +11:00
2017-11-02 12:41:50 -07:00
2021-08-12 10:47:14 -07:00
2021-03-15 19:27:36 +05:30
2021-11-22 14:54:44 -08:00
2021-10-15 08:20:54 -05:00
2022-02-10 17:14:07 -08:00
2021-11-10 10:55:53 -06:00
2021-05-27 11:33:17 -05:00
2021-11-10 10:55:53 -06:00
2021-12-08 21:03:06 -06:00
2021-12-11 23:07:21 +05:30
2021-12-27 18:58:24 -05:00
2021-11-10 10:55:53 -06:00
2021-07-01 17:36:29 -04:00
2022-02-21 14:58:16 -06:00
2021-11-10 10:55:53 -06:00
2021-03-15 19:27:36 +05:30
2021-08-09 08:27:28 -05:00
2021-04-26 15:47:41 -07:00
2022-03-11 10:51:50 -08:00
2021-11-09 20:05:00 -06:00
2021-10-13 12:30:01 -04:00
2021-11-09 20:05:00 -06:00
2021-03-15 19:27:36 +05:30
2022-03-19 11:30:37 -05:00