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

Better Gamepad support #776

Open
hobnob opened this issue Oct 29, 2024 · 0 comments
Open

Better Gamepad support #776

hobnob opened this issue Oct 29, 2024 · 0 comments
Assignees

Comments

@hobnob
Copy link
Member

hobnob commented Oct 29, 2024

We've come a long way in Gamepad support, but it could probably be better. The vague idea I have at the moment is that we map common gamepad types (Xbox, Playstation, Switch) and allow events to be fired based on those peripherals. For example, a Gampad.Button enum could be be used to determine if X, Y, A, B, □, △, or ○ were pressed using a GamepadEvent.ButtonDown. Each Gamepad could likewise have a GamepadType enum to determine what sort of gamepad it is (again, Xbox, Playstation, Switch), and some types could support orientation (such as a Switch controller)

I'm not entirely sold on that concept or completely sure of all the technical feasabilities, but certainly something like it.

@hobnob hobnob self-assigned this Oct 29, 2024
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