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

[Request] Gamepad Force Feedback / Rumble #330

Closed
MLGMcDonald opened this issue Jul 27, 2022 · 3 comments
Closed

[Request] Gamepad Force Feedback / Rumble #330

MLGMcDonald opened this issue Jul 27, 2022 · 3 comments

Comments

@MLGMcDonald
Copy link

Currently, force feedback / rumble does not appear to be functional. Is this something that could be added in a future release?

There does appear to be a GamepadHapticActuator interface in the webkit Gamepad API (https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator)

Tested:
Windows with an Xbox One controller over Bluetooth
Windows with an Xbox One controller over Xbox Wireless USB.
SteamOS (Steam Deck) native controller
SteamOS (Steam Deck) Xbox One Controller over Bluetooth

@cgarst
Copy link

cgarst commented Aug 22, 2022

Could be tricky as I believe the only instances of rumble working is official clients where the Windows.Gaming.Input (or WGI) API is available, e.g. Xbox app on Windows. Here we see Impulse Triggers working which signals more going on than just Xinput, which is what webkit Gamepad API was originally built on. However, I see that some extensions were very recently added to webkit which may be a useful API on Win10+ machines. It would be interesting to know if it's possible to recognize basic Xinput instructions for rumble, or if pure WGI stuff is the only thing in the stream.

Currently the client is behaving the same way the official Android/iOS/Edge/Chrome clients do, which is not to rumble.

@unknownskl
Copy link
Owner

The newest v2.0.0-beta1 has rumble support for xCloud games. Home-Streaming is currently not working with rumble as it does not send the rumble packets yet.

@unknownskl
Copy link
Owner

Closed due inactivity

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