how do I make specific Input keys In a keyboard not trigger anything or how do I only make my character move to a an d and not w and s, like wasd but without “ws” basically pressing one of the keycodes w or s wont trigger anything or will not move my character to the specific direction
I’m unsure what’s your use case, but if you want it to be in a more native way, you’ll have to fork the PlayerModule, and edit the movement handler binds.
If you’ll do this, there are some keywords to search for:
- :BindContextActions()
- :UpdateMovement(inputState)
These are the methods inside Keyboard module.
For mobile/console input, search for self.moveVector inside modules with “Thumbstick” in their names, like TouchThumbstick/DynamicThumbstick (Mobile), and Gamepad module for Gamepads (Console) respectively