Commit Graph

11 Commits

Author SHA1 Message Date
aef35f96a0 Add the ability to use a custom delay time for button presses. 2021-12-22 22:07:57 +00:00
70d7bdd3b2 Tick threshold should be a reflection of the actual change in the encoder's value. 2021-12-21 04:58:17 +00:00
82927519ce Fix off-by-one error. 2021-12-21 04:30:20 +00:00
145e383bc5 Add some logic to the encoder to only register a button press after a certain number of inputs. 2021-12-21 04:16:07 +00:00
4c5b51f7b8 Fix pulsed buttons and remove unnecessary delay from matrix buttons. 2021-11-24 16:39:00 +00:00
690afdbce5 Rework example code, fix bugs and get to compiling state. Also introduce missing logic for the Matrix code to keep track of what column is active. 2021-11-22 20:10:08 +00:00
8ebc1a5523 Factor pin-reading logic into a new set of classes. 2021-11-22 19:12:44 +00:00
1a4916fd0e For pulsed buttons, implement per-button 'timers' that independently end the pulse instead of having a 250ms delay between every single update... 2021-11-13 22:48:12 +00:00
e8a1235a95 Add analog_only option, though this is a stub for now. 2021-11-13 05:56:21 +00:00
e09c21edf1 Add some additionally debugging, fix the 'ole broken switch statement. 2021-11-09 06:11:36 +00:00
a69c2d3364 Refactor code substantially, moving buttons into separate classes and using a lot more pointers to conserve memory until it is needed. 2021-11-08 01:37:30 +00:00