-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Comments
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? |
Remove EntityToBody resource
This feels like a surprisingly straight-forward problem to be the oldest open issue on Bevy. |
fix doc comment
I'm looking into working on this as my first contribution, and I'd like some affirmation that the way I have a sensible plan:
I think I'm not going to try and update bevy's pointer API's to support multiple pointers associated with different pointer devices, since (I think) those are supposed to imitate the underlying OS's pointer behavior, and most (all?) OS's don't this. |
Hey, just so you're aware, winit (our windowing lib) is moving to a pointer abstraction in its next release. So I think we are probably just going to switch to a unified pointer api (and possibly scrap a big portion of the existing bevy_input) instead of making additions to what we already have. |
I was not aware, thanks for saving me the trouble, I'll look for another issue that seems doable. |
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.The text was updated successfully, but these errors were encountered: