diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
commit | 5363f350887b1e5b5dd21a86f88c8af9d7fea6da (patch) | |
tree | 35ca005eb6e0e9a1ba3bb5dbc033209ad445dc17 /vendor/windows-sys-0.28.0/src/Windows/Devices/Input/mod.rs | |
parent | Adding debian version 1.66.0+dfsg1-1. (diff) | |
download | rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.tar.xz rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/Input/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/Input/mod.rs | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Input/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Input/mod.rs deleted file mode 100644 index 454ff657f..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Input/mod.rs +++ /dev/null @@ -1,60 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Devices_Input_Preview")] -pub mod Preview; -#[link(name = "windows")] -extern "system" {} -pub type KeyboardCapabilities = *mut ::core::ffi::c_void; -pub type MouseCapabilities = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct MouseDelta { - pub X: i32, - pub Y: i32, -} -impl ::core::marker::Copy for MouseDelta {} -impl ::core::clone::Clone for MouseDelta { - fn clone(&self) -> Self { - *self - } -} -pub type MouseDevice = *mut ::core::ffi::c_void; -pub type MouseEventArgs = *mut ::core::ffi::c_void; -pub type PenButtonListener = *mut ::core::ffi::c_void; -pub type PenDevice = *mut ::core::ffi::c_void; -pub type PenDockListener = *mut ::core::ffi::c_void; -pub type PenDockedEventArgs = *mut ::core::ffi::c_void; -pub type PenTailButtonClickedEventArgs = *mut ::core::ffi::c_void; -pub type PenTailButtonDoubleClickedEventArgs = *mut ::core::ffi::c_void; -pub type PenTailButtonLongPressedEventArgs = *mut ::core::ffi::c_void; -pub type PenUndockedEventArgs = *mut ::core::ffi::c_void; -pub type PointerDevice = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct PointerDeviceType(pub i32); -impl PointerDeviceType { - pub const Touch: Self = Self(0i32); - pub const Pen: Self = Self(1i32); - pub const Mouse: Self = Self(2i32); -} -impl ::core::marker::Copy for PointerDeviceType {} -impl ::core::clone::Clone for PointerDeviceType { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct PointerDeviceUsage { - pub UsagePage: u32, - pub Usage: u32, - pub MinLogical: i32, - pub MaxLogical: i32, - pub MinPhysical: i32, - pub MaxPhysical: i32, - pub Unit: u32, - pub PhysicalMultiplier: f32, -} -impl ::core::marker::Copy for PointerDeviceUsage {} -impl ::core::clone::Clone for PointerDeviceUsage { - fn clone(&self) -> Self { - *self - } -} -pub type TouchCapabilities = *mut ::core::ffi::c_void; |