Skip to content

Gyro support #40

Description

@tapafon

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.

Activity

  1. mariotaku commented on Jun 28, 2023

    @mariotaku
    Owner

    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.

  2. tapafon commented on Jun 28, 2023

    @tapafon
    Author

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

  3. mariotaku commented on Jun 28, 2023

    @mariotaku
    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.

  4. AE-GM commented on Jul 22, 2023

    @AE-GM

    any updates lol

  5. mariotaku commented on Jul 23, 2023

    @mariotaku
    Owner

    any updates lol

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

  6. AE-GM commented on Jul 23, 2023

    @AE-GM

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

  7. mariotaku commented on Jul 23, 2023

    @mariotaku
    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.

  8. AE-GM commented on Jul 23, 2023

    @AE-GM

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

  9. VoaPinguim commented on Nov 22, 2024

    @VoaPinguim

    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?

  10. mariotaku commented on Nov 23, 2024

    @mariotaku
    Owner

    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.

  11. VoaPinguim commented on Nov 23, 2024

    @VoaPinguim

    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.

  12. AE-GM commented on Nov 23, 2024

    @AE-GM

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

  13. VoaPinguim commented on Nov 23, 2024

    @VoaPinguim

    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?

  14. AE-GM commented on Nov 23, 2024

    @AE-GM

    from the sunshine settings

  15. VoaPinguim commented on Nov 23, 2024

    @VoaPinguim

    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.

  16. mariotaku commented on Nov 24, 2024

    @mariotaku
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions