Changing Key Mappings?
Moderators: winston, another_commander
-
- Poor
- Posts: 7
- Joined: Sat Jul 25, 2020 2:03 am
Changing Key Mappings?
How do I change the key mappings? Ex, I definitely want the up/down arrows swapped - 100%. There are probabably other keys that I will want changed once I get used to it (haven't played in 30+yrs!)
Thanks.
Thanks.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Changing Key Mappings?
Key mappings are controlled through the keyconfig.plist file, found in the Oolite\oolite.app\Resources\Config folder.
To swap the up/down arrows, on lines 4 and 5 you'll find these entries
Change them to this:
Then restart Oolite while holding down the shift key, and you should be good to go.
To swap the up/down arrows, on lines 4 and 5 you'll find these entries
Code: Select all
key_pitch_forward = 255; // up arrow
key_pitch_back = 254; // down arrow
Code: Select all
key_pitch_forward = 254; // down arrow
key_pitch_back = 255; // up arrow
Re: Changing Key Mappings?
You may also want the Reverse Control OXP for your Aft View.
-
- Poor
- Posts: 7
- Joined: Sat Jul 25, 2020 2:03 am
Re: Changing Key Mappings?
And can I ask why the mouse seems to be basically useless for anything other than selecting menu items?
I would have thought that the mouse would have taken the place of the old joystick, but that is apparently not the case.
I can't tell you how many hundreds of hours I put into the original Atari version, and I can't seem to do squat with this one
Flight control is just SO way off with just the arrow keys. Fire should be with the mouse buttons, imho. You all know what to do because you designed it. But I can't see it being very easy for a new user.
--- DS
I would have thought that the mouse would have taken the place of the old joystick, but that is apparently not the case.
I can't tell you how many hundreds of hours I put into the original Atari version, and I can't seem to do squat with this one
Flight control is just SO way off with just the arrow keys. Fire should be with the mouse buttons, imho. You all know what to do because you designed it. But I can't see it being very easy for a new user.
--- DS
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Changing Key Mappings?
I normally use a joystick, so I haven't played with keyboard/mouse for a while. I just tried out the mouse controls, and the left button does fire the lasers. The right button stops all movement, allowing you to avoid constant rolling/pitching/etc. Movement seemed OK in my quick test flight (no combat).
Is the left-mouse-button fire not working on your system? Is mouse movement working at all? (You probably know this but Shift-M will turn it on in flight).
Is the left-mouse-button fire not working on your system? Is mouse movement working at all? (You probably know this but Shift-M will turn it on in flight).
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Changing Key Mappings?
By choice I use keyboard/stick, but keyboard/mouse certainly works.
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!
And any survivors, their debts I will certainly pay. There's always a way!
-
- Poor
- Posts: 7
- Joined: Sat Jul 25, 2020 2:03 am
Re: Changing Key Mappings?
No, no mouse response at all. I will try Shift+Mphkb wrote: ↑Sat Jul 25, 2020 6:42 pmI normally use a joystick, so I haven't played with keyboard/mouse for a while. I just tried out the mouse controls, and the left button does fire the lasers. The right button stops all movement, allowing you to avoid constant rolling/pitching/etc. Movement seemed OK in my quick test flight (no combat).
Is the left-mouse-button fire not working on your system? Is mouse movement working at all? (You probably know this but Shift-M will turn it on in flight).
Can you map other functions to mouse buttons?
-
- Quite Grand Sub-Admiral
- Posts: 6680
- Joined: Wed Feb 28, 2007 7:54 am
Re: Changing Key Mappings?
Mouse buttons are fixed to fire laser (lkeft) and center all motion axes (right). Shift+M, as mentioned, will activate / deactivate the mouse. If you prefer having the yaw left / right controls on the mouse x-axis rather than roll, then press Shift+Ctrl+M instead of just Shift+M to activate it.
Re: Changing Key Mappings?
Huh, I never knew that...
- ffutures
- ---- E L I T E ----
- Posts: 2172
- Joined: Wed Dec 04, 2013 12:34 pm
- Location: London, UK
- Contact:
Re: Changing Key Mappings?
Keyconfig.plst also contains the code needed to use the numeric keypad of a PC as the arrow keys instead of the cursor pad. You delete the default left, right, up and down key mapping and remove the comment markers from around the four replacement keys immediately below.
I actually remembered how to do it for the new build without having to ask!
So far 1.9 looks prettier, and for some reason the joystick drifts less, on my PC. Excellent!
I actually remembered how to do it for the new build without having to ask!
So far 1.9 looks prettier, and for some reason the joystick drifts less, on my PC. Excellent!
- Cholmondely
- Archivist
- Posts: 5364
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Changing Key Mappings?
Hiran, if you did come up with a fix for your German Keyboard (one that you are happy with), is there any chance that you can post it for others to use? Or did you end up using Keyconfig's German option?hiran wrote: ↑Thu Apr 15, 2021 9:45 pmBeing a newcomer so hard that I do not even know you can use : and ; to control the MFDs.Cholmondely wrote: ↑Thu Apr 15, 2021 11:07 amYou need a HUD.oxp loaded which supports MFDs (I presume that the Vanilla game HUD doesn't), and you need to understand the use of the : and ; keys to control the MFDs.
I use them to yaw the ship...
EDIT: I am on a german keyboard layout, that may add another layer of difficulty. You might be referring to only one key?
https://upload.wikimedia.org/wikipedia/ ... ny.svg.png
https://upload.wikimedia.org/wikipedia/ ... yboard.png
You might be able to create a file using http://wiki.alioth.net/index.php/Keyconfig. Or post it in some other way. Not fussed!
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Changing Key Mappings?
I did not yet try to reconfigure the keyboard. Knowing meanwhile different other expansions may add more key functions that might again collide I decided not to touch some areas of the game.Cholmondely wrote: ↑Sun May 02, 2021 11:28 amHiran, if you did come up with a fix for your German Keyboard (one that you are happy with), is there any chance that you can post it for others to use? Or did you end up using Keyconfig's German option?hiran wrote: ↑Thu Apr 15, 2021 9:45 pmBeing a newcomer so hard that I do not even know you can use : and ; to control the MFDs.
I use them to yaw the ship...
EDIT: I am on a german keyboard layout, that may add another layer of difficulty. You might be referring to only one key?
https://upload.wikimedia.org/wikipedia/ ... ny.svg.png
https://upload.wikimedia.org/wikipedia/ ... yboard.png
You might be able to create a file using http://wiki.alioth.net/index.php/Keyconfig. Or post it in some other way. Not fussed!
But what would help a lot were an overview graphics. Wchich are the keys and what do they mean?
The table I found on the wiki is of little help if the keyboard is controlled with make/break codes but the keys are labelled with characters. Yet the make/break codes vary by keyboard layout, not by configured locale so the variations are limited.
Sunshine - Moonlight - Good Times - Oolite
- Cholmondely
- Archivist
- Posts: 5364
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Changing Key Mappings?
My understanding is that expansions cannot add key functions (the game code rules it out), but must use the N,n,b & MFD key-presses.hiran wrote: ↑Sun May 02, 2021 1:07 pmI did not yet try to reconfigure the keyboard. Knowing meanwhile different other expansions may add more key functions that might again collide I decided not to touch some areas of the game.
But what would help a lot were an overview graphics. Which are the keys and what do they mean?
The table I found on the wiki is of little help if the keyboard is controlled with make/break codes but the keys are labelled with characters. Yet the make/break codes vary by keyboard layout, not by configured locale so the variations are limited.
As for the overview graphics, I think that Keyboard Config might give you that - unless you would prefer Clym Angus's (old) 2009 overlays:
Or unless you have made a fortune on bitcoin and want to splurge on a buttonbox: http://wiki.alioth.net/index.php/Buttonboxes
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Changing Key Mappings?
That makes it a lot easier for me.Cholmondely wrote: ↑Sun May 02, 2021 1:34 pmMy understanding is that expansions cannot add key functions (the game code rules it out), but must use the N,n,b & MFD key-presses.
That looks very helpful. I do have exactly that keyboard layout. Albeit it is not complete.Cholmondely wrote: ↑Sun May 02, 2021 1:34 pmAs for the overview graphics, I think that Keyboard Config might give you that - unless you would prefer Clym Angus's (old) 2009 overlays:
It does not cover the yaw buttons. I am not sure whether they have been introduced later only.
Would it make sense if the Oolite wiki contained one that is authorative and up to date for Oolite? I created something with LibreOffice that could be used as base for the cheat sheet or other documentation: https://app.box.com/s/tg143o5ma6zkwyei0jfzgcgyij6vf2bd
Last edited by hiran on Sun May 02, 2021 8:30 pm, edited 1 time in total.
Sunshine - Moonlight - Good Times - Oolite
- Cholmondely
- Archivist
- Posts: 5364
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Changing Key Mappings?
Clym was using one of the older Mac keyboards.
Please, whatever you can contribute is good! Maik probably has a german keyboard too. Ditto for tsoj.
Please, whatever you can contribute is good! Maik probably has a german keyboard too. Ditto for tsoj.
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?