648
edits
Line 51: | Line 51: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Alternatively you can assign the reset functionality to a button. In the following example clicking on the button resets the headtracker if in the default | Alternatively you can assign the reset functionality to a button. In the following example clicking on the button resets the headtracker if in the default cockpit view. Otherwise it gets back to the cockpit view. | ||
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> | ||
Line 59: | Line 59: | ||
<windows>1</windows> | <windows>1</windows> | ||
</number> | </number> | ||
<desc>Reset view and cockpit | <desc>Reset view and cockpit view</desc> | ||
<binding> | <binding> | ||
<command>nasal</command> | <command>nasal</command> |
edits