Currently this script only works on windows because it uses FFI to get the cursor position via a Win32 API.
My guess is that we could make it work with other OS's by adding the appropriate FFI calls to whatever the equivalent is to GetCursorPos() on non-windows.
Currently this script only works on windows because it uses FFI to get the cursor position via a Win32 API.
My guess is that we could make it work with other OS's by adding the appropriate FFI calls to whatever the equivalent is to
GetCursorPos()
on non-windows.