/Joystick

Joystick Library for Arduino (RP2040 based boards)

Primary LanguageC++

Joystick Library for Arduino (RP2040 based boards)

This library allows an RaspberryPi RP2040 board to act as a Joystick when Earle F. Philhower`s [arduino-pico](https://github.com/earlephilhower/arduino-pico) Core is used.

Acknowledgements / Credits

  • [arduino-pico](https://github.com/earlephilhower/arduino-pico) Earle F. Philhower providing the Arduino Core, on which this library is based on, available under LGPL.

  • [tinyUSB] (https://github.com/hathach/tinyusb) Ha Thach for providing tinyUSB under MIT license, which covers most of the USB functionality.

  • [tommybee456] For pointing out a hat mapping error & the suggestion to use an enum for the hat

License

Copyright (c) Benjamin Aigner <beni@asterics-foundation.org> All right reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA