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

FEAT: Support firing event when Bindings Change #1

Open
AnEmortalKid opened this issue Aug 5, 2023 · 1 comment
Open

FEAT: Support firing event when Bindings Change #1

AnEmortalKid opened this issue Aug 5, 2023 · 1 comment

Comments

@AnEmortalKid
Copy link

I recently found this asset after making my own version,

With the onActionChange callback on the InputSystem: https://docs.unity3d.com/Packages/[email protected]/manual/Actions.html#inputsystemonactionchange-callback

It is possible to detect when a binding changes (ex a key is rebound): https://docs.unity3d.com/Packages/[email protected]/api/UnityEngine.InputSystem.InputActionChange.html?q=InputActionChange

And fire the OnActiveDeviceChanged event.

@simonoliver
Copy link
Owner

Thanks for the suggestion, I'll aim to get this added in an upcoming release

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

No branches or pull requests

2 participants