longjunyu2 / winlator

Android application for running Windows applications with Wine and Box86/Box64
https://winlator.org
Other
284 stars 33 forks source link

[BUG] Controller Issues #67

Open djdp77 opened 2 months ago

djdp77 commented 2 months ago

Device Information

Application Configuration Information

Description of the Issue Disco Elysium: Controller works well but stops after a few seconds in-game (Xinput) or has swapped inputs (Dinput modern) Hades II: Controller never detected

Tried all possible setting combinations for Xinput / Dinput. Happens also in all other Winlator versions I tested

On Disco Elysium, with Xinput + Dinput modern, the controller works well for a few seconds and then has swapped inputs

Steps to Reproduce

  1. Launch games
  2. Try to use virtual gamepad or physical gamepad

Expected Behavior Controller works, both virtual and physical

Screenshots n/a

Additional Information If I try more games that have issues I'll update this bug report

longjunyu2 commented 2 months ago

Don't connect two controller (virtual gamepad is a controller too) at the same time

djdp77 commented 2 months ago

I know, I did separate. Thanks for looking into this

djdp77 commented 2 months ago

Tried also with Wine 9.2 - same result

brujo5 commented 2 months ago

please bring back old gamepad support, some games still need this

longjunyu2 commented 2 months ago

Ok, I have another feedback about this issue. He used XiaoMi 14 and has the similar issue (No swapped, and I think it is not the original issue). This seems to only happen on XiaoMi device. Would you like to provide your MIUI version?

longjunyu2 commented 2 months ago

please bring back old gamepad support, some games still need this

Do you have the same control issue like @djdp77 has?

brujo5 commented 2 months ago

Hades 2 work for me in winlator 7.1.2 using old gamepad support.

Something similar happens to me with the game Bioshock Infinite, the game detects the control because when pressing a button the Xbox buttons icon appears on the screen but they do nothing.

longjunyu2 commented 2 months ago

@brujo5 For old game, you are supporsed to enable dinput in the Setting of your container.

longjunyu2 commented 2 months ago

@brujo5 Hades is not old game but it uses dinput as controller api.

djdp77 commented 2 months ago

I'm using Xiaomi HyperOS 1.0.7.0.UMRMIXM

I tried Winlator 7.1.2 and same results. Hades 2 never sees gamepad. Disco Elysium, can work for a little bit (Xinput) or work for long but with swapped inputs (Dinput modern e.g. Lpad up = Lpad left)

longjunyu2 commented 2 months ago

@djdp77 @brujo5 It seems that this issue only hppened on XiaoMi device with HyperOS QAQ It is strange..

Dragon-11976 commented 2 months ago

@djdp77 @brujo5 If the games were working for you in the last update 7.1.2 on xinput and in this one they no longer work what you have to do is enable xinput and Dinput together so that the games that were working previously in the last update will work for you. Screenshot_2024-08-31-18-21-30-788_com winlator-edit And if you want to unlock some games that were not supported in xinput control such as the game sekiro what you have to do is activate the xinput option alone only and this also fixes some control problems in some games such as Dragon's dogma 😁 Screenshot_2024-08-31-18-21-20-854_com winlator-edit

djdp77 commented 2 months ago

@Dragon-11976 it also doesn't work in 7.1.2

Dragon-11976 commented 2 months ago

@Dragon-11976 it also doesn't work in 7.1.2

So the game is not supported yet in xinput controller 😁

djdp77 commented 2 months ago

@longjunyu2 Disco Elysium always works in menus. Controls only stop working after using the Right stick walking around in-game. The mouse still moves but you cannot see the cursor

There is also some input lag, but could be because of low fps.

Tried a newer version of Hades II, it now works

Luihart commented 1 month ago

@djdp77 @brujo5 If the games were working for you in the last update 7.1.2 on xinput and in this one they no longer work what you have to do is enable xinput and Dinput together so that the games that were working previously in the last update will work for you. Screenshot_2024-08-31-18-21-30-788_com winlator-edit And if you want to unlock some games that were not supported in xinput control such as the game sekiro what you have to do is activate the xinput option alone only and this also fixes some control problems in some games such as Dragon's dogma 😁 Screenshot_2024-08-31-18-21-20-854_com winlator-edit

This solution (enable xinput and dinput) doesnt work for splinter cell conviction and blacklist result in not able to Boot into game anymore