Red Hat Bugzilla – Bug 200202
broken keyboard mapping
Last modified: 2007-11-30 17:11:38 EST
Description of problem:
As mention during the package review in
The "Examine keyboard controls" page says:
'Steer left less than'
'Steer right greater than'
I found "left/right" on "," rsp. "." (German "qwertz" keyboard)
Version-Release number of selected component (if applicable):
Version 1.1-3, should show up on a mirror near you soon.
This version has the following changes which should fix this:
* Wed Jul 26 2006 Hans de Goede <firstname.lastname@example.org> 1.1-3
- Added a patch to call the left and right keys COMMA and POINT instead of
LESSTHEN and GREATERTHEN, so that the text is correct for non qwerty
keyboards too. And add a binding for normal brake to the Y key for more
convenient controls with a German (QWERTZ) keyboard.
Upstream has been notified that the current hardcoded keys are awkward
with non qwerty keyboards so that upstream can create a proper fix.
Hmm, this sounds like an ugly hack to me?
Doesn't the toolkit stormbahnfahrer applies (SDL?) provide proper keyboard
sturmbahnfahrer uses plib. And the code actually checks for ',' and '.' so the
new help text is correct. With regards to adding the Y binding that is because
the Y is on QWERTZ where the Z is on QWERTY. The problem is not as much keyboard
mapping which plib does fine AFAIK, the problem is that its best to use keys at
a certain location instead of keys with a certain symbol.
The next version of sturmbahnfahrer will come with configurable key controls.
I never liked the in-game "change controls" options, so I will opt for a
config file or something. (env var even?)
Also, I will make sure that in addition to configured keys, the
cursor keys will work as well.