Page 1 of 1

keyconfig.plist on none English keyboard layout on GNU/Linux

Posted: Tue Apr 14, 2009 6:21 am
by cspaul
Well, I find not any valuable answer on this Forum how to configure Oolite keys on none USA keyboard layouts.

I have a Hungarian QWERTZ keyboard and set up GNOME to use it quit well say in Openoffice org.

But I want to use it in Oolite game too! :D

I have installed the latest test release of Oolite: 1.72.2.

For the key say eacute: "é" I can't find any usable keycode to use it in Oolite.
I try the line

key_launch_escapepod = "é";

too but wit no success.

Is there a solution how to use none English keys on say Hungarian keyboard: ö,ü,ó,ő,ú,é,á,ű,í to configure Oolite keys?

Posted: Tue Apr 14, 2009 9:59 am
by Kaks
Hello cspaul, & welcome to the boards.
SDL for the most part thinks everybody is using a US keyboard. Looking at this page
http://en.wikipedia.org/wiki/Keyboard_layout
the Hungarian "é" key is in the same place as the US ";".

If you try:

Code: Select all

key_launch_escapepod = ";";
and everything goes well, you should be able to launch the escape pod every time you press é! - of course, you need to flush the cache by pressing shift when starting Oolite, in order for the game to notice the new key bindings.

PS: I said 'everything goes well' because there are some differences between the linux & windows implementations of SDL (I'm a lot more familiar with the windows one) but this part should be the same...

Posted: Tue Apr 14, 2009 10:05 am
by another_commander
Kaks wrote:
- of course, you need to flush the cache by pressing shift when starting Oolite, in order for the game to notice the new key bindings.
Not for keyconfig.plist. The only two plists in the game that are not cached are logcontrol.plist and keyconfig.plist. Any change you do on those will be applied regardless next time you start the game.