Skip to content
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

Gamepads not working with 0.3.8 and OpenRC Turbo #27

Closed
IronReignRobotics opened this issue Sep 10, 2020 · 10 comments
Closed

Gamepads not working with 0.3.8 and OpenRC Turbo #27

IronReignRobotics opened this issue Sep 10, 2020 · 10 comments

Comments

@IronReignRobotics
Copy link
Contributor

Gamepads connected to my development pc aren't registering - they are recognized by the system, but in dashboard they are not detected. Start A doesn't do anything. I am able to init/start/stop opmodes and use other features of dashboard. Running dashboard in chrome 84.0.4147.125

I have used gamepads with dashboard before - when running on a stock skystone 5.0 repo. This issue is with Open RC Turbo 5.4B. I'm using the gradle integration. Note that I did my own migration to AndroidX on Turbo 5.4B before the 5.5 stuff was released. Not sure if that is the problem. I've now upgraded to 5.5B but can't update to your latest - I filed as separate issue about that.

There isn't anything on your documentation site about troubleshooting joysticks, so submitting here.

@ItsHarper
Copy link

Are you using the same gamepads that worked before?

@IronReignRobotics
Copy link
Contributor Author

IronReignRobotics commented Sep 10, 2020

no I can't say that - we have a pile of the F310 gamepads and don't track which ones we used with dashboard, but are aggressive about dumping buggy ones. the gamepad works on a regular android driver station. Let me test with another laptop and other gamepads. I wasn't quite at the point of thinking of this as full bug report - more looking to see if there were troubleshooting steps I should be trying.

@rbrott
Copy link
Member

rbrott commented Sep 10, 2020

Here's an independent tool for testing HTML5 gamepad support: https://gamepad-tester.com/

@IronReignRobotics
Copy link
Contributor Author

thanks! gamepad-tester is great. the gamepads work there.

@rbrott
Copy link
Member

rbrott commented Sep 11, 2020

Do they still not work in dash?

@IronReignRobotics
Copy link
Contributor Author

Correct - they still don't work in dash

@rbrott
Copy link
Member

rbrott commented Sep 12, 2020

What's the gamepad's ID?

@IronReignRobotics
Copy link
Contributor Author

The gamepad is reported by gamepad tester as: Xbox 360 Controller (XInput STANDARD GAMEPAD)
I can have gamepadtester loaded up in another tab in chrome and the gamepad seems to be perfectly responsive

But in dashboard the gamepad icons stay greyed out. Start-A won't activate it.

Also I'm now running OpenRC Turbo 5.5b with dashboard 0.3.9

@IronReignRobotics
Copy link
Contributor Author

Device manager reports the last event as:
Driver Management concluded the process to install driver xusb22.inf_amd64_d80349221fa8b78c for Device Instance ID USB\VID_046D&PID_C21D\B489B9DF with the following status: 0x0.

@rbrott
Copy link
Member

rbrott commented Sep 13, 2020

Seems like the gamepad is probably being filtered out. The code is looking for "Xbox 360 Wired Controller" in the ID. I'm happy to change it to just "Xbox 360" for the next release.

@rbrott rbrott closed this as completed in d48e4bf Sep 13, 2020
j5155 pushed a commit to jdhs-ftc/ftc-dashboard-record that referenced this issue Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants