ArduinoJoystickLibrary icon indicating copy to clipboard operation
ArduinoJoystickLibrary copied to clipboard

Arduino pmicro Joystick sketch doesnt appear as a "game Controller"

Open Ravny77 opened this issue 6 years ago • 7 comments

Description of Issue

I've been following a tutorial to make an analog handbrake for car simulation games and its been going fine until i've reached the stage to configure the controller/joystick. The arduino does not appear in "Sound, Video and Gaming Controllers" instead it appears in "Ports (COM & LPT)" under the name "Arduino Micro (COM3). I have tried many things, i've spent about a combined total of 4 hours or more just troubleshooting and trying different things from different forums and people, but with no solution.

Technical Details

I'm running on Windows 10, i've heard this could be a cause of some issues. I have a Arduino Pro Micro board other than that im very new to this sort of stuff, infact this is the only experience ive had ever.

Sketch File that Reproduces Issue

no issues come up with the sketch file, the only issue im having is configuring the controller/joystick.

any help i am very appreciative of, im very stuck and have put quite a bit of time and effort to get to this very last stage xD

Ravny77 avatar Mar 28 '18 02:03 Ravny77

I have the same on Windows 10 machines. I tried a Joystick Test Software, and its working without being displayed. When you open the device manager it appears under HID-Devices, same as on a Windows 7 machine.

The Arduino IDE seems to do something in the background I can not retrace.

I put a working example from the Joystick Lib on an Arduino Micro, and its working. Putting this controller into a fresh installed Windows 7 or 10 Machine also shows up in the device manager as described. But the Joystick Test Software doesn't find any Joystick. Only when you install the Arduino IDE on that machine and flash an Joystick example to a 32U4 controller (e.g.Arduino Micro/Sparkfun Pro Micro) all other controllers plugged into this PC are working without problems. Maybe anybody has an explanation for that behavior.

Joystick Test Software used: http://www.mcrenox.com.ar/downloads/joytester.exe

MAG0101 avatar Jul 02 '18 20:07 MAG0101

I have this issue as well, my joystick is recognized as a keyboard. Please if someone knows how to change device to game controller would be very helpful.

SunnySundays avatar Jul 15 '19 00:07 SunnySundays

If you open joy.cpl does it show there? image

crstrand avatar Nov 24 '20 18:11 crstrand

Related: #131 I'm having the same issue. I halve not looked into too much, but too me it seems windows is getting confused with multiple devices on the Arduino USB device: image For me its not showing up in Game Controllers: image

Games do recognise it a joystick. I've used Universal Control Remapper to get some output about buttons pressed and axes position.

avgeeklucky avatar Dec 04 '20 23:12 avgeeklucky

Check out this post, it fixed the problem for me:

Originally posted by @zebolc in https://github.com/MHeironimus/ArduinoJoystickLibrary/issues/131#issuecomment-778864974

bvandevliet avatar Mar 23 '21 06:03 bvandevliet

Check out this post, it fixed the problem for me:

Originally posted by @zebolc in #131 (comment)

Could you please provide some details about the driver which fixed your problem.

Created a controller which worked quite well but had to reinstall Windows 10. Now it's no longer recognized as game controller.

Thanks in advance

schnoog avatar May 08 '21 20:05 schnoog

Hi,

I did not install any driver, I just changed this parameter in constructor: JOYSTICK_TYPE_MULTI_AXIS into JOYSTICK_TYPE_JOYSTIC, and that worked for me.

BR, Natalia

On Sat, May 8, 2021 at 10:07 PM schnoog @.***> wrote:

Check out this post, it fixed the problem for me:

Originally posted by @zebolc https://github.com/zebolc in #131 (comment) https://github.com/MHeironimus/ArduinoJoystickLibrary/issues/131#issuecomment-778864974

Could you please provide some details about the driver which fixed your problem.

Created a controller which worked quite well but had to reinstall Windows 10. Now it's no longer recognized as game controller.

Thanks in advance

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MHeironimus/ArduinoJoystickLibrary/issues/83#issuecomment-835493947, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIQEMT34IYMO5OUU2455USDTMWKZVANCNFSM4EXXXP3A .

zebolc avatar May 13 '21 14:05 zebolc