-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USB game controllers which don't work with emulator #133
Comments
Thanks for these. I'm currently working on more 50hz support, but will try to look at these soon. |
Probably this modification solve the gamepad problem. |
@DPRCZ Many thanks for the suggested change. If you tell me which firmware you use I will build you a version to test (before I release it more widely). |
Thank you, but I have already tested it on my board. |
I think at least the X-box controller looks to be the same problem sorted by DPRCZ... I've pushed some new builds. Please let me know how you get on. |
Fantastic, I will release a set of firmware. |
I tried my two joysticks again with the new firmware. There are no changes since the last test: Super Nintendo joystick hangs the board, X-Box joystick do nothing. PS joystick work as before (a little bit strange because of using analog pad instead of discrete) Update: NES joystick not always hangs the emulator, but even if it's not it does nothing anyway. When NES joystick hangs the emulator there is an information on UART log:
Maybe you should use UART log for getting more information about a trouble? |
According hathach/tinyusb#1929 XBOX gamepad is not standart HID device. |
Ah, going to be tricky then. I had a plan a while ago to try and improve support by adding 'pre-wrapped' HID report descriptors into the build for devices that do not declare one themselves. Might be a while before I get round to this... and I don't have any x-box controllers to experiment on. This approach won't work if the device needs you to send it a message before it starts reporting; anything like that will need custom code per device. |
You should understand Xbox controller is not my goal. It's expensive and hard-to-get controllers. It would be great if you add support for cheap SNES controllers. |
@tankist-git-2 |
@fruit-bat in tusb_config.h change: |
@DPRCZ I've made the change and released a set of firmware. Many thanks. |
I provide two descriptions on USB game controllers which don't work with the emulator. The first one is Super Nintendo (chineese version) which hangs emulator immediatelly. The second one is Microsoft XBox game controller which do nothing in games. The only one which work fine for me is just Sony Playstation 3 game controller.
SNES game controller (https://www.brown.edu/Departments/Joukowsky_Institute/courses/13things/files/5980035.jpg)
Microsoft XBox game controller (https://m.media-amazon.com/images/I/61ja-KkZjxL.jpg)
The text was updated successfully, but these errors were encountered: