Author Topic: keyboard controls not getting passed to dosbox or often go nuts  (Read 3083 times)

lps132022

  • Newbie
  • *
  • Posts: 1
    • View Profile
keyboard controls not getting passed to dosbox or often go nuts
« on: February 03, 2022, 07:39:16 PM »
using a raspberry Pi 3B+ with linux retropie image. have several working MS/DOS games installed with DOSBox. can get c:\ prompt after selecting +start Dosbox.sh and can type normaly as expected IF USING EMULATION STATION

however if i switch to attract mode I can get to the c:\ prompt but then the keyboard is unpredictable often times going "sticky" like my cat decided to sit on the keyboard! or simply does not work. i set "End" to hotkey out but that often does not work either (hit and miss) and if it does the game music continues to play!

i was able to program a controller to open the dosbox keymapper and saved the keymap. (didn't help) however i did notice a huge and inconsistent latency of key presses. far beyond being useful. but does not explain why they can go sticky forever.
i cant end the game even when using the hotkey (when it works),
you can still hear the game music playing in the background. i can actually start several instances of the game not being able to close anything. if i exit from attract mode, i am dumped back into the game that didn't close, and now my exit hotkey wont get me out.
this requires that i SSH into the RPI, pidof dosbox to get the process number, kill [process number] and reboot, or just power off/on. i ended up doing the reboot after killing the process because i still could not type at the CLI prompt.

i need some good linux help here.
« Last Edit: February 05, 2022, 09:44:46 AM by lps132022 »