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

log mouse clicks too (enchantment) #170

Open
Areso opened this issue Aug 14, 2017 · 6 comments

Comments

Projects
None yet
4 participants
@Areso
Copy link

commented Aug 14, 2017

Left click right click scroll click and scroll movement up or down.
It would be very nice
*edited

@bdantas

This comment has been minimized.

Copy link
Contributor

commented Oct 10, 2017

I could use this, too. For my purposes I just need left click. Nothing fancy--no need for coordinates, window name, or anything like that. Just simple fact that left mouse button was clicked to show up in log.

If you can point me in the right direction, I'd be more than happy to chip away at adding this feature.

@kernc

This comment has been minimized.

Copy link
Owner

commented Oct 10, 2017

This unfortunately won't be as trivial and likely would require using and linking to Xlib (or something like it for wayland?), which then will fail to work when not run within an X session (i.e. on a headless, virtual console, i.e. a remote server).

@bdantas

This comment has been minimized.

Copy link
Contributor

commented Oct 10, 2017

That's a pity, but I understand the desire to stay portable and avoid entanglement.

@Areso

This comment has been minimized.

Copy link
Author

commented Oct 10, 2017

Could you do it via Try-Except-Finally wrapper, at least for X11 system? For me there are no need to log mouse in GUI-less mode...

@kernc

This comment has been minimized.

Copy link
Owner

commented Oct 10, 2017

Someone could do it, yes ... 👍

@Hritik14

This comment has been minimized.

Copy link
Contributor

commented Mar 13, 2019

I'd like to work on this but expect it to take more than a month.
Please inform if anyone else is already working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.