How do you bind Mouse Keys via the .bind command?
by Leroy Frederick · in Torque Game Builder · 08/21/2006 (11:54 am) · 2 replies
Hi, me again all :),
I already got Keyboard and Joystick input binded nicely, now how I get the same results with the mouse?
This is taken (and slighty adjusted) from the 'input interaction pdf', but even in it's original form, it doesn't seem to work? Is this documenation outdated (v1.1.1) or have i missed something?
Thanks in advance! :>
I already got Keyboard and Joystick input binded nicely, now how I get the same results with the mouse?
new ActionMap(testActionMap);
testActionMap.bind(mouse0, "button0", mouseLeftClick);
function mouseLeftClick(%val)
{
echo("Click input = " @ %val);
}This is taken (and slighty adjusted) from the 'input interaction pdf', but even in it's original form, it doesn't seem to work? Is this documenation outdated (v1.1.1) or have i missed something?
Thanks in advance! :>
Torque Owner J. Alan Atherton