The Digispark > Digispark Libraries
Working Joystick Library!!!!
duckythescientist:
Hey all! I modified the DigiKeyboard library to work as a USB joystick. It isn't the prettiest code, but neither was the keyboard library. There may be mistakes, but I have confirmed success with it. See the example file for usage documentation.
The Device is 6 analog axis and 16 digital buttons.
The library should also be easily incorporated into a non-Digispark tiny85 project.
Here is the code (currently a dropbox link until I find better hosting): https://dl.dropbox.com/u/10989648/DigisparkJoystick.zip
digistump:
Awesome - can I add it to the Digispark Ready Arduino IDE package?
duckythescientist:
Definitely! I\'d love it if you checked it out for yourself first though just to make sure it works.
I tried to commit it with Github, but I have never used it before.
digistump:
I\'ll give it a try later tonight (packing orders right now) - and if it works for me I\'ll add it and put it in the github repo - thanks for the very first contribution to the libraries!
Bluebie:
You have just made me the happiest girl in the world! Thank you so much!
Navigation
[0] Message Index
[#] Next page
Go to full version