add an optional parameter to InputMap.action_add_event to insert the event at a specific index. #4857
AlaraBread
started this conversation in
Engine Core
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am making a rebind button and I want to have two separate bindings for each action. One for keyboard/mouse and one for controller. In order to make this work, I needed to write this function that would insert an action at a specific index in the event list for each action:
It seems like I shouldn't have to do this to get such basic functionality. Could a new parameter be added to InputMap.action_add_event to simply insert the event somewhere other than the end of the list?
Or am I not supposed to be using the array indexes this way?
Beta Was this translation helpful? Give feedback.
All reactions