Skip to content

ButtonRebindsFilter: Set cursor position when rebinding tablet events

Joshua Goins requested to merge work/redstrate/change-mouse-cursor-pos into master

Since the tablet cursor and the mouse cursor is tracked separately, rebinding a tablet button to a mouse click is sort of wonky. For example, if you assign it to Right Click and attempt to open a context menu it will appear to open in the wrong place.

So before we send the mouse button event, set the mouse position to the tablet cursor position.

Blocked on

Edited by Joshua Goins

Merge request reports