diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
commit | 4e8199b572f2035b7749cba276ece3a26630d23e (patch) | |
tree | f09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Gaming/Input/Custom/mod.rs | |
parent | Adding upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip |
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Gaming/Input/Custom/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Gaming/Input/Custom/mod.rs | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/vendor/windows-sys/src/Windows/Gaming/Input/Custom/mod.rs b/vendor/windows-sys/src/Windows/Gaming/Input/Custom/mod.rs deleted file mode 100644 index ee5b87504..000000000 --- a/vendor/windows-sys/src/Windows/Gaming/Input/Custom/mod.rs +++ /dev/null @@ -1,99 +0,0 @@ -#[repr(C)] -#[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] -pub struct GameControllerVersionInfo { - pub Major: u16, - pub Minor: u16, - pub Build: u16, - pub Revision: u16, -} -impl ::core::marker::Copy for GameControllerVersionInfo {} -impl ::core::clone::Clone for GameControllerVersionInfo { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] -pub struct GipFirmwareUpdateProgress { - pub PercentCompleted: f64, - pub CurrentComponentId: u32, -} -impl ::core::marker::Copy for GipFirmwareUpdateProgress {} -impl ::core::clone::Clone for GipFirmwareUpdateProgress { - fn clone(&self) -> Self { - *self - } -} -pub type GipFirmwareUpdateResult = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] -#[repr(transparent)] -pub struct GipFirmwareUpdateStatus(pub i32); -impl GipFirmwareUpdateStatus { - pub const Completed: Self = Self(0i32); - pub const UpToDate: Self = Self(1i32); - pub const Failed: Self = Self(2i32); -} -impl ::core::marker::Copy for GipFirmwareUpdateStatus {} -impl ::core::clone::Clone for GipFirmwareUpdateStatus { - fn clone(&self) -> Self { - *self - } -} -pub type GipGameControllerProvider = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] -#[repr(transparent)] -pub struct GipMessageClass(pub i32); -impl GipMessageClass { - pub const Command: Self = Self(0i32); - pub const LowLatency: Self = Self(1i32); - pub const StandardLatency: Self = Self(2i32); -} -impl ::core::marker::Copy for GipMessageClass {} -impl ::core::clone::Clone for GipMessageClass { - fn clone(&self) -> Self { - *self - } -} -pub type HidGameControllerProvider = *mut ::core::ffi::c_void; -pub type ICustomGameControllerFactory = *mut ::core::ffi::c_void; -pub type IGameControllerInputSink = *mut ::core::ffi::c_void; -pub type IGameControllerProvider = *mut ::core::ffi::c_void; -pub type IGipGameControllerInputSink = *mut ::core::ffi::c_void; -pub type IHidGameControllerInputSink = *mut ::core::ffi::c_void; -pub type IXusbGameControllerInputSink = *mut ::core::ffi::c_void; -#[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] -#[repr(transparent)] -pub struct XusbDeviceSubtype(pub i32); -impl XusbDeviceSubtype { - pub const Unknown: Self = Self(0i32); - pub const Gamepad: Self = Self(1i32); - pub const ArcadePad: Self = Self(2i32); - pub const ArcadeStick: Self = Self(3i32); - pub const FlightStick: Self = Self(4i32); - pub const Wheel: Self = Self(5i32); - pub const Guitar: Self = Self(6i32); - pub const GuitarAlternate: Self = Self(7i32); - pub const GuitarBass: Self = Self(8i32); - pub const DrumKit: Self = Self(9i32); - pub const DancePad: Self = Self(10i32); -} -impl ::core::marker::Copy for XusbDeviceSubtype {} -impl ::core::clone::Clone for XusbDeviceSubtype { - fn clone(&self) -> Self { - *self - } -} -#[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] -#[repr(transparent)] -pub struct XusbDeviceType(pub i32); -impl XusbDeviceType { - pub const Unknown: Self = Self(0i32); - pub const Gamepad: Self = Self(1i32); -} -impl ::core::marker::Copy for XusbDeviceType {} -impl ::core::clone::Clone for XusbDeviceType { - fn clone(&self) -> Self { - *self - } -} -pub type XusbGameControllerProvider = *mut ::core::ffi::c_void; |