Commit Graph

13 Commits

Author SHA1 Message Date
09043919de Add rotary encoder support, simplify AddMuxButton interface. 2021-11-07 22:49:14 +00:00
fbd786fe96 Fix compile-time errors, which necessitated some refactoring of the interface. 2021-11-02 23:17:25 +00:00
5c2a2736dc Clean up examples directory. 2021-11-02 19:55:35 +00:00
bcfd67b50d Fix behavior when using pull-up resistors. 2021-11-01 22:19:05 +00:00
3fd595c7c2 Rename variables for clarity, fix enumeration bug. 2021-11-01 22:09:11 +00:00
6a692687f5 Add BUTTON_LATCHED_MOMENTARY type, to allow a pushbutton to mimic the behavior of a toggle switch. 2021-11-01 15:24:05 -04:00
9234060532 Add comments to example code. 2015-11-14 20:00:41 -05:00
2c12a848d0 Add Bounce2 header to examples. Due to an annoying quirk with Arduino, we only include library headers directly referenced by the sketch, so dependencies have to be listed explicitly. 2015-11-13 00:53:06 -05:00
d0038eba44 Move examples into subdirectories so they can be compiled and uploaded by Arduino as-is. 2015-11-13 00:51:55 -05:00
d8fdb45ded Fix code in complex example. 2015-11-12 20:33:25 -05:00
97056ddee6 Add a slightly more complex example that uses every button type. 2015-11-12 00:31:09 -05:00
f2d7f48d43 Add an equivalent example using the new Joystick API. Also add pin initializing code to Joystick::AddButton() 2015-11-06 12:07:37 -05:00
0cdaf634a7 Add example sketch. 2015-11-04 22:16:07 -05:00