A few questions about controllers
Posted: Tue Mar 20, 2018 3:48 am
Wow, apparently it's been 4 years since I last posted
So anyway, https://love2d.org/wiki/Joystick:getID this says that the ID stays the same even if i disconnect/reconnect a joystick, but if i unplug one and plug in another, the new one gets the ID of the first. Am I missing something?
Next, I have 4 xbox 360 controllers (wireless) and 1 xbox elite controller (wired/wireless), in linux they all show up fine, but in windows the fifth one (whichever order I plug them in) doesn't show up.
I tried setting the SDL_XINPUT_ENABLED=0 in windows env vars to try and switch to directinput but it doesn't seem to be working with the 5th. I'm not entirely sure I've done it right as I'm assuming it shouldnt list them as Xinput devices if xinput is disabled:
Windows: Ubuntu: Cheers!
So anyway, https://love2d.org/wiki/Joystick:getID this says that the ID stays the same even if i disconnect/reconnect a joystick, but if i unplug one and plug in another, the new one gets the ID of the first. Am I missing something?
Next, I have 4 xbox 360 controllers (wireless) and 1 xbox elite controller (wired/wireless), in linux they all show up fine, but in windows the fifth one (whichever order I plug them in) doesn't show up.
I tried setting the SDL_XINPUT_ENABLED=0 in windows env vars to try and switch to directinput but it doesn't seem to be working with the 5th. I'm not entirely sure I've done it right as I'm assuming it shouldnt list them as Xinput devices if xinput is disabled:
Windows: Ubuntu: Cheers!