TwiiZTeD Posted December 2, 2012 Share Posted December 2, 2012 I was wondering if you can Connect an Xbox 360 Controller to Leadwerks, While Testing out your Games? -TwiiZTeD Quote Link to comment Share on other sites More sharing options...
Canardia Posted December 2, 2012 Share Posted December 2, 2012 I have successfully used a PS3 controller on the PC with the SDL_Haptic lib, and I think it supports XBOX 360 controllers also. Just google for SDL_Haptic, or maybe nowadays it would be GLFW to google for, since things change, but there will be always one lib which support PS3/XBOX controllers on PC. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
gamecreator Posted December 3, 2012 Share Posted December 3, 2012 If you want to code for gamepads and joysticks, you can use the code I uploaded which uses DirectInput: http://www.leadwerks.com/werkspace/files/file/299-joystick-gamepad-example/ or the Lua Joystick example by diedir http://www.leadwerks.com/werkspace/files/file/304-lua-joystick-demo/ There may be others too. 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.
Note: Your post will require moderator approval before it will be visible.