[ScummVM] joystick control mess
-
Hi! Been a while since I gave a try to that fantastic emulator. As far as I recall I often had issue with joystick control in the past and unfortunately I still have. It's not critical given games are better played with keyboard/mouse combo but lately a new issue occured which is really annoying.
TL;DR: try to move mouse cursor from within a game or launcher with a controller 1) cursor will go haywire and buttons are not working 2) after trying to move with a controller mouse (USB) stop workingl (it does work no problem if you don't touch joystick).
Pi Model: Pi4 4GB
Power Supply used: original Pi
RetroPie Version Used: 4.7.17
Built From: official Retropie Image
USB Devices connected: powered USB hub w/ 4TB HDD and keyboard/mouse
Controller used: Xbox One S (bluetooth)
Emulator: Scummvm 2.2.0How to replicate the problem:
update Scummvm with binary from Retropie setup (should give you 2.2.0) then run Scummvm launcher or any game. Try to move the cursor with Xbox One S controller left analog stick then you'll see the cursor actually move but as soon as you release the stick position will be reset. This makes it impossible to control anything. Also buttons do not work.
Worse: once you tried to move cursor with a controller the mouse (connected over USB) stops working.Disabling joystick does not fix the issue (edit
+Start ScummVM.sh
and change--joystick=0
to--joystick=-1
).My
scummvm.ini
file:[scummvm] gui_saveload_chooser=list last_fullscreen_mode_height=1080 filtering=true midi_gain=100 mute=false speech_volume=192 native_mt32=false gui_use_game_language=false last_fullscreen_mode_width=1920 talkspeed=60 mt32_device=mt32 subtitles=true multi_midi=false fullscreen=true temp_selection=sword2 gui_browser_show_hidden=false browser_lastpath=/home/pi/RetroPie/roms/scummvm/Discworld gm_device=null output_rate=48000 sfx_volume=192 kbdmouse_speed=4 music_volume=192 speech_mute=false lastselectedgame=dw-fr music_driver=auto opl_driver=auto aspect_ratio=true versioninfo=2.2.0 autosave_period=300 gui_language=fr_FR enable_gs=false
-
Has anyone had any luck in finding a fix for this?
I'm getting the same thing with my "8BitDo SN30 Pro Bluetooth gamepad" controllers. I have two and I've tried both and the cursor goes up into the top left corner of the screen. I can move the cursor around with the left analog (L3) stick but as soon as I let go it shoots back up to the left corner of the screen. The start button will bring up the ScummVM main menu and select will bring up the soft keyboard but I'm not able to selct anything - I believe because any time I stop moving the cursor it immediately jumps back to the top left corner again and I'm not sure I can select things while moving the cursor around the screen. As I mentioned I have 2 of these and it's happening on both. I've also updated the ScummVM emulator from binary and made sure my 8BitDo controllers were updated to the latest firmware.
It seems to be isolated to these two controllers. If I plug my anolog keyboard directly into my pi 4 USB port it works fine and also my "Logitech F710 Wireless Gamepad" works fine. It's connected via the wireless USB dongle. My 8BitDo controllers connect via the onboard bluetooth connection.
Any ideas?
-
Try lr-scummvm from experimental packages maybe is working better with your gamepad
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.