BlankSourceCode / obs-zoom-to-mouse

An OBS lua script to zoom a display-capture source to focus on the mouse
286 stars 27 forks source link

Add support for Linux/Mac #1

Closed BlankSourceCode closed 10 months ago

BlankSourceCode commented 11 months ago

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.

BlankSourceCode commented 10 months ago

Fixed by #16