This is weird and frustrating.
I have a very simple script that senses if a joystick is connected.
All I used was the variable connected which senses if there’s a controller connected right? Well, it doesn’t, when I start the game, it senses it once and that’s it.
For example, if I have the controller plugged in, then start the game engine, it senses the controller. If I unplug it, it doesn’t sense that the controller was unplugged, the connected variable stays on True. It’s vise versa if I have the controller unplugged when I start.
Any ideas?
I would post a .blend, but it’s too simple. It’s literally just using the connected variable, with an always and a joystick sensor connected to the python script. What could be the problem?
Linkxgl