Game Development Community

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

#1
10/29/2008 (11:08 am)
This is a legacy binding action of Tribes 2 which allowed for single-key binds.

Tom Spillman released a ]resource to change this.