Skip to content

Implement input binding and action system. - #7

Open
atskas wants to merge 8 commits into
mainfrom
input-bindings
Open

Implement input binding and action system.#7
atskas wants to merge 8 commits into
mainfrom
input-bindings

Conversation

@atskas

@atskas atskas commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

A necessity for the input module.

@atskas
atskas requested a review from Tweety-Lab July 19, 2026 23:25
@atskas atskas added the enhancement New feature or request label Jul 19, 2026
@Tweety-Lab

Copy link
Copy Markdown
Contributor

Will give it a thorough look sometime soon but at a quick glance I have a few notes:

  • Make sure there're bindings for VR
  • Think about different types of input, boolean for key presses, floats for triggers, Vector2 for joysticks.
  • Think about how a user might want to bind WASD and the joystick to be a movement vector. WASD bindings are booleans, joystick is a vector, how do we solve this so the user can simply query a "movement" binding for a movement vector?

I'd say take some inspiration from Godot's input binding for the last points:
https://docs.godotengine.org/en/stable/tutorials/inputs/input_examples.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants