Game Development Community

Detecting gamepad/joystick support

by Charles "monkeyboy" Gibson · in Torque Game Builder · 05/11/2008 (7:23 am) · 0 replies

Is there a way in script to detect whether a user's machine has a supported gamepad or joystick attached?

I want to provide a controls screen that allows users to select the type of controller they wish to use. If a supported gamepad or joystick is attached, then I would like to provide that as an option for them.