The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
Adicionando chamada ao Menubar para recarregar configurações do Joystick
Posted by: Isix | January 30, 2011 @ 5:03pm
Text Code
[
Download
]
Adicionando chamada ao Menubar para recarregar configura�es do Joystick ======================================================================== Isaias V. Prestes < isaias.prestes@gmail.com > January 30, 2011 07:56:17 PM C�digo desenvolvido por Csaba Hal�sz <csaba.halasz@gmail.com> em flightgear-devel.lists.sourceforge.net. Procedimentos ============= Adicionar no data/gui/menubar.xml como chamada --- data/gui/menubar.xml +++ data/gui/menubar.xml Trocar... -----8<----- <item> <label>Reload Input</label> <binding> <command>reinit</command> <subsystem>input</subsystem> </binding> </item> -----8<----- Por isso... -----8<----- <item> <label>Reload Input</label> <binding> <command>reinit</command> <subsystem>input</subsystem> </binding> <binding> <command>nasal</command> <script>gui.menuEnable("joystick-info", size(props.globals.getNode("/input/joysticks").getChildren("js")));</script> </binding> </item> -----8<----- A� est�, companheiro! Fazendo reload da configura��o do Joystick "on-the-fly".
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.61 / 8
67 Votes
http://codebin.yi.org/1083
page generated in 0.00 seconds