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

Gyro support #40

Open
tapafon opened this issue Jun 27, 2023 · 16 comments
Open

Gyro support #40

tapafon opened this issue Jun 27, 2023 · 16 comments

Comments

@tapafon
Copy link

tapafon commented Jun 27, 2023

Is your feature request related to a problem? Please describe.
Gyro in DualShock 4 works while directly connected to PC (both wired & Bluetooth). But it doesn't work in IHSplay, as well as in official Steam Link app (Android 12).

Describe the solution you'd like
Gyro via IHSplay should simply work (if enabled in Steam Input or game itself).

Describe alternatives you've considered
Sending gyro input to emulate right stick or mouse.

@mariotaku
Copy link
Owner

mariotaku commented Jun 28, 2023

On next release gyro and touchpad support might be added. But there's a catch, because SDL2 webOS shipped is not up-to-date.

Gamepad gyro & touchpad support is available from SDL 2.0.14, but it only available on webOS 7+, and currently no way to backport.

@tapafon
Copy link
Author

tapafon commented Jun 28, 2023

Even on rooted WebOS 4.x, which my TV has?

@mariotaku
Copy link
Owner

@tapafon It doesn't matter if it's rooted or not. But I didn't give up on that, there is another way for the app to control gamepads directly without SDL, which might be added in the future.

@AE-GM
Copy link

AE-GM commented Jul 22, 2023

any updates lol

@mariotaku
Copy link
Owner

any updates lol

No. It's pretty complicated so it needs more time.

@AE-GM
Copy link

AE-GM commented Jul 23, 2023

what about with sunshine + moonlight? Is that any easier since sunshine already implemented it but not the moonlight-tv itself

@mariotaku
Copy link
Owner

@AE-GM Gyro and SDL touchpad support is steam link built-in. It's not IHSplay can't send the event, but on webOS you can't receive gyro input without a ton of extra work.

@AE-GM
Copy link

AE-GM commented Jul 23, 2023

ohh so that's what u meant mb. Hope you get it working

@VoaPinguim
Copy link

On next release gyro and touchpad support might be added. But there's a catch, because SDL2 webOS shipped is not up-to-date.

Gamepad gyro & touchpad support is available from SDL 2.0.14, but it only available on webOS 7+, and currently no way to backport.

Hi! Im on WebOS 8 but i also cant use gyro with my Nintendo Pro Controller. Has this feature been implemented? Or is this difficult even without backporting it to older versions of WebOS?

@mariotaku
Copy link
Owner

mariotaku commented Nov 23, 2024

Hi, I have ported the latest SDL2 this year so it can handle gyro events but I haven't got a chance to find out how to send that to Steam.

However, the other streaming app Moonlight works well. You may want to check that out.

@VoaPinguim
Copy link

VoaPinguim commented Nov 23, 2024

Hi, I have ported the latest SDL2 this year so it can handle gyro events but I haven't got a chance to find out how to send that to Steam.

However, the other streaming app Moonlight works well. You may want to check that out.

I tried Moonlight on my TV as well, but my controller gets recognized as a Xbox 360 controller, not a Nintendo Switch Pro Controller, so no gyro support.
Your app makes my controller recognized as a Pro Controller, tho no gyro.
I guess theres no way to get gyro gameplay through WebOS using Pro Controller atm.

@AE-GM
Copy link

AE-GM commented Nov 23, 2024

You should change the controller input to be registered as a DualShock controller to get the gyro input to work

@VoaPinguim
Copy link

You should change the controller input to be registered as a DualShock controller to get the gyro input to work

How do i do that?

@AE-GM
Copy link

AE-GM commented Nov 23, 2024

from the sunshine settings

@VoaPinguim
Copy link

from the sunshine settings

It doesnt work.
I did this and my controller was recognized as DS4, but gyro wont work.
By default, sunshine already sets controller to DS4 if it can detect gyro or touch.

@mariotaku
Copy link
Owner

from the sunshine settings

It doesnt work.
I did this and my controller was recognized as DS4, but gyro wont work.
By default, sunshine already sets controller to DS4 if it can detect gyro or touch.

Did you connect the controller with Bluetooth? webOS has different driver stack handling Bluetooth controllers, only allowing basic inputs. If you connect via USB it should work properly.

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

4 participants