chriscalef Posted March 10, 2018 Share Posted March 10, 2018 Mine is a USB Logitech Extreme3DPro, it seems to be attached, isJoystickEnabled() returns "1", but bindings to "joystick" or "joystick0" don't work. I found this old link that still seemed to be partially relevant, at least re: the changes to winDirectInput.cpp https://www.garagegames.com/community/forums/viewthread/36053However, when I call echoInputState() I get "DirectInput not enabled", even though $enableDirectInput = 1.Anybody got any ideas? Quote Link to comment Share on other sites More sharing options...
Timmy Posted March 12, 2018 Share Posted March 12, 2018 If you are building with TORQUE_SDL enabled, it will disable the DirectinputManager stuff. To be honest i have no clue what the state of joystick support is like when sdl is enabled but considering there is no SDL_JoystickOpen() in the source code, i would say not good :lol: Jokes aside, there is no joystick support with sdl yet (well sdl handles joysticks just fine, just no support in the t3d sdl platform stuff i mean), so you will have to build the engine with TORQUE_SDL disabled (obviously windows only) to get joystick support for now and unfortunately if you are using development branch this is no longer supported, so no joystick support until someone writes in support for the sdl joystick stuff. Quote Link to comment Share on other sites More sharing options...
chriscalef Posted March 12, 2018 Author Share Posted March 12, 2018 Oh, I see. Well thanks, that's good to know. I believe I can solve my immediate problem by sending joystick trigger data over from FlightGear, but glad to know I should stop beating my head against the T3D implementation for now. Quote Link to comment Share on other sites More sharing options...
OTHGMars Posted March 20, 2018 Share Posted March 20, 2018 If you could, please try that Logitech flight stick with this branch http://forums.torque3d.org/viewtopic.php?f=10&t=1205 and post the results. I am very curious if it detects it as a GameController or not and if it handles the axes correctly. I do not have any similar devices to test with. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.