[Studio Beta] Introducing Gamepad Controller Emulator

How do you turn the controller emulator off?


Kind of what’s going on:

After toggling on the controller emulator, and pressing play (f5) in studio, UserInputService.GamepadEnabled is true, with of course the keybinds being mapped to controller buttons. Which is to be expected…

So when stopping the playtest, and clicking the controller emulator icon again, the widget disappears, which I’d assume is turning the controller emulator off.
BUT despite having the widget not showing or what I’d presume the controller emulator being off, I playtest again, though for some reason during that playtest the property UserInputService.GamepadEnabled is still set to true(?) even though the controller emulator widget is not currently open and the keyboard keys are not currently mapped to a controller (Which this last part is expected behavior as far as I’m aware but not the GamepadEnabled state).

So to disable the GamepadEnable state from being set true, I turned the beta off (Though closing studio and opening the same place again does that too);
Though I wanted to make a comment on this because the behavior of that specific part seems confusing or unexpected. I turned the beta back on to double check, this only occurs after you turn the controller emulator on for the first time.

Forgot to mention the device was set to HD 1920x1080 under PC, and never changed this throughout the process.


TLDR:

UserInputService.GamepadEnabled is set to true in playtest even though the controller emulator widget is not on/visible.

10 Likes