Game Development Community

Joystick / custom controls controlling player and camera movemen

by Mark Grob · in Torque Game Engine · 04/21/2004 (4:58 pm) · 1 replies

Hello all,
I'm looking to add support for a headtracker (which shows up as a regular DirectX joystick), and use it to control player and camera movement. I've been looking over the Input Model but I am still not clear how the engine processes / uses joystick events (though keyboard events are quite clear). Can someone please point me in the right direction on figuring out how joystick events come into the engine and are processed? Thanks a lot.

#1
04/22/2004 (6:50 am)
If you haven't already, look at these two resources -
Racing Wheel, Flight Stick and Gamepad Support for Torque (Windows)
Add Gamepad support to Torque

They'll show you a lot of where the input is interpreted as it comes in from DirectX.