Commit Graph

23 Commits

Author SHA1 Message Date
9234060532 Add comments to example code. 2015-11-14 20:00:41 -05: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
1834a50496 Clean up readme a bit more. 2015-11-13 00:58:24 -05:00
7e24e6afa1 Improve documentation a bit. 2015-11-13 00:57:57 -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
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
a89a74ac3f Add documentation to the header about the state of axis control. 2015-11-12 20:54:31 -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
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
0cdaf634a7 Add example sketch. 2015-11-04 22:16:07 -05:00
1a0ecea44a Initial commit. 2015-11-04 22:02:09 -05:00