Opened 12 years ago

Last modified 3 months ago

#7683 new enhancement

Key Mapper

Reported by: SF/samwiseuk Owned by:
Priority: normal Component: Engine: AGOS
Keywords: keymapper Cc:
Game: Simon the Sorcerer 1

Description

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)

Ticket imported from: #2593462. Ticket imported from: feature-requests/499.

Change History (4)

comment:1 by fingolfin, 12 years ago

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.

comment:2 by SF/samwiseuk, 12 years ago

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.

comment:3 by digitall, 2 years ago

Component: --Other--

comment:4 by ccawley2011, 3 months ago

Component: --Other--Engine: AGOS
Game: Simon the Sorcerer 1
Keywords: keymapper added

Support for the keymapper is now complete and enabled by default, however a keymap still needs to be added for the AGOS engine.

Note: See TracTickets for help on using tickets.