Menu

#499 Key Mapper

open
nobody
None
5
2009-02-12
2009-02-12
Samwise
No

Hi,

I'm playing Simon the Sorcerer II with a PS joypad under Linux. I'm not near the keyboard, so I'd like to be able to map the F10 hotkey which displays all clickable objects on-screen to one of the joypad buttons.

There seems to be some interest from others in the forums wrt key mapping too, so I wonder if it might be possible to introduce a scheme like MAME's ctrlr files, where a simple XML config is used to specify what keys/mouse buttons/joypad buttons are used for which function:

http://wiki.arcadecontrols.com/w/index.php?title=Ctrlr_file

Obviously, there could be separate button configs listed for each game (e.g. could be separate config for each game listed in scummvm.ini), as each game will have different functions that may require a button e.g. only StS I and II use F10, I think.

If no config is found, the current default values could be used.

This has the small added advantage of also allowing you to disable a function (if for some reason you wanted to challenge someone by making them play through StS without the F10 function!).

Thanks,

Sam.

http://forums.scummvm.org/viewtopic.php?t=6864
http://forums.scummvm.org/viewtopic.php?t=6770
http://forums.scummvm.org/viewtopic.php?t=6279
http://forums.scummvm.org/viewtopic.php?t=3090 (Dreamcast)
http://forums.scummvm.org/viewtopic.php?t=5220 (PSP)

Discussion

  • Max Horn

    Max Horn - 2009-02-13

    A keymapper has been on our TODO for years. And in fact, one was added to SVN very recently, but is not (yet?) really usable. Sadly, it seems nobody is actively working on changing that, either :-/. So don't hold your breath on this...

    Help with implementing this resp. completing and fixing the current would be welcome, though.

     
  • Samwise

    Samwise - 2009-02-25

    Thanks for the update, fingolfin.

    It sounds like it's a popularly requested feature but just hasn't proven to be an itch yet for someone who could make it happen.

    I will endeavour to look at the code at some point but frankly my C skills are abysmal, unfortunately, and even if I could bodge it enough to make it work, I highly doubt any patch I produce would of the appropriate cross-platform quality required by the ScummVM project. :/

    Perhaps we can at least use this feature request to keep track of any developments.

    Thanks,

    Sam.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.