Bind and numpad keys
by Galun · in General Discussion · 07/01/2007 (6:04 am) · 2 replies
Hi,
When I try to do a moveMap.bind( keyboard, "numpaddivide", toggleRun) it won't work and this seems to happen with all numpad keys. In the starter.fps a key named "minus" is put into the preferences if I bind the numpad divide to an action but it won't be called as well.
What is wrong with that and how can I bind something to numpad keys?
This is in TGE 1.5.2 and with a mission derived from tutorial.base.
Thanks
When I try to do a moveMap.bind( keyboard, "numpaddivide", toggleRun) it won't work and this seems to happen with all numpad keys. In the starter.fps a key named "minus" is put into the preferences if I bind the numpad divide to an action but it won't be called as well.
What is wrong with that and how can I bind something to numpad keys?
This is in TGE 1.5.2 and with a mission derived from tutorial.base.
Thanks
About the author
#2
taken from the TDN site
may save someone some searching time in the future
KEYBOARD NUMPAD
"numpad0"
"numpad1"
"numpad2"
"numpad3"
"numpad4"
"numpad5"
"numpad6"
"numpad7"
"numpad8"
"numpad9"
"numpadmult"
"numpadadd"
"numpadsep"
"numpadminus"
"numpaddecimal"
"numpaddivide"
"numpadenter"
here is the full page with all the names of bindable keys
http://tdn.garagegames.com/wiki/Script/Input_Keys_and_Maps#KEYBOARD_INPUTS
12/05/2009 (1:05 am)
added this to the thread for referencetaken from the TDN site
may save someone some searching time in the future
KEYBOARD NUMPAD
"numpad0"
"numpad1"
"numpad2"
"numpad3"
"numpad4"
"numpad5"
"numpad6"
"numpad7"
"numpad8"
"numpad9"
"numpadmult"
"numpadadd"
"numpadsep"
"numpadminus"
"numpaddecimal"
"numpaddivide"
"numpadenter"
here is the full page with all the names of bindable keys
http://tdn.garagegames.com/wiki/Script/Input_Keys_and_Maps#KEYBOARD_INPUTS
Torque Owner Eric Johnson