|
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 |
|
|
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 |
|
|
d6e0648abf
|
Add support for multiplexers. This introduces a new dependency, but c'est la vie.
|
2021-11-01 23:12:30 +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 |
|
|
398668205d
|
Fixed various errors.
|
2021-11-01 15:44:32 -04:00 |
|
|
2a35a86230
|
Reverting more cruft.
|
2021-11-01 15:39:13 -04:00 |
|
|
6ea6187769
|
Remove now-useless includes.
|
2021-11-01 15:38:39 -04:00 |
|
|
5322744f42
|
Revert to non-STL-using code, since that's not available when compiling for Arduino...
|
2021-11-01 15:38:01 -04: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 |
|
|
c37e4a6789
|
Add new behavior for a button that sends separate keypresses on press and release. This required a refactor of the button abstraction as well.
|
2021-11-01 14:49:53 -04:00 |
|
|
ec86cf44d6
|
Trim out a ton of debugging statements that are too verbose to be useful now.
|
2015-11-13 02:06:16 -05:00 |
|
|
29d1c4a556
|
Reference the correct object, not a copy of it.
|
2015-11-13 01:21:49 -05:00 |
|
|
40f6c99922
|
Fix a bunch of embarrassing typos and syntax errors. That'll teach me to commit code I haven't compiled...
|
2015-11-13 00:50:16 -05:00 |
|
|
f0cfcdc90d
|
Rework the joystick code to use the Bounce2 library.
|
2015-11-13 00:45:38 -05:00 |
|
|
9ae0777c6b
|
Speculative fix for latched buttons.
|
2015-11-12 21:06:19 -05:00 |
|
|
97056ddee6
|
Add a slightly more complex example that uses every button type.
|
2015-11-12 00:31:09 -05:00 |
|
|
763e55d518
|
A number of logic fixes. Buttons are now released correctly and the button segment of the new API works.
|
2015-11-11 23:51:02 -05:00 |
|
|
9ddb1a9529
|
Add logic to handle button presses.
|
2015-11-11 00:10:45 -05:00 |
|
|
c814b85d59
|
Implement logic for pulsed button presses. This commit has not been tested.
|
2015-11-08 23:32:48 -05:00 |
|
|
c2974d3d21
|
Add some debugging statements.
|
2015-11-08 23:24:05 -05:00 |
|
|
9af6a589f8
|
Fix code to compile, now that I am in an environment where I can compile. This commit not tested.
|
2015-11-08 23:15:58 -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 |
|
|
c2771502e3
|
Initial implementation of the new API. Update() isn't functional yet.
|
2015-11-06 11:36:33 -05:00 |
|
|
cd0fe5829e
|
Add new (stubbed) API that simplifies use of the joystick library.
|
2015-11-06 10:48:38 -05:00 |
|
|
1a0ecea44a
|
Initial commit.
|
2015-11-04 22:02:09 -05:00 |
|