Skip to content

Gui/controller #2566

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

Draft
wants to merge 36 commits into
base: development
Choose a base branch
from
Draft

Gui/controller #2566

wants to merge 36 commits into from

Conversation

eruvanos
Copy link
Member

@eruvanos eruvanos commented Feb 14, 2025

This PR contains a draft for controller support within the UI.

The basic idea is to transform controller events to UIEvents, which could be done by the anything else later.

In addition it would make sense to integrate with the feature input system and translate on_action to OnAction events like focus_up, etc

This PR contains Kenney InputPrompts for XBox Controller, they could be used to setup interaction indicator within the UI.

What to do with this PR:

  • Discuss the state of action input to replace the UIControllerBridge
  • Discuss if the Kenney assets should be kept (https://kenney.nl/assets/input-prompts)
  • Maybe get somebody to test the API and provide feedback

This PR addresses #1270 and #2601

@eruvanos eruvanos mentioned this pull request Mar 4, 2025
17 tasks
@eruvanos eruvanos force-pushed the gui/controller branch 2 times, most recently from d224a1f to fce9a5b Compare March 9, 2025 20:24
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.

2 participants