diff --git a/CHANGELOG.md b/CHANGELOG.md index b06ca59..5f1b0d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Unreleased - **Breaking:** `Device::name`, `Device::output_name`, `Seat::physical_name` and `Seat::logical_name` now return Cow strings due to lossy conversion into UTF8 +- **Breaking:** `Device::config_tap_default_drag_lock_enabled` and `Device::config_tap_set_drag_lock_enabled` now use `DragLockState` type rather than `bool` - Added support for libinput 1.23, 1.26, 1.27, 1.28 features ## 0.9.1 diff --git a/Cargo.toml b/Cargo.toml index c6c0c54..3d84c31 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,3 +46,6 @@ libinput_1_28 = ["input-sys/libinput_1_28", "libinput_1_27"] members = [ "input-sys" ] + +[package.metadata.docs.rs] +features = ["libinput_1_28"] diff --git a/src/device.rs b/src/device.rs index ff58179..c79a5e8 100644 --- a/src/device.rs +++ b/src/device.rs @@ -1372,7 +1372,7 @@ impl Device { /// Check if configurable middle button emulation is enabled by /// default on this device. /// - /// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html) for details. + /// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle-button-emulation.html) for details. /// /// If the device does not have configurable middle button /// emulation, this function returns `false`. @@ -1395,7 +1395,7 @@ impl Device { /// Check if configurable middle button emulation is enabled on /// this device. /// - /// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html) + /// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle-button-emulation.html) /// for details. /// /// If the device does not have configurable middle button @@ -1418,7 +1418,7 @@ impl Device { /// Check if middle mouse button emulation configuration is /// available on this device. /// - /// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html) + /// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle-button-emulation.html) /// for details. /// /// ## Note @@ -1435,7 +1435,7 @@ impl Device { /// buttons generates a middle mouse button release, the left and /// right button events are discarded otherwise. /// - /// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html) + /// See [Middle button emulation](https://wayland.freedesktop.org/libinput/doc/latest/middle-button-emulation.html) /// for details. pub fn config_middle_emulation_set_enabled(&self, enabled: bool) -> DeviceConfigResult { match unsafe {