• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows Controller not working after being unplugged?

Divinik

Member
I'm using the standard input variables for my controller code:

Code:
if gamepad_is_connected(0)
  {
    sprite_index = x;
    //insert input options here
  }
else {//keyboard options};
After my controller was unplugged (using a PS4 controller with DS4 Windows, Xinput), it no longer registers when plugged in. This has happened to me before with a PC controller. Why is this happening, and is there a way to fix it?
 
Top