With SDL_HINT_PEN_MOUSE_EVENTS disabled, and SDL_SetWindowRelativeMouseMode on, pen events leak into mouse motion and button events.
Tested with a real pen-tablet, but this can also be seen on a Chromebook / desktop emulator in Android Studio, which seems to emulate pen events from physical mouse input.
With
SDL_HINT_PEN_MOUSE_EVENTSdisabled, andSDL_SetWindowRelativeMouseModeon, pen events leak into mouse motion and button events.Tested with a real pen-tablet, but this can also be seen on a Chromebook / desktop emulator in Android Studio, which seems to emulate pen events from physical mouse input.