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

Mac trackpad gestures are unsupported #145

Open
dianzrong opened this issue May 13, 2023 · 3 comments
Open

Mac trackpad gestures are unsupported #145

dianzrong opened this issue May 13, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@dianzrong
Copy link
Collaborator

dianzrong commented May 13, 2023

I'm not sure if there are similar issues with other trackpads but currently some macbook trackpad gestures aren't logged or logged incorrectly.

@dianzrong dianzrong added the enhancement New feature or request label May 13, 2023
@abrichr
Copy link
Member

abrichr commented May 13, 2023

Thanks for flagging @dianzrong ! We use https://github.com/moses-palmer/pynput to record and replay actions. Here are a couple of issues that seem relevant:

moses-palmer/pynput#513

moses-palmer/pynput#327

Either we should implement a fix in https://github.com/abrichr/pynput, or at the very least we should update our README to indicate that these are unsupported.

@dianzrong dianzrong self-assigned this May 15, 2023
@dianzrong
Copy link
Collaborator Author

dianzrong commented May 17, 2023

After looking into this issue, I think our time would be best used elsewhere, so our README should be updated. I also discovered that touchpad gestures (with Windows 10) are also not supported

@dianzrong
Copy link
Collaborator Author

Note:

  • we would probably want a touchpad folder in pynput/lib where we could put the code for the different operating systems
    • if we wanted to windows touchpad gestures (list)to be logged, we can use their GetTouchProperties class to detect if there's a touchpad
    • On Apple we would do something similar to what’s done in pynput/lib/mouse/_darwin with NSEvent but with the touch-based events here

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

No branches or pull requests

2 participants