Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add disable/enable virtual buttons feature #1247

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IbrahimTahaSanli
Copy link

With this pr you can change which virtual buttons show and which dont. I wrote this feature for my broken xbox controller. My xbox controller start button broke and if i need to use it i have to open up virtual buttons but it leads to put all the buttons i dont need.

Now i can disable others which wont show or interract while playing.
I change virtual button configuration flow to Disable/Enable->Move->Resize.

1
In this image i get in the configuration and enable Start button, right joystick, RB and RT buttons.

2
After disabling other buttons it set visibility to invisible so they are not going to interactable or visible.

3
In game it will look like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant