ScummVM map keys
-
Is it possible to remap keys for scummvm? I have an arcade panel with a track ball and all of the switches mapped to various keyboard buttons with none mapped to mouse clicks. I would like to remap controls in scummvm to use keyboard inputs for clicks and whatnot. Is this possible? I see there is a [keymapper] entry in the scummvm.ini but I can't find any information about mapping keys.
-
@Jzooor keys are hard coded. You'll have to dig into the source code and recompile if you want them remapped.
-
@Jzooor I followed this guide to get my PS3 controller to work with ScummVM. I don't know if it will help you with your problem, but it might be a place to start.
-
@mattrixk said in ScummVM map keys:
@Jzooor I followed this guide to get my PS3 controller to work with ScummVM. I don't know if it will help you with your problem, but it might be a place to start.
I used this guide now for several version of retropie and it works perfect. Takes a bit oft time to compile (less than an hour on rpi3).
Only drawback using this combination is, in the last versions there is a "mouse lag" with the controller but I'm quite sure it has nothing to do with the mentioned guide (but with the change to sdl2 or how's it called) -
@Sevik
Yeah, I did notice the mouse lag, but haven't spent any real time playing scumm games on my Pi. I actually spend more time setting it up than playing games on it. I've been making themes lately. It's fun.In hoping someone has a fix for the mouse lag, but haven't spent any time looking into it. It's on the to-do list, but it's pretty far down.
-
I think I'll just try to work in mapping a couple of mouse buttons to my panel. Maybe even run a script that loads a scummvm specific mapping and reset it after the emulator closes. I'll still want to experiment with layout options for the other keys like load/save slots, etc so having to recompile any time I want to tinker with it is undesirable.
-
Currently I am also using a bluetooth controller with scummvm. It is working fine so far, but I am unable to quit a game with the controller. Is there any button available for quitting the game without a wireless keyboard connected and without recompiling the emu?
-
@Jzooor
there's also @mediamogul Advanced Controller Mappings Guide:
https://retropie.org.uk/forum/topic/2861/guide-advanced-controller-mappings
https://github.com/RetroPie/RetroPie-Setup/wiki/Universal-Controller-Calibration-&-Mapping-Using-xboxdrvI personally haven't been able to make heads or tails of it and when I tried it, ScummVM wouldn't load anymore so I just deleted the
runcommand-onstart.sh
file I made to get it to even launch again.I just use a $14 wireless mini keyboard/mouse that works pretty good.
I actually spend more time setting it up than playing games on it. I've been making themes lately. It's fun.
Yeah, I also spend more time setting up and tweaking than I do actually playing games sometimes lol
-
@backstander said in ScummVM map keys:
when I tried it, ScummVM wouldn't load anymore
Mileage always varies, but the default method worked well on my setup. There's also an alternative launch technique in the guide that @MadHorse contributed that might work better. At the end of the day, external mapping can be a bit of a bear no matter how you go about it. Personally, I think it's all worthwhile to get these games working as comfortably as possible when it comes time to play them.
-
@mediamogul
I do plan on giving it another go but its further down on my to-do list :) -
I'm always hoping that the options for this stuff opens up a bit. I really can't complain about the versatility of the current mapping options, but a simplified implementation would be most welcome.
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.