Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Zacam on February 02, 2008, 11:46:29 pm

Title: Dvorak layout not recognized
Post by: Zacam on February 02, 2008, 11:46:29 pm
I just key-swapped the keys on my Logitech G15 to the Dvorak layout so I could re-learn it. (I'm also using it at work)

However, FS2 and SCP don't seem to care or recognize the swap. To do CTRL+SHIFT+S means I now press O.

I can remap all the definable keys, but the Built in special function keys seem to read the direct ANSI hardware signal, (not at all unusual for games from this era) rather than what it is actually mapped as being.

At some point I'll be re-flashing the G15 to be both hardwired as well as key mapped for Dvorak. In the meantime, is there anything  that can be done with SCP regading ignoring OS level control definitions?
Title: Re: Dvorak layout not recognized
Post by: taylor on February 04, 2008, 06:09:57 pm
FS2 has a bad fixed-location setup hardcoded, so there is no way around it without completely rewriting the keyboard code.  The entire thing is based on a QWERTY layout, English, and all additional language support is just through a series of hacks to get around that.

3.7 should move entirely to SDL for input handling on all platforms, and that will see the needed code rewrite be done.  Only then will the problem really be fixed.