START an emulator with "XINIT:" No KB on Fullscreen But OK if windowed
-
good day to all!
@mitu I think you might be the person to have knowledge on belowI ve been using some setups with
XINIT:
and noticed that if game has fullscreen option set then Keyboard isnt working.
If set to windowed then is ok.If run using
xinit ./filename -- vt1 -keeptty
instead full screen is working ok.I have compiled SCUMMVM from github to test latest AGS feature and binary will run only with XINIT:
scummvm = "XINIT: bash /home/pi/RetroPie/roms/scummvm/+Start\ ScummVM.sh %BASENAME%"
instead
scummvm = "bash /home/pi/RetroPie/roms/scummvm/+Start\ ScummVM.sh %BASENAME%"
But as +Start ScummVM.sh sets fullscreen then keyboard wont work to enter with F5 to LAUNCHER
If I remove the --fullscreen then it works ok but of course not fullscreen and woudl require to set a video option to scummvm so it can fill screen
is#!/bin/bash game="$1" pushd "/home/pi/RetroPie/roms/scummvm" >/dev/null /opt/retropie/emulators/scummvm/bin/scummvm --fullscreen --joystick=0 --extrapath="/opt/retropie/emulators/scummvm/extra" $game while read id desc; do echo "$desc" > "/home/pi/RetroPie/roms/scummvm/$id.svm" done < <(/opt/retropie/emulators/scummvm/bin/scummvm --list-targets | tail -n +3) popd >/dev/null
-
@2play sounds like the program is losing focus when in fullscreen mode. You'll need to either use windowed mode or use a window manager like matchbox. Take a look at https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/ports/minecraft.sh for hints on how to install and use matchbox.
-
@quicksilver Thank you Ill have a look!
So far I was using the windowed mode that worked great.
But Ill test it. -
@2play I don't think this is just a scummvm issues. I have the same results with all non-libretro versions of DosBox. I get full-screen, however, the keyboard doesn't work.
-
@jamrom2 yes its not scummvm related. just pointed as example
when you use xinit to start from es, if it set on full screen kb wont work. if you set as windowed (if posisble) then its working -
@2play do you have a Pi3 or Pi4? As far as I have been told, the XINIT option doesn't work in the Pi3 build.
-
Hey everyone, im having similar issues, ok so first this first im on rpi4 latest retropie 4.8.
This was the only close issue i could find.
The thing i am having is my gamepad and keyboard wont work when adding XINIT to yabasanshiro emulator.cfg i tested running retropie on desktop but gets hot so i than thought why not reverse it, now all games should be running from vulkan from my understanding and run great but notging works i have to reboot my pi from ssh.
Could this issue be the same for fullscreen or maybe i need to point my config to my key2map for yabasanshiro.
Thanks
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.