Gamepads
by Alex Illsley · in Torque Game Engine · 06/03/2006 (1:43 am) · 16 replies
How do i get my gamepad to work?? I have it installed and working and have followed this guide tdn.garagegames.com/wiki/GettingTorqueConsoleReady but still cant get it to work. How can i get it work??
Thanks,
Alex
Thanks,
Alex
#2
06/04/2006 (6:27 am)
What do you mean 'I have it installed and working but cant get it too work'?
#3
06/04/2006 (6:30 am)
I cant get it to work with torque
#4
06/04/2006 (7:01 am)
Try "joystick0" as device instead of "gamepad".
#5
06/04/2006 (7:03 am)
Ok, just testing
#6
06/04/2006 (10:35 am)
I did what you said but nothing happened still. How can i get it to all work with the joystick?
#7
06/04/2006 (11:16 am)
Just out of curiosity, you do have a XBox 360 controller to use the resource with, right?
#8
06/04/2006 (11:24 am)
I am using a PS2 controller going through a USB converter as a joystick. It works with a programming langauage called darkbasic. I have just been trying to get it to work with tourque
#9
torque doesn't exactly like changes to your default bind files.
06/04/2006 (11:45 am)
Try running a cleanup on your DSO and pref files. theres two .bat files in the example folder.torque doesn't exactly like changes to your default bind files.
#10
06/04/2006 (6:05 pm)
Ah. I've not played with a USB PS2 controller so I can't be of much help there. I got the 360 controller up and running rather quickly but never tweaked it long enough to make it work nicely. My purpose was testing. It was mushy, but it worked. The mushiness was on my side, not the controller or the interface.
#11
I dont mean the stuff on TDN I mean your modified stuff
06/05/2006 (7:58 am)
Could you send us the code you have?I dont mean the stuff on TDN I mean your modified stuff
#12
06/05/2006 (8:41 am)
I'll have to go back and look. I believe it was 1.02 of T2D. It may have been the first public beta. I basically took the TDN article and the various forum posts and put them together. I didn't check it into my CVS (I really need to use Subversion instead, but old habits die hard) because it was more of playing around than anything. I'll see if it has survived my many clean-up attempts.
#13
and add this line to pref.cs
Thanks,
Alex
06/05/2006 (8:44 am)
All i did was type this command prompt $enableDirectInput = "1"; activateDirectInput(); enableJoystick();
and add this line to pref.cs
$pref::Input::GamepadEnabled = "1";
Thanks,
Alex
#14
07/01/2006 (1:38 am)
You also need keybinds
#15
07/01/2006 (1:40 am)
Whats that?
#16
07/01/2006 (7:19 am)
You need to bind your keys on your controller to actions. You should check out your default binds in your game/client foulder.
Torque Owner Alex Illsley