Keyboard Mapping

News and discussion of the PC port of Oolite.

Moderators: winston, another_commander

Post Reply
Edmund
Above Average
Above Average
Posts: 24
Joined: Mon Oct 26, 2009 11:36 am

Keyboard Mapping

Post 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
_________________________

Loving my Cobra since 1985
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post 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)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post 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.
Edmund
Above Average
Above Average
Posts: 24
Joined: Mon Oct 26, 2009 11:36 am

Post 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!).
_________________________

Loving my Cobra since 1985
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Keyboard Mapping

Post 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).
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Edmund
Above Average
Above Average
Posts: 24
Joined: Mon Oct 26, 2009 11:36 am

Post 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: !
_________________________

Loving my Cobra since 1985
Post Reply