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

multipointer support #42

Open
umlaeute opened this issue Aug 21, 2014 · 5 comments

Comments

Projects
None yet
1 participant
@umlaeute
Copy link
Owner

commented Aug 21, 2014

it would be great if the mouse-events reported by [gem*window] would have a pointer-ID, so one could actually attach multiple-pointers to a single window (think multitouch)

@umlaeute umlaeute added this to the 0.94 milestone Aug 21, 2014

@umlaeute

This comment has been minimized.

Copy link
Owner Author

commented Aug 21, 2014

while being there, maybe we should also have a "keyboard ID" for multiple keyboards attached to a window (even if this is always 0 in practice)

@umlaeute

This comment has been minimized.

Copy link
Owner Author

commented Aug 26, 2014

this is now halfway implemented (starting with 9d96f21): the [gem*window] objects all output a deviceID along with mouse/keyboard messages.

TODO: implement actual multi-pointer support in the various window-backends (currently all use 0 as the deviceID)

@umlaeute

This comment has been minimized.

Copy link
Owner Author

commented Aug 26, 2014

[gemglutwindow] has multipointer support since 4fa5d2d (at least when using a recent enough version of freeglut)

@umlaeute

This comment has been minimized.

Copy link
Owner Author

commented Aug 26, 2014

commit acb41bf theoretically added support for [gemsdlwindow] (doesn't seem to work though)

@umlaeute

This comment has been minimized.

Copy link
Owner Author

commented Aug 28, 2014

TODO

  • gemcocoawindow
    is there actually multi-pointer support on OSX? (there's a slight difference between multi-touch and multi-pointer)
  • gemglfw2window (API does not support multi-pointer)
  • gemglfw3window (API does not support multi-pointer)
  • gemglutwindow (working on Debian)
  • gemglxwindow (optional support for XInput2)
  • gemsdlwindow (code is there, but multi-pointers are not reported - at least on on Debian)
  • gemw32window
    is there actually multi-pointer support on W32?

we won't bother about gemmacwindow (it's there mainly for legacy purposes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.