Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
8 changes: 4 additions & 4 deletions src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 {
Expand Down
Loading