Howto:Reassign keyboard bindings: Difference between revisions

Jump to navigation Jump to search
Switch from {{git link}} to {{fgdata source}} to provide a functional link, pointing to the correct infrastructure.
m (assignment → binding)
(Switch from {{git link}} to {{fgdata source}} to provide a functional link, pointing to the correct infrastructure.)
Line 3: Line 3:
A common request is how to change keys to do different commands. FlightGear makes this as easy as editing an XML file, and possibly adding a parameter to point FG to the new XML file.
A common request is how to change keys to do different commands. FlightGear makes this as easy as editing an XML file, and possibly adding a parameter to point FG to the new XML file.


In general, the list of keyboard commands is stored in the property tree and is loaded at startup or when the menu option "Debug -> Reload input" is selected. The main list of commands is available in {{Git link|gitorious|fg/fgdata|master|keyboard.xml|pre=$FG_ROOT/}}, but each aircraft can add/change its own bindings through its -set.xml file, and additional [[config file]]s can do the same.
In general, the list of keyboard commands is stored in the property tree and is loaded at startup or when the menu option "Debug -> Reload input" is selected. The main list of commands is available in {{fgdata source|path=keyboard.xml|pre=$FG_ROOT}}, but each aircraft can add/change its own bindings through its -set.xml file, and additional [[config file]]s can do the same.


== Adding or modifying key bindings ==
== Adding or modifying key bindings ==

Navigation menu