Game Development Community

[beta2 bug] enableJoystick() fails if called when the window is out of focus

by Manoel Neto · in Torque 3D Professional · 06/26/2009 (3:15 pm) · 1 replies

If called while the screen has no focus, enableJoystick() does not actually enable the joystick and must be called manually via the console after re-gaining focus.

Haven't tested on beta 3.

#1
06/26/2009 (4:19 pm)
In B3: I can't get enableJoystick() to call. I put a breakpoint in DInputManager::enableJoystick() and ran with no joystick, plugged in joystick (with no focus). Was able to use it and the function was never called.

Not sure I can test the scenario.