Board index FlightGear Support

Change the controls

All general support: help on flying, installation, hardware, getting online etc. There are lots of users and developers to help you out.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- where did you download your aircraft/scenery from?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).

Please report any bugs not specific to an aircraft on the issue tracker.
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

Change the controls

Postby michaleben123 » Wed Apr 03, 2019 9:38 am

Hey guys, I was just wondering, I want to change the "6" key to toggle the battery and "7" to toggle the alternator in the C172. do I need to change the controls in keyboard.xml and in c172 keyboard.xml? and how do I code it?
Posts: 1
Joined: Wed Apr 03, 2019 9:35 am

Re: Change the controls

Postby wkitty42 » Wed Apr 03, 2019 5:08 pm

the keyboard 6 and 7 are the same as the keypad 6 and 7... if you have to fly with the keypad for some reason, you will have lost your roll right and pitch tuning...

aside from that, if you really want to change it, look in that keyboard.xml file and change the key assigned to that option... it isn't that difficult... remember, if you change it in the global keyboard.xml file, you will change it for all craft that do not override it... that may not be desired...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
Posts: 6321
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests