SukkoPera / N64PadForArduino

Use a Nintendo64 controller with Arduino. Or turn it into a USB joypad for your PC! Or into a pad for your Sega MegaDrive :).
GNU General Public License v3.0
11 stars 0 forks source link

Windows doesn't see Leonardo as joystick after uploading N64PadToUSB #2

Open Jesright73 opened 3 years ago

Jesright73 commented 3 years ago

Uploaded N64PadToUSB to Leonardo with required libraries. Connected controller to appropriate pins (3.3v, data3, Ground), 1k resistor for pull-up from 3.3 to data 3. After upload, Windows detects Leonardo as an Unspecified device, not as a joystick/gamepad.

OS: Windows 10 Home Arduino Software: 1.8.15 Arduino Leonardo MEGA32U4

SukkoPera commented 3 years ago

I haven't been using Windows in almost 20 years, can't say much, sorry. Maybe try the Arduino joystick Library examples first: https://github.com/MHeironimus/ArduinoJoystickLibrary

capitaineflam25 commented 1 year ago

You'll have to change Joystick definition from JOYSTICK_TYPE_MULTI_AXIS to JOYSTICK_TYPE_JOYSTICK (Line 84 of N64PadToUSB.ino) and it will be OK on Windows.