Windows Ink (pen tablet input) doesn't generate SDL_EVENT_MOUSE_MOTION events in fullscreen
- Originally reported in https://github.com/ppy/osu/issues/30641
Moving the pen over the tablet (without pressing down) generates SDL_EVENT_MOUSE_MOTION events when in windowed. But setting the window to fullscreen, the events suddenly stop arriving.
If the pen is pressed down, SDL_EVENT_FINGER_MOTION events (with touch name = "pen") arrive as expected, in windowed and fullscreen.
Related issue https://github.com/libsdl-org/SDL/issues/11479
I haven't tested this since Windows Ink support landed; does this plus #11869 settle this issue out?
Okay, I tested this, and we send virtual mouse events (which=SDL_PEN_MOUSEID) when Windows Ink pens are touching the drawing surface. I'm about to push a change that lets them report mouse motion without a left button press when not touching, which I've tested on Windows.