Divinik
Member
I'm using the standard input variables for my controller code:
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?
Code:
if gamepad_is_connected(0)
{
sprite_index = x;
//insert input options here
}
else {//keyboard options};