Hello there,
I am using (and is necessary for my game) a logitech joystick (attack 3 or extreme pro 3) and when it gets disconnected, and want to reconnect it, it doesn't work anymore. and I can't afford to restart the game, the way it is designed.
Does anyone know why, and if so, is there a way to fix it? like if it disconnects and reconnects, it should still work?
Thank you,😛
EDIT: RMMV installed on windows 10, through steam
You should check whether Windows (as i assume you're using it) takes it as a preferred device. Go to Control Panel > Hardware > Devices > Right Click on your controller > Advanced Options. This must be done when your device is connected.
Then choose your gamepad. I don't know if this will fix it since i'm using a PS4 controller and it works after disconnecting and reconnecting (And so do my other 4 generic gamepads).
So, most basic troubleshooting measure - does it work in other games?
That will give a clue as to whether it's an issue in windows, as Erif is referring to, or an issue with your RPG Maker game.
My very first impression is that it shouldn't be anything to do with RPG Maker. MV shouldn't have any way to know - nor should it care - whether your gamepad has been disconnected or not. So long as it's receiving the input from your OS, it should work.
It's also a bit confusing, the way you wrote some of that. Are you saying your gamepad is getting disconnected while playing the game? If so, it's possible that could glitch something...but that's an atypical scenario. Most people are not going to unplug their controllers during play.
This is getting pretty low level into how the engine interacts with input from your operating system.
It's possibly even at the level of how the Chromium browser receives and interacts with input from the operating system, and not have anything to do with code from RPG Maker.
You may just have to wrap some tape around the cord or something so it doesn't pull out when you're in the middle of the game.