Page 1 of 1

Keyboard Mapping

Posted: Mon Oct 26, 2009 11:44 am
by Edmund
Hello, just found Oolite, I am soooo happy! Don't have to muck about with emulators and so on anymore!
My question is about editing the Keyboard config file. I've succesfully remapped it to the proper(BBC style) controls, in a config folder in Addons. I now want to customise it and map the yaw controls onto "l" for left and ";" for right. The l works fine, but I've not got the semi-colon to work. I've tried ";" and the ascii (?) code 59, restarted Oolite with shift held down, but no joy.
Is the semicolon an unusable key or does openstep have its own code for it or something?
I'm on win XP sp3 32 bit, v1.73.4
Any help gratefully received.
In the meantime I'll just have to use "k" and "l" instead.

Edmund

Posted: Mon Oct 26, 2009 5:31 pm
by DaddyHoggy
Hi Edmund - welcome to the Friendliest board this side of Riedquat(tm)

I think the answer to your question is that there is a library used by Oolite (gnustep I think) that presume all Keyboards are US keyboards and therefore the key you think you're pressing as a semi-colon - well probably isn't...

(Although looking at my US keyboard laptop - that key is in the same place - so it could be that the ';' key is one of several keys that isn't supported for mapping - a real expert will be along shortly to confirm or deny my previous statements - to be honest - I'm just here for the meet and greet)

Posted: Mon Oct 26, 2009 6:24 pm
by another_commander
Unfortunately the semicolon and quote keys are not supported in 1.73.4 on the Windows and Linux builds. However, they will be supported from the next version on. While at it, I also fixed an omission regarding the '[' and ']' keys. The code for recognizing when these keys were not pressed once they went down for the first time was... ehm... forgotten, resulting in those two being constantly considered held down.

Posted: Mon Oct 26, 2009 7:17 pm
by Edmund
Thanks for prompt replies.

I'm relieved that it's not available and it isn't be being stupid somehow.

Really enjoying the game, loaded lots of flavour OXPs. Re-learnt docking and acquiring stuff to bling my cobra! (or at least be able to use the corridor!).

Re: Keyboard Mapping

Posted: Mon Oct 26, 2009 7:25 pm
by Cody
Edmund wrote:
Don't have to muck about with emulators and so on anymore!
Welcome Edmund.

re Elite Plus. I still take it out every so often, and I run it without an emulator.
Works fine on Win XP Pro 32bit. ( No joystick support, though).

Posted: Mon Oct 26, 2009 7:29 pm
by Edmund
Ah, I hadn't tried Elite Plus. I was really thinking of ArcElite. I don't seem to go back to simpler versions, and I think ArcElite was the last word in the official classic Elites.
BTW My electron died before I could get to Elite, not I wasn't good enough :wink: !