-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
No vibration support for the Stadia Controller #578
Comments
Also you can add this info on the controller pairing guide page:
|
How did you manage to get the controller working? When I connected mine all the button mappings are all over the place. eg. X is the screenshot button and circle is Y and the other A B buttons don't work. Would appreciate any help! thanks |
@N4Y33MM just installed v1.8.2-6-gb4538b1 (regular 1.8.2 doesn't have it yet) and updated controller firmware at stadia.google.com/controller. Works ok on my PS2. |
I uploaded v1.8.3-3-g63a4153_hw1 fimware to my Blueretro and to test vibration with Stadia Controller. I have used padtest tool on PS2:
Result: no vibration at all with Stadia Controller. @darthcloud please reopen this issue. PS: I have also tried to pair a PS5 DualSense controller to compare and vibration seems working fine with it (but both "motors" feels the same - that it is expected #20). |
@DJm00n Just to check: In BlueRetro.io, on Advanced Config, all your control have the "Rumble Only" accessory, right? If you can, please comment the raw HID Report from your Stadia connected by Bluetooth. It's easiest to get it on Linux using HidRaw Dump |
@JPZV just checked "Advanced Config" - yes "Rumble" is selected: Here is report Stadia Controller report descriptor (it is same in USB and Bluetooth LE connection modes): https://github.com/DJm00n/ControllersInfo/blob/master/stadiacontroller/stadiacontroller_bluetoothle_hid_report_descriptor.txt |
Sadly I don't have any Stadia controller, and getting one on this side of the world (Chile) is nearly impossible. But I tried to use almost the same HID report from a Stadia Controller on my new project, and it works perfectly on a Wii with a ESP32 with BlueRetro connected to the GameCube controller ports. Here is the HID report from my controller. If you pay attention at the end, you'll find it's likely the same as the Stadia controller. HID Report
Could you test the Stadia Controller on a GameCube/Wii with a BlueRetro on it? Just in case. Meanwhile, I'll try to add BlueRetro to a PS2 that I've lying around. I want to see if this is an issue from the console side or from the Controller's. Also, I'll do more research about how Stadia manages the reports for rumbling. |
I not familiar with a BLE stack but it could be related with the several ways how output report data can be transfered: https://www.bluetooth.com/specifications/specs/human-interface-device-service-1-0/ This It was also found that the Stadia Controller vibration does not work on Windows via BLE, but do work on Linux and macOS - libsdl-org/SDL#7224 |
I don't have Wii or GameCube... |
Sadly it's beyond my capabilities, as DarthCloud made his own integration for BT handling AFAIK If someone is able to integrate the Meanwhile, I think this issue should be reopened. I hope this is the only device to not work with my code |
Open a new fresh bug with current state of affair. |
BlueRetro firmware version
v1.8.3
BlueRetro firmware specification
HW1
BlueRetro firmware variant
Universal
BlueRetro hardware type
External adapter with detachable cord
Manufacturer
BlueRetro Gaming Store
System used
Sony PlayStation 2
Bluetooth controller brand & name
No response
What is problem? (only list ONE problem per report)
Google Stadia Controller with latest firmware from https://stadia.google.com/controller (added Bluetooth LE HID over GATT support) does not have vibration support.
Here is structure that can be used to add such support (parsed out of its HID Report Descriptor):
This is how its done in Chromium:
https://github.com/chromium/chromium/blob/main/device/gamepad/hid_haptic_gamepad.h#L23-L69
https://github.com/chromium/chromium/blob/main/device/gamepad/hid_haptic_gamepad.cc#L50-L51
SDL implementation:
https://github.com/libsdl-org/SDL/blob/main/src/joystick/hidapi/SDL_hidapi_stadia.c#L108-L121
What did you expect to happen?
Haptic feedback should work with Google Stadia controller.
Attach files like logs or Bluetooth traces here
No response
The text was updated successfully, but these errors were encountered: