Page 1 of 1

Control Scheme

Posted: Sat Sep 08, 2018 3:51 am
by codycbradio
Something I would like to see in an update to elite is an optional setting to change the controls or at least bring back the numerical keypad for controlling the ship. I miss that from older elite versions where i could roll yaw and pitch with one location on the keyboard.

Re: Control Scheme

Posted: Sat Sep 08, 2018 8:08 am
by another_commander
Welcome codycbradio. You can already change controls by editing the contents of the file keyconfig.plist, found under the folder oolite.app/Resources/Config. For using numpad keys for controlling the ship, you can change the initial entries of keyconfig to the following:

Code: Select all

key_roll_left				= 314;		// numpad 4
key_roll_right				= 316;		// numpad 6
key_pitch_forward			= 318;		// numpad 8
key_pitch_back				= 312;		// numpad 2

[... rest of file]
Oolite understands the numpad keys as having keyconfig codes from 310 (numpad 0) all the way to 319 (numpad 9). Oh, and if you are on Windows, avoid editing using Notepad; we've had problems with it. Wordpad or any other text editor should be fine though.