Game Development Community

Joystick?

by Richard_H · in Torque Game Engine · 01/29/2007 (6:49 pm) · 2 replies

Hi,
I've been attempting to add joystick support to my upcoming game, but I have some problems.
On the top of my default.bind.cs I have:
$enableDirectInput = "1";
activateDirectInput();
enableJoystick();
and I set enableJoystick in my perferences to 1.
I'm trying to allow the joystick to use moveleft, moveright, moveup, and movedown in racing.starter.
For some reason enableJoystick can't be found and the joystick isn't responding.
Help would be apreciated.

#1
02/07/2007 (7:31 pm)
Have you set up moveMap to take the input and call the corresponding function?
moveMap.bind(joystick0, "button0", fireFunction);
#2
02/08/2007 (3:10 am)
Well Michael,
I've done some research and appparently, joysticks were never added to Macs.