Locked Controls

Good day all.


I am noticing what could turn out to be a bug in the core engine, which seems to come up in any project I test play, regardless of platform (happens on android as well as windows). I have tested with a blank project and it also still happens.


Issue: XInput or touch controls do not  work at all when the game is first launched.


Better Description of Problem:


When test playing a project using an gamepad with xinput support  (xbone/xbox360 controller for windows)  The actual controls for it do not become active when the game is first launched. When on the titlescreen, the up/down directions on the controller do nothing, and the first press of any of the normal facebuttons does nothing. After the first button press, the controller proceeds to work normally for the rest of the interaction, until the game is closed and re-opens.


When testing the same game on a webserver from my phone in the browser, the default touch controls work normally, but a project which turns off the default touch controls in favor of an onscreen touch-interface will not become active once the game is started - I suspect for the same reason the controller doesn't initially become active when the game is launched until a facebutton on it is pressed. The only way to get touch controls with this beta plugin working is to hook a bluetooth keyboard up to my phone and press a key on it. I suspect this is the same issue because the plugin likely emulated gamepad button presses from the onscreen touch controls.


Has anyone else had this problem with the gamepad input? Is there a plugin to initialize gamepad support without having to ignore the first facebutton press?


Thanks

Original thread: https://forums.rpgmakerweb.com/threads/locked-controls.57625/