Input.parse_input_event() not working with joypad input event actions when no joypads are connected?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By RudyFisher

I’m using Input.parse_input_event() to simulate a joypad with custom touchscreen controls for mobile devices when no joypads are connected. It doesn’t seem to work unless the device ID that I am simulating (device id = 0) is connected (which obviously defeats the purpose). It works great as long as the joypad is connected though.

Note that I have tried to parse both the joypad events directly as well as the mapped InputEventActions (which are what the player script is checking for). Also note that the InputEventActions aren’t necessarily associated directly with a device id when used with Input.parse_input_event()

Any help would be appreciated.



:bust_in_silhouette: Reply From: RudyFisher

Turns out my logic was flawwwwed. Thanks.

Anything you did specifically to fix? I am running into the same issue. Trying to trigger an action based on a button press to make my game compatible with mobile.