Indiana Kernick
Indiana Kernick
@jaredgrubb Unrelated, but what's the use-case for `value::hash()`?
@jaredgrubb I see your point about the side-effects but I don't think that would be a problem given the usage of the function. I don't really do a lot of...
> Maybe we should fix isLong to handle both cases? I'm not sure what you mean. Could you explain?
I've been thinking about this for a while and the side effect of `convertToLong` really shouldn't be a problem as long as you check the return value. The return should...
The macOS implementation would look like this: ```rust impl Enigo { pub fn clear_modifiers(&mut self) { let event = CGEvent::new(self.event_source.clone()).unwrap(); event.set_type(CGEventType::FlagsChanged); event.set_flags(CGEventFlags::CGEventFlagNull); event.post(CGEventTapLocation::HID); } } ``` I guess another alternative...
I'm doing something very similar and running into the same problem. Creating a new `Enigo` instance for every message seems to work but I get this error spammed in the...
From what I can tell on the macOS side of things, you'll need to generate multiple key down events if you want the key to repeat. For repeated key downs,...
Changing this for macOS is a piece of cake. Just requires changing two lines. I suspect the macOS implementation is using line scrolling to be compatible with the other implementations.
I also ran into this
Click events on macOS have a click count. A double click has a click count of 2. To create a double click, you need to emit a mouse-down and mouse-up...