Gamepad Questions
by Zach · in Torque Game Engine · 11/18/2006 (10:45 pm) · 2 replies
Hi everyone. I posted this in the private forum but got no reply so I though I would try here.
I have a Logitech dual action usb gamepad that I'm experimenting with for gameplay ideas. I'm not very experienced in scripting or programming and I've hit a wall when trying to figure out a couple of things.
I've been able to map the gamepad to the actions I want in game but I'm having a problem with the directional pad and left analog stick. If I press a button on the dpad then I am unable to hit another button on the dpad until I let off of the button. This makes it impossible to move in diagonals using either the dpad or the left analog stick. Is there a way to make the buttons work like the keyboard where you could hold down forward and left and move in a diagonal?
The second issue I'm having is trying to bind the camera rotation that you would normally do with the mouse to the right analog stick. Is there a way to control the camera tilt and rotation with the right analog stick while moving the player with the left?
If anyone has any experience working with gamepads or has any bit of knowledge to help me with these two things I would really appreciate it.
I have a Logitech dual action usb gamepad that I'm experimenting with for gameplay ideas. I'm not very experienced in scripting or programming and I've hit a wall when trying to figure out a couple of things.
I've been able to map the gamepad to the actions I want in game but I'm having a problem with the directional pad and left analog stick. If I press a button on the dpad then I am unable to hit another button on the dpad until I let off of the button. This makes it impossible to move in diagonals using either the dpad or the left analog stick. Is there a way to make the buttons work like the keyboard where you could hold down forward and left and move in a diagonal?
The second issue I'm having is trying to bind the camera rotation that you would normally do with the mouse to the right analog stick. Is there a way to control the camera tilt and rotation with the right analog stick while moving the player with the left?
If anyone has any experience working with gamepads or has any bit of knowledge to help me with these two things I would really appreciate it.
About the author
#2
but now when I use the analog sticks for camera rotation it just spins wildly. I've tried playing with the input stuff in prefs but I haven't been able to figure out how to adjust it
11/19/2006 (1:17 pm)
I was able to get the analog sticks working with this resource - http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6904but now when I use the analog sticks for camera rotation it just spins wildly. I've tried playing with the input stuff in prefs but I haven't been able to figure out how to adjust it
...
Im really interested in gamepads & torque but dont have the experience to answer your question. I hope you get an answer soon .
Doesnt the directional pad have a seperate button (input code) for diagonals ? just guessing
Why cant you move with the analogstick ?