RoboSparrow / mcapt

The Unlicense
0 stars 0 forks source link

capture inital abs pointer position and screen dimensions #1

Closed RoboSparrow closed 1 month ago

RoboSparrow commented 3 months ago

Required for replay, visualising.

The kernel/driver level captures only relative mouse movement. AFAIK we need to go higher and query such data from to the Window manager level.

There are a number of window managers for Linux, based on different protocols (X11, Wayland). I think the best option is to use a lightweight library (SDL) to ensure broad compatibility