MHeironimus / ArduinoJoystickLibrary

An Arduino library that adds one or more joysticks to the list of HID devices an Arduino Leonardo or Arduino Micro can support.
GNU Lesser General Public License v3.0
2.1k stars 409 forks source link

Can we have this to support Arduino NANO? #227

Closed Harrastaja closed 2 years ago

Harrastaja commented 2 years ago

I will get now info as following: In file included from C:\Users\JouniHeinonen\Downloads\RCUSB4\RCUSB4\RCUSB4.ino:9:0: C:\Users\JouniHeinonen\Documents\Arduino\libraries\ArduinoJoystickLibrary-master\src/Joystick.h:32:2: error: #error The Joystick library can only be used with a USB MCU (e.g. Arduino Leonardo, Arduino Micro, etc.).

error The Joystick library can only be used with a USB MCU (e.g. Arduino Leonardo, Arduino Micro, etc.).

^~~~~ exit status 1 Error compiling for board Arduino Nano

Is this possible to add support for Nano? or is this hardware base issue?

Harrastaja commented 2 years ago

I have notice that this issue comes from hardware. so this is close.

Raphfriend commented 2 years ago

This project use as base the ATmega32u4, nano is 328p, so probably no.