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

support multiple pointer devices #15

Open
karroffel opened this issue Jun 5, 2020 · 2 comments
Open

support multiple pointer devices #15

karroffel opened this issue Jun 5, 2020 · 2 comments
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Feature A new feature, making something new possible D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes S-Ready-For-Implementation This issue is ready for an implementation PR. Go for it!

Comments

@karroffel
Copy link
Contributor

The current Input<MouseButton> interface is very nice but implies the existence of a single mouse input device.

In future maybe multiple mice or touch inputs want to be supported (touch having a "backwards compatible" interface with MouseButton maybe?), for that a mechanism to select/retrieve the input device ID would be needed.

@karroffel karroffel added C-Feature A new feature, making something new possible A-Input Player input via keyboard, mouse, gamepad, and more labels Aug 12, 2020
@inodentry
Copy link
Contributor

Now that bevy has an API for touch input (and since mice and touch are different things anyway), can we adjust this issue (change the title, etc) to be about supporting multiple mice / pointer devices, specifically?

@karroffel karroffel changed the title support multiple mice / touch events support multiple pointer devices Oct 21, 2020
superdump referenced this issue in superdump/bevy Jul 2, 2021
cart pushed a commit that referenced this issue Jul 24, 2021
cart pushed a commit that referenced this issue Jul 24, 2021
pcwalton pushed a commit to pcwalton/bevy that referenced this issue Aug 30, 2021
@bushrat011899
Copy link
Contributor

This feels like a surprisingly straight-forward problem to be the oldest open issue on Bevy.

tigregalis pushed a commit to tigregalis/bevy that referenced this issue Jun 24, 2024
@BenjaminBrienen BenjaminBrienen added S-Ready-For-Implementation This issue is ready for an implementation PR. Go for it! D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Feature A new feature, making something new possible D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes S-Ready-For-Implementation This issue is ready for an implementation PR. Go for it!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants