Two keys mapped to same function doesn't work right ...
by Kevin Bamonte · in Torque Game Engine · 10/29/2008 (11:03 am) · 1 replies
Whever I bind more than one key to the same fucntion it will only work for one key not the other.
Example :
the following in client/config.cs
moveMap.bind(keyboard, "w", moveforwardnormal);
moveMap.bind(keyboard, "up", moveforwardnormal);
will only run the function moveforwardnormal when the up arrow is pressed, not the w
why ?
thanks in advance - kevin
Example :
the following in client/config.cs
moveMap.bind(keyboard, "w", moveforwardnormal);
moveMap.bind(keyboard, "up", moveforwardnormal);
will only run the function moveforwardnormal when the up arrow is pressed, not the w
why ?
thanks in advance - kevin
Associate David Montgomery-Blake
David MontgomeryBlake
Tom Spillman released a ]resource to change this.