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

Add an example that supports gamepad/keyboard based navigation #224

Open
ajusa opened this issue Jan 25, 2025 · 0 comments
Open

Add an example that supports gamepad/keyboard based navigation #224

ajusa opened this issue Jan 25, 2025 · 0 comments

Comments

@ajusa
Copy link

ajusa commented Jan 25, 2025

This was briefly discussed on the discord, but it would be very helpful to have a good example that shows how to extend Clay to support gamepad/keyboard based navigation in a UI.

I'm imagining something similar to https://www.youtube.com/watch?v=DYWTw19_8r4, but with arrow keys/d-pad allowing for navigation between the top menu, the bottom panel, and the left panel, and supporting scrolling with the d-pad. Hopefully this is possible to do with Clay as is - if it isn't, it may be helpful to extend the API to declare "focusable" elements somehow.

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

1 participant