antoniobarranco / simple-arduino-analog-joystick

Short piece of code that implements an analog Joystick, and digital buttons, Arduino based controller for Leonardo, Micro, Pro Micro, and clones with ATmega32u4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Arduino Analog Joystick for ATmega32u4 (Leonardo, Micro, Pro Micro and clones)

This is an Analog Joystick and digital buttons implementation that lets you convert an Arduino into a Joystick that can be used on any device (Windows, Linux, Mac, Android, etc.) because implements itself as an HID game device.

Makes use of Joystick.h, so you need to add this according the documentation of that library.

Code is commented and has an upper part of constants to configure it to your needs.

About

Short piece of code that implements an analog Joystick, and digital buttons, Arduino based controller for Leonardo, Micro, Pro Micro, and clones with ATmega32u4

License:MIT License


Languages

Language:C++ 100.0%