On Tue Jun 18 22:48:47 2024 +0000, Errno Ebadf wrote:
Again, apologies for my assumption earlier! Your changes do already take the x and y as specified. My two cents is it doesn't matter if you keep the flags or not. Keeping the flags makes it easier for drivers to implement absolute/virtual rawinput mouse in the future, but would they? Maybe for a tablet. Note hardcoding 0 is the same as MOUSE_MOVE_RELATIVE. Following along at https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-rawmo..., the special thing to know about absolute raw input is that x and y are out of 65535 (i.e. 16 bits of precision). I'm not really sure how MOUSE_VIRTUAL_DESKTOP would work out.
These changes are for absolute raw motion, which isn't available in wayland IIUC anyway. I'm not sure you need to worry about them.