Commit Graph

  • 23e491b424 Change default delay to 50 ms main Anna Wiggins 2021-12-22 22:08:26 +0000
  • aef35f96a0 Add the ability to use a custom delay time for button presses. Anna Wiggins 2021-12-22 22:07:57 +0000
  • 70d7bdd3b2 Tick threshold should be a reflection of the actual change in the encoder's value. Anna Wiggins 2021-12-21 04:58:17 +0000
  • 82927519ce Fix off-by-one error. Anna Wiggins 2021-12-21 04:30:20 +0000
  • 145e383bc5 Add some logic to the encoder to only register a button press after a certain number of inputs. Anna Wiggins 2021-12-21 04:16:07 +0000
  • 4c5b51f7b8 Fix pulsed buttons and remove unnecessary delay from matrix buttons. Anna Wiggins 2021-11-24 16:39:00 +0000
  • 7cc9717e78 Add SimulIDE file for example code. annabunches 2021-11-24 01:06:53 -0500
  • 557aec4644 Update documentation. Anna Wiggins 2021-11-24 06:04:21 +0000
  • 2ce994677a Another bugfix, improve header documentation a bit. Anna Wiggins 2021-11-24 05:57:41 +0000
  • a9c80c2ed5 Bug fixes. Anna Wiggins 2021-11-24 05:40:28 +0000
  • 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. Anna Wiggins 2021-11-22 20:10:08 +0000
  • 8ebc1a5523 Factor pin-reading logic into a new set of classes. Anna Wiggins 2021-11-22 19:12:44 +0000
  • a4f00a0a23 No longer need encoder include in Joystick. Anna Wiggins 2021-11-22 16:45:52 +0000
  • 1a4916fd0e For pulsed buttons, implement per-button 'timers' that independently end the pulse instead of having a 250ms delay between every single update... Anna Wiggins 2021-11-13 22:48:12 +0000
  • 3b69b7e960 Merge pull request 'Refactor the code to use multiple button classes.' (#4) from refactor-inheritance into main Anna 2021-11-13 05:57:38 +0000
  • e8a1235a95 Add analog_only option, though this is a stub for now. Anna Wiggins 2021-11-13 05:56:21 +0000
  • e09c21edf1 Add some additionally debugging, fix the 'ole broken switch statement. Anna Wiggins 2021-11-09 06:11:36 +0000
  • a69c2d3364 Refactor code substantially, moving buttons into separate classes and using a lot more pointers to conserve memory until it is needed. Anna Wiggins 2021-11-08 01:37:30 +0000
  • 346e612f65 Merge pull request 'Add rotary encoder support, simplify AddMuxButton interface.' (#3) from encoders into main Anna 2021-11-07 22:51:18 +0000
  • 09043919de Add rotary encoder support, simplify AddMuxButton interface. Anna Wiggins 2021-11-07 22:49:14 +0000
  • 564f4b2b57 Merge pull request 'Add support for multiplexers' (#2) from multiplexer-support into main Anna 2021-11-07 03:16:59 +0000
  • fbd786fe96 Fix compile-time errors, which necessitated some refactoring of the interface. Anna Wiggins 2021-11-02 23:17:25 +0000
  • 5c2a2736dc Clean up examples directory. Anna Wiggins 2021-11-02 19:55:35 +0000
  • d6e0648abf Add support for multiplexers. This introduces a new dependency, but c'est la vie. Anna Wiggins 2021-11-01 23:12:30 +0000
  • da37d16da7 Merge pull request 'Add new button type, clean up pull-up resistor logic.' (#1) from new-button-behaviors into main Anna 2021-11-01 22:29:41 +0000
  • bcfd67b50d Fix behavior when using pull-up resistors. Anna Wiggins 2021-11-01 22:19:05 +0000
  • 3fd595c7c2 Rename variables for clarity, fix enumeration bug. Anna Wiggins 2021-11-01 22:09:11 +0000
  • 398668205d Fixed various errors. annabunches 2021-11-01 15:44:32 -0400
  • 2a35a86230 Reverting more cruft. annabunches 2021-11-01 15:39:13 -0400
  • 6ea6187769 Remove now-useless includes. annabunches 2021-11-01 15:38:39 -0400
  • 5322744f42 Revert to non-STL-using code, since that's not available when compiling for Arduino... annabunches 2021-11-01 15:38:01 -0400
  • 6a692687f5 Add BUTTON_LATCHED_MOMENTARY type, to allow a pushbutton to mimic the behavior of a toggle switch. annabunches 2021-11-01 15:24:05 -0400
  • 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. annabunches 2021-11-01 14:49:53 -0400
  • 9234060532 Add comments to example code. Anna Wiggins 2015-11-14 20:00:41 -0500
  • ec86cf44d6 Trim out a ton of debugging statements that are too verbose to be useful now. Anna Wiggins 2015-11-13 02:06:16 -0500
  • 29d1c4a556 Reference the correct object, not a copy of it. Anna Wiggins 2015-11-13 01:21:49 -0500
  • 1834a50496 Clean up readme a bit more. Anna Wiggins 2015-11-13 00:58:24 -0500
  • 7e24e6afa1 Improve documentation a bit. Anna Wiggins 2015-11-13 00:57:57 -0500
  • 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. Anna Wiggins 2015-11-13 00:53:06 -0500
  • d0038eba44 Move examples into subdirectories so they can be compiled and uploaded by Arduino as-is. Anna Wiggins 2015-11-13 00:51:55 -0500
  • 40f6c99922 Fix a bunch of embarrassing typos and syntax errors. That'll teach me to commit code I haven't compiled... Anna Wiggins 2015-11-13 00:50:16 -0500
  • f0cfcdc90d Rework the joystick code to use the Bounce2 library. Anna Wiggins 2015-11-13 00:45:38 -0500
  • 9ae0777c6b Speculative fix for latched buttons. Anna Wiggins 2015-11-12 21:06:19 -0500
  • a89a74ac3f Add documentation to the header about the state of axis control. Anna Wiggins 2015-11-12 20:54:31 -0500
  • d8fdb45ded Fix code in complex example. Anna Wiggins 2015-11-12 20:33:25 -0500
  • 97056ddee6 Add a slightly more complex example that uses every button type. Anna Wiggins 2015-11-12 00:31:09 -0500
  • 763e55d518 A number of logic fixes. Buttons are now released correctly and the button segment of the new API works. Anna Wiggins 2015-11-11 23:51:02 -0500
  • 9ddb1a9529 Add logic to handle button presses. Anna Wiggins 2015-11-11 00:10:45 -0500
  • c814b85d59 Implement logic for pulsed button presses. This commit has not been tested. Anna Wiggins 2015-11-08 23:32:48 -0500
  • c2974d3d21 Add some debugging statements. Anna Wiggins 2015-11-08 23:24:05 -0500
  • 9af6a589f8 Fix code to compile, now that I am in an environment where I can compile. This commit not tested. Anna Wiggins 2015-11-08 23:15:58 -0500
  • f2d7f48d43 Add an equivalent example using the new Joystick API. Also add pin initializing code to Joystick::AddButton() Anna Wiggins 2015-11-06 12:07:37 -0500
  • c2771502e3 Initial implementation of the new API. Update() isn't functional yet. Anna Wiggins 2015-11-06 11:36:33 -0500
  • cd0fe5829e Add new (stubbed) API that simplifies use of the joystick library. Anna Wiggins 2015-11-06 10:48:38 -0500
  • 0cdaf634a7 Add example sketch. Anna Wiggins 2015-11-04 22:16:07 -0500
  • 1a0ecea44a Initial commit. Anna Wiggins 2015-11-04 22:02:09 -0500