dreamer / boxtron

Steam Play compatibility tool to run DOS games using native Linux DOSBox
https://luxtorpeda.gitlab.io/
GNU General Public License v2.0
408 stars 5 forks source link

[Feature Request] Pre-configure keyboard controls #22

Open dreamer opened 5 years ago

dreamer commented 5 years ago

This is a follow-up issue to for feature request from Discord; @MicrosoftTakeover

Not for all games as it could result in confusion for people accustomed to old, default controls - but specifically for FPS games this would be a very welcome addition.

Some FPS titles already come preconfigured with modern control schemes (e.g. Doom), but many don't (e.g. HeXen, Heretic).

For some titles I will refuse to implement this, even when it's technically easy and possible (I suspect Descent might be one of such games).

When possible, this should be achieved through editing user configuration (on first run only) - using similar mechanism as midi_on/midi_off. For some games, we might need to provide custom dosbox keyboard mappers (I think e.g. for Wolfenstein 3D - which requires 2 keys pressed to strafe).

I suggest following scheme:

Faalagorn commented 5 years ago

I prefer "F" for interaction, as Q/E are often reserved for leaning. For these reasons, I sometimes bind Q/E to rotate, while A/D is for strafing if leaning is not there.

Press "F" to pay respects.