#How do I see if the mouse is down using the enigo crate?

3 messages · Page 1 of 1 (latest)

torpid shadow
#

I am trying to use the enigo crate (https://crates.io/crates/enigo) to check is the mouse is currently pressed, but I cannot figure out how to do this. Does this crate not support this behavior? If not, is there another crate I can use instead?

proud rain
#

Well, that crate seems to be targeted at controlling the mouse (and keyboard), not reading/capturing it