osu-framework icon indicating copy to clipboard operation
osu-framework copied to clipboard

Fix Windows Ink events being handled as touch events

Open Susko3 opened this issue 3 years ago • 0 comments

Depends on:

  • [x] https://github.com/flibitijibibo/SDL2-CS/pull/234
  • [ ] https://github.com/libsdl-org/SDL/pull/5926
  • [ ] ppy/SDL2-CS deploy with the above

  • Closes https://github.com/ppy/osu/issues/19150

Previously (without SDL_HINT_TOUCH_MOUSE_EVENTS = "0") pen/touch inputs were sent as mouse events. Disabling Use Windows Ink in wacom driver settings fixes the issue, as it reports inputs as mouse events.

This also fixes in-game tablet handling clashing with Windows Ink "touches", as InputManager will properly block unwanted mouse events (but won't block touch events!).

Susko3 avatar Jul 17 '22 15:07 Susko3