- Windows: Bumped
windowsdependency to0.48because0.47was yanked.
- Windows:
Key::ControlpressesControland no longer the leftControl.
- all: Added a ton of keys (e.g F21-F24 keys and the XBUTTON1 & XBUTTON2 mouse buttons are now available on Windows). Some of them are OS specific. Use conditional compilation (e.g
#[cfg(target_os = "windows")]) to use them to not break the build on other OSs. - examples: New example
platform_specific.rsto demonstrate how to use keys/buttons that are platform specific
- macOS: Fixed entering Key::Layout
We should have bumped the minor version with the last release. Sorry about that. Have a look at the changes of 0.0.15 if you come from an earlier version.
- Windows:
mouse_scroll_ywith a positive number scrolls down just like on the other platforms - Windows: replaced
winapiwith the officialwindowscrate - Rust: Using Rust version 2021
- Rust: Minimum supported Rust version (MSRV) is set in Cargo.toml
- Rust: MSRV is 1.64
- macOS, Windows: Moved the functions
main_display_sizeandmouse_locationfromEnigotoMouseControllable
- DSL: Additional ParseError variants to give better feedback what the problem was
- DSL: Additional keys
- All: Added support for F10-F20
- CI/CD: Github Workflows to make sure the code builds and the tests pass
- Traits: Added the functions
main_display_sizeandmouse_locationtoMouseControllable - Linux: Implemented the functions
main_display_sizeandmouse_locationforMouseControllable
- Windows: panicked at
cannot transmute_copy if U is larger than T(enigo-rs#121) - Windows: Inconsistent behavior between the
mouse_move_relativeandmouse_move_tofunctions (enigo-rs#91) - Windows, macOS: Stop panicking when
mouse_downormouse_upis called with either ofMouseButton::ScrollUp,MouseButton::ScrollDown,MouseButton::ScrollLeft,MouseButton::ScrollRightand instead scroll - Windows: Always use key codes to be layout independent. Only use scan codes for
Key::Layout(Fixes enigo-rs#99, enigo-rs#84) - macOS:
key_clickno longer triggers a segmentation fault when called withKey::Layoutargument (Fixes enigo-rs#124) - macOS: Double clicks now work (enigo-rs#82)