Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions to hs.mouse to get more information about cursor type #3628

Open
germanartalejo opened this issue Apr 11, 2024 · 1 comment
Open

Comments

@germanartalejo
Copy link

Hi, I was wondering if it could be possible to get the current cursor’s hotspot, image and image frame. If there’s already a way to get them I couldn’t find it.

Thanks in advance.

@dmgerman
Copy link

Look at extensions/mouse/libmouse.m

That is the low level mouse code. It looks like it might be easy to add new functionality. You could add the functions and test them.

See https://developer.apple.com/documentation/appkit/nscursor/1529096-hotspot?language=objc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants