Gem
Gem copied to clipboard
multipointer support
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)
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)
this is now halfway implemented (starting with 9d96f21d467f0c): 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)
[gemglutwindow] has multipointer support since 4fa5d2d2 (at least when using a recent enough version of freeglut)
commit acb41bfd8 theoretically added support for [gemsdlwindow] (doesn't seem to work though)
TODO
- [ ]
gemcocoawindowis there actually multi-pointer support on OSX? (there's a slight difference between multi-touch and multi-pointer) - [x]
gemglfw2window(API does not support multi-pointer) - [x]
gemglfw3window(API does not support multi-pointer) - [x]
gemglutwindow(working on Debian) - [ ]
gemglxwindow(optional support for XInput2) - [x]
gemsdlwindow(code is there, but multi-pointers are not reported - at least on on Debian) - [ ]
gemw32windowis there actually multi-pointer support on W32?
we won't bother about gemmacwindow (it's there mainly for legacy purposes)