JoystickShield is an Arduino library that can be used with JoystickShield.
The library supports both event based (callback mode) and the normal mode. Refer to the examples to find out how to use the library in both the modes.
The library supports the following events
- All 8 directions of Joystick. (Up, RightUp, Right, RightDown, Down, LeftDown, Left and LeftUp)
- Joystick button press
- All 4 button press (Up, Right, Down, Left)
The library has two examples sketches which explains the modes
- SimpleExample - Shows the normal way of using the library
- CallbackExample - Shows how to use the library in callback mode.
Explanation/documentation of the library can be found in its homepage
The source code of this library and the examples are released under GPL license.
More details about the app can be found its homepage.