I'm having trouble getting windows to recognize the adafruit itsybitsy 32u4 as a multi-axis joystick. I've previously used this code on a sparkfun pro micro successfully.
Linux reports the itsybitsy as a multi-axis joystick so the HID reporting from LFUA and the DynamicHID library seems to be working correctly, but windows 10 does not seem to agree. I can see the com port device on windows and program it but no joystick?
I've tried uninstalling the itsybitsy diver but even after it redetected and reinstalled there was no recognition as a joystick. Does anyone have any ideas?
itstybitsy 32u4 5v 16MHz joystick
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 4
- Joined: Thu Apr 14, 2011 9:25 am
itstybitsy 32u4 5v 16MHz joystick
- Attachments
-
[The extension ino has been deactivated and can no longer be displayed.]
- blnkjns
- Posts: 963
- Joined: Fri Oct 02, 2020 3:33 am
Re: itstybitsy 32u4 5v 16MHz joystick
All I know is that the USB stack is different on Adafruit boards. For example double-tap to return to USB mount works similar to the M0/M4 boards, where the Pro Micro behaves more similar to a regular Leonardo.
-
- Posts: 4
- Joined: Thu Apr 14, 2011 9:25 am
Re: itstybitsy 32u4 5v 16MHz joystick
Thanks for the reply...
I had thought something similar but looking things over they are actually using the same LUFA libraries in their bootloader. From my naive review it seems that they are configured similar. I did see some extra logic to support that double click on the reset button.
In the windows device manager, as stock itsybitsy enumerates a usb composite device and a usb serial device. The joystick emulator is showing additional USB components, the HID-compliant device and the USB input device (the joystick) but windows isn't recognizing as it should. I get the same results from another, fresh, windows laptop so its either the way USB is implemented on the itsybitsy or something in windows since I can see it as a joystick in Linux.
So I can see the devices that I want, they are just not registering as a game controller. I've got a few ideas around changing the HID/PID and device name. Perhaps experimenting with the MIDI implementations I have seen around, since if they can get it working I should be able to.
Please let me know if any ideas pop up.
I had thought something similar but looking things over they are actually using the same LUFA libraries in their bootloader. From my naive review it seems that they are configured similar. I did see some extra logic to support that double click on the reset button.
In the windows device manager, as stock itsybitsy enumerates a usb composite device and a usb serial device. The joystick emulator is showing additional USB components, the HID-compliant device and the USB input device (the joystick) but windows isn't recognizing as it should. I get the same results from another, fresh, windows laptop so its either the way USB is implemented on the itsybitsy or something in windows since I can see it as a joystick in Linux.
So I can see the devices that I want, they are just not registering as a game controller. I've got a few ideas around changing the HID/PID and device name. Perhaps experimenting with the MIDI implementations I have seen around, since if they can get it working I should be able to.
Please let me know if any ideas pop up.
-
- Posts: 4
- Joined: Thu Apr 14, 2011 9:25 am
Re: itstybitsy 32u4 5v 16MHz joystick
So I've got it working now...
I unplugged all "arduino" devices and then in windows device manager selected view->show hidden devices and view->devices by container. I then uninstalled all of the itsybitsy and sparkfun devices. Then I rebooted the computer.
At this point things were still not detecting properly so I put together a sketch for a simple joystick test and loaded it onto a new itsybitsy 32u4. After, this new itsybitsy booted back up it was discovered as a game controller. I sequentially unplugged and plugged in all of my test articles, the sparkfun pro micro, the first itsybitsy 32u4 and this new bare itsybitsy.
So it comes down to some weirdness in Windows 10 USB device detection.
Cleared before isolation, back to traffic at this time.
I unplugged all "arduino" devices and then in windows device manager selected view->show hidden devices and view->devices by container. I then uninstalled all of the itsybitsy and sparkfun devices. Then I rebooted the computer.
At this point things were still not detecting properly so I put together a sketch for a simple joystick test and loaded it onto a new itsybitsy 32u4. After, this new itsybitsy booted back up it was discovered as a game controller. I sequentially unplugged and plugged in all of my test articles, the sparkfun pro micro, the first itsybitsy 32u4 and this new bare itsybitsy.
So it comes down to some weirdness in Windows 10 USB device detection.
Cleared before isolation, back to traffic at this time.
Please be positive and constructive with your questions and comments.