Virtual gamepad sticking Android

I am seeking advice on how to handle my on-screen controller being stuck causing my player to get stuck running left or right.

Normal press and release works and an action.released is triggered. But if I keep my finger pressed and slide off of the button node, either onto another direction or o all buttons, it seems a released event is never fired, even after lifting my finger. Is there anyone who has solved this that is wil to share a fix? Thanks.

Not sure what’s wrong. I think it is working correctly in my virtual gamepad solution at least.

There is an example project in the repo where you can test it.

1 Like

Hmm, let me re-visit that source. I used you key buffering in my code. Maybe I should have just used all of your code. I will let you know what I find, thanks.

1 Like