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

Analog mode not enabling in some games #25

Open
pierre-quelin opened this issue Jan 2, 2022 · 9 comments
Open

Analog mode not enabling in some games #25

pierre-quelin opened this issue Jan 2, 2022 · 9 comments

Comments

@pierre-quelin
Copy link

pierre-quelin commented Jan 2, 2022

I can't play to Gran Tourismo 2 in analog mode. I love this game but it is unfortunately not usable only because the controller remains in digital mode.
With the real console, it is necessary to press the "analog" button after starting the game to switch to analog mode.

To reproduce, it's very easy just start the game ;-) but you need the rom.

Screenshots
PCSX-Options
GT2-Options

Used Operating system:

  • Raspberri-Pi 2 (Arm V7 BCM2836R)
  • DualShock 4 + Official USB dongle

Operating System 1 :

  • LibreElec 9.2.8
  • Kodi 18.9.0
  • PCSX ReArmed 22.0.0.92
  • Playstation DualShock 1.0.14

or Operating System 2 :

  • Recalbox 8.0-Electron

I don't know if it's similar but I found this:
https://github.com/stenzek/duckstation/issues/382

@garbear
Copy link
Member

garbear commented Jan 2, 2022

Thanks for reporting the issue. Is this the same problem as #22?

Recently I merged a new feature, the Port Dialog, that should resolve this issue: xbmc/xbmc#20505

Unfortunately, I think an unrelated change in master broke the dialog, but if so it should have been fixed recently. My holiday break ends tomorrow, so I'll see if I can do some testing today.

If you're using Kodi 18, you can try my test builds based on Kodi 18. I do RetroPlayer-based LibreELEC builds on request. You can find my last round of LE builds if you visit https://github.com/garbear/xbmc/releases/ and scroll back a few releases (expand "Assets").

@pierre-quelin
Copy link
Author

pierre-quelin commented Jan 2, 2022

Thanks for your help but I think the problem is different.
In my case, the controller works correctly but in digital mode (legacy mode).
The game seems to have to be informed when the analog mode is activated.
I will try your evolution anyway.
T.Y.

There's no addon for LibreElec. How to Build ? I don't have a lot of time. sry.

@pierre-quelin
Copy link
Author

No news? Am I the only one concerned?

@garbear
Copy link
Member

garbear commented Jan 19, 2022

I fixed (xbmc/xbmc#20812) the port dialog problem and now the dialog works flawlessly, so that's progress. When I get a chance, maybe this weekend, I'll see if I can get Gran Tourismo 2 working. I'm not really sure about the analog/digital stuff you mention but you were very descriptive so once I sit down and experiment I should learn everything I need to get it working.

I can do LE builds. I'll ask in their slack about the status of the PCSX core.

@pierre-quelin
Copy link
Author

pierre-quelin commented Mar 6, 2022

Hello. Sorry, is there some news?
May be just confirm?
TY

@pierre-quelin
Copy link
Author

I select Dualshock again and it's solved ???
Thank you

@pierre-quelin
Copy link
Author

pierre-quelin commented Mar 12, 2022

I understood what happened.
In order to obtain a functional analog mode, it is necessary to perform the following procedure every time you want to play:

  • Start the game
  • Open the settings
  • Choose a default joystick and validate
  • Choose a dualshock joystick and validate
    Let's go !!!

Now I have to understand why there's no vibration and why the dead zone is much bigger than on the original. ;-)

@pierre-quelin pierre-quelin reopened this Mar 12, 2022
@garbear
Copy link
Member

garbear commented Mar 13, 2022

Kodi does deadzone compensation, and my guess is that the emulator is applying even more. You can disable or reduce zeadzones at Settings -> System settings -> Input -> Peripherals (it's a setting of peripheral.joystick).

Deadzone should be handled by the frontend not the emulator, so if you verify that the emulator is doubling the deadzone we can patch that out and maybe upstream.

@pierre-quelin
Copy link
Author

TK a lot !!! You're great for the dead zone !
The last :

  • Why every time I need to change the PAD and validate to enable analog mode ?
  • Why there's no vibrations ?

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

2 participants