Neo keyboard layout not properly detected
I'm using the German Neo keyboard layout (completely different from the usual German QWERTZ layout). KSP detects the layout as German QWERTZ layout ("Current OS Keyboard" in Input settings). I created GameData/Squad/Controls/Neo.cfg, which is usable if manually selected.
I guess the problem arises from the fact that (at least on Linux) the layout is implemented as a variant of the German layout ("de neo") and there is some hard coded "german->QWERTZ" mapping in KSP.
- File Neo.cfg added
Ok, here is my config file for Neo keyboard layout. Also tested and tuned this on Windows 7 (man, I really feel dirty now!). I hope this works on windows in general now (not sure about other versions or different keyboard drivers). The OSX part of the config file is unchanged from the QWERTZ config file, so it will very likely not work there properly yet (But who uses Apple products anyway?).
Challenges are that Capslock, < and # keys (on QWERTZ) are used as modifier keys on Neo (like additional Shift keys for further layers) and can therefore not be used as normal keys. On Linux it does not register at all, on Windows it mixes up with the Ü (Y on QWERTZ) key.
Precision toggle uses return instead (like the OSX_VARIANT also does in QWERTZ) and mouselook toggle uses Y (Ä on QWERTZ).
The "´" key (+ on QWERTZ) is not recognized on Linux, but it is on Windows (it normally is a dead key, but the other dead keys "`" and ^ do work in Linux). I tried to use D and Y for previous/next target and ß for mouselook toggle on Linux, but the LINUX_VARIANT parts to not seem to be used properly (might be a general bug).
Btw, on Windows the keyboard layout is detected as QWERTY with German as language.