christianhaitian / arkos

Another rockchip Operating System
MIT License
1.38k stars 81 forks source link

Mednafen doesn't recognize inputs #958

Closed AeolusUX closed 4 months ago

AeolusUX commented 4 months ago

Describe the Issue (If applicable)

Mednafen controls hasn't been working since the latest update. I've checked the 12/08/2024 update and it's working there. Updated by OTA and tried the games again on 1272024-1 and seems like controls have all been gone. Tried on GBC/GBA and SNES and I can't play or exit the game, only way out is resetting the console.

What device are you using? (Only the Gameforce Chi, RK2020, OGA 1.0, OGA 1.1, RG351MP, RG351V, RGB10, R35s, RG353V/VS, RG353M, RG503, RGB30, and RK2023 units are officially supported)

R35S

What version of ArkOS are you on?

Anything else you'd like to include that may help to review this issue or feature request?

christianhaitian commented 4 months ago

I was able to replicate the issue. I don't know how it still worked in the previous update as it's a sdl joystick guid issue that was changed since version sdl 2.28.2. Run the following command via ssh and it should fix the issue. I will include this fix in the next update as well.

sed -i '/0x0019484b110001000004001000000000/s//0x0019484b110001000004001100000000/g' /home/ark/.mednafen/mednafen.cfg

christianhaitian commented 4 months ago

This has been accommodated with today's update.