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

Generic usb controller right stick only moves left or right (not detecting any other direction) #2837

Closed
benderscruffy opened this issue Nov 12, 2021 · 6 comments · Fixed by #2907
Labels
bug Something isn't working input Related to Ryujinx.Input or Ryujinx.Input.SDL2

Comments

@benderscruffy
Copy link

benderscruffy commented Nov 12, 2021

Bug Report

it is a generic usb controller
in Ryujinx it comes up as a G-Shark gs-gp702
it is setup properly in Windows 10 (all movement and button and axis are correctly detected)
in Pool Panic
at the very start you have to aim at the red ball
all you can do is aim left or right
keeps on spamming
00:01:48.485 |S| HLE.OsThread.8 ServiceHid StopSixAxisSensor: Stubbed. {appletResourceUserId: 4294967296 ; sixAxisSensorHandle: 131075}

same as the game Flan
can only move the character left or right using the right stick

What's the issue you encountered?

How can the issue be reproduced?

just start the tutorial

[ Include a detailed step by step process for recreating your issue. ]

Ryujinx_1.0.7103_2021-11-12_17-07-56.log

Environment?

  • Ryujinx version: 1.0.7103

  • Game version: 1.0.2

  • System Specs:

    • OS: (e.g. Windows 10)
    • CPU: (e.g. i7-6700)
    • GPU: (e.g. NVIDIA RTX 2070)
    • RAM: (e.g. 16GB)
  • Applied Mods : [ Yes (Which ones) / No ]

Additional context?

ryujinx_capture_2021-11-12_17-20-46
ryujinx_capture_2021-11-12_17-20-43

@gdkchan gdkchan added bug Something isn't working input Related to Ryujinx.Input or Ryujinx.Input.SDL2 labels Nov 16, 2021
@benderscruffy benderscruffy changed the title Pool Panic [0100D6D00A490000} input bug (cannot aim) Generic usb controller right stick only moves left or right (not detecting any other direction) Nov 17, 2021
@64ghost
Copy link

64ghost commented Nov 25, 2021

I also have such a gamepad Solved this problem

1.Open file SDL2.dll in hex-editor and find your gamepad G-Shark
2.Change righty:a4 on righty:a3

2c0e0d41d2056df5642fd03b81f0658d

@AntTheAlchemist
Copy link

Hopefully this will be fixed in SDL 2.0.18. Until then, you can forcibly override the mapping for that controller in the game code. I don't know the details, but it shouldn't be too difficult; easier than hex-editing the DLL. Thanks for reporting this @64ghost - I thought it was only happening to me.

@benderscruffy
Copy link
Author

can this be reopened as #2907 was reverted please

@Dazta33
Copy link

Dazta33 commented Sep 19, 2022

I also have such a gamepad Solved this problem

1.Open file SDL2.dll in hex-editor and find your gamepad G-Shark 2.Change righty:a4 on righty:a3

2c0e0d41d2056df5642fd03b81f0658d

Yeh i did that and saved the dll file. Now ryujinx wont open cmon wtf man!?

@ErickVal
Copy link

I also have such a gamepad Solved this problem

1.Open file SDL2.dll in hex-editor and find your gamepad G-Shark 2.Change righty:a4 on righty:a3

2c0e0d41d2056df5642fd03b81f0658d

Thanks, this solve my problem, using SDL2.dll 2.0.22 its righty:a3 so I back it to a4 and solve.

Playing Pokemon Scarlet [0100A3D008C5C000][v0]

@Squall-Leonhart
Copy link

Thanks, this solve my problem, using SDL2.dll 2.0.22 its righty:a3 so I back it to a4 and solve.

It should not be a4, the control only has 4 axis which are 0, 1, 2, 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working input Related to Ryujinx.Input or Ryujinx.Input.SDL2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants