summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/UI/Input
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/UI/Input
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/UI/Input')
-rw-r--r--vendor/windows-sys/src/Windows/UI/Input/Core/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/UI/Input/Inking/Analysis/mod.rs86
-rw-r--r--vendor/windows-sys/src/Windows/UI/Input/Inking/Core/mod.rs19
-rw-r--r--vendor/windows-sys/src/Windows/UI/Input/Inking/Preview/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/UI/Input/Inking/mod.rs196
-rw-r--r--vendor/windows-sys/src/Windows/UI/Input/Preview/Injection/mod.rs209
-rw-r--r--vendor/windows-sys/src/Windows/UI/Input/Preview/mod.rs2
-rw-r--r--vendor/windows-sys/src/Windows/UI/Input/Spatial/mod.rs109
-rw-r--r--vendor/windows-sys/src/Windows/UI/Input/mod.rs271
9 files changed, 894 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/UI/Input/Core/mod.rs b/vendor/windows-sys/src/Windows/UI/Input/Core/mod.rs
new file mode 100644
index 000000000..0755a6408
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Input/Core/mod.rs
@@ -0,0 +1 @@
+pub type RadialControllerIndependentInputSource = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/UI/Input/Inking/Analysis/mod.rs b/vendor/windows-sys/src/Windows/UI/Input/Inking/Analysis/mod.rs
new file mode 100644
index 000000000..fcc336eaa
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Input/Inking/Analysis/mod.rs
@@ -0,0 +1,86 @@
+pub type IInkAnalysisNode = *mut ::core::ffi::c_void;
+pub type IInkAnalyzerFactory = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"]
+#[repr(transparent)]
+pub struct InkAnalysisDrawingKind(pub i32);
+impl InkAnalysisDrawingKind {
+ pub const Drawing: Self = Self(0i32);
+ pub const Circle: Self = Self(1i32);
+ pub const Ellipse: Self = Self(2i32);
+ pub const Triangle: Self = Self(3i32);
+ pub const IsoscelesTriangle: Self = Self(4i32);
+ pub const EquilateralTriangle: Self = Self(5i32);
+ pub const RightTriangle: Self = Self(6i32);
+ pub const Quadrilateral: Self = Self(7i32);
+ pub const Rectangle: Self = Self(8i32);
+ pub const Square: Self = Self(9i32);
+ pub const Diamond: Self = Self(10i32);
+ pub const Trapezoid: Self = Self(11i32);
+ pub const Parallelogram: Self = Self(12i32);
+ pub const Pentagon: Self = Self(13i32);
+ pub const Hexagon: Self = Self(14i32);
+}
+impl ::core::marker::Copy for InkAnalysisDrawingKind {}
+impl ::core::clone::Clone for InkAnalysisDrawingKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkAnalysisInkBullet = *mut ::core::ffi::c_void;
+pub type InkAnalysisInkDrawing = *mut ::core::ffi::c_void;
+pub type InkAnalysisInkWord = *mut ::core::ffi::c_void;
+pub type InkAnalysisLine = *mut ::core::ffi::c_void;
+pub type InkAnalysisListItem = *mut ::core::ffi::c_void;
+pub type InkAnalysisNode = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"]
+#[repr(transparent)]
+pub struct InkAnalysisNodeKind(pub i32);
+impl InkAnalysisNodeKind {
+ pub const UnclassifiedInk: Self = Self(0i32);
+ pub const Root: Self = Self(1i32);
+ pub const WritingRegion: Self = Self(2i32);
+ pub const Paragraph: Self = Self(3i32);
+ pub const Line: Self = Self(4i32);
+ pub const InkWord: Self = Self(5i32);
+ pub const InkBullet: Self = Self(6i32);
+ pub const InkDrawing: Self = Self(7i32);
+ pub const ListItem: Self = Self(8i32);
+}
+impl ::core::marker::Copy for InkAnalysisNodeKind {}
+impl ::core::clone::Clone for InkAnalysisNodeKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkAnalysisParagraph = *mut ::core::ffi::c_void;
+pub type InkAnalysisResult = *mut ::core::ffi::c_void;
+pub type InkAnalysisRoot = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"]
+#[repr(transparent)]
+pub struct InkAnalysisStatus(pub i32);
+impl InkAnalysisStatus {
+ pub const Updated: Self = Self(0i32);
+ pub const Unchanged: Self = Self(1i32);
+}
+impl ::core::marker::Copy for InkAnalysisStatus {}
+impl ::core::clone::Clone for InkAnalysisStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"]
+#[repr(transparent)]
+pub struct InkAnalysisStrokeKind(pub i32);
+impl InkAnalysisStrokeKind {
+ pub const Auto: Self = Self(0i32);
+ pub const Writing: Self = Self(1i32);
+ pub const Drawing: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InkAnalysisStrokeKind {}
+impl ::core::clone::Clone for InkAnalysisStrokeKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkAnalysisWritingRegion = *mut ::core::ffi::c_void;
+pub type InkAnalyzer = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/UI/Input/Inking/Core/mod.rs b/vendor/windows-sys/src/Windows/UI/Input/Inking/Core/mod.rs
new file mode 100644
index 000000000..905d564b4
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Input/Inking/Core/mod.rs
@@ -0,0 +1,19 @@
+pub type CoreIncrementalInkStroke = *mut ::core::ffi::c_void;
+pub type CoreInkIndependentInputSource = *mut ::core::ffi::c_void;
+pub type CoreInkPresenterHost = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"]
+#[repr(transparent)]
+pub struct CoreWetStrokeDisposition(pub i32);
+impl CoreWetStrokeDisposition {
+ pub const Inking: Self = Self(0i32);
+ pub const Completed: Self = Self(1i32);
+ pub const Canceled: Self = Self(2i32);
+}
+impl ::core::marker::Copy for CoreWetStrokeDisposition {}
+impl ::core::clone::Clone for CoreWetStrokeDisposition {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CoreWetStrokeUpdateEventArgs = *mut ::core::ffi::c_void;
+pub type CoreWetStrokeUpdateSource = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/UI/Input/Inking/Preview/mod.rs b/vendor/windows-sys/src/Windows/UI/Input/Inking/Preview/mod.rs
new file mode 100644
index 000000000..c823e85b1
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Input/Inking/Preview/mod.rs
@@ -0,0 +1 @@
+pub type PalmRejectionDelayZonePreview = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/UI/Input/Inking/mod.rs b/vendor/windows-sys/src/Windows/UI/Input/Inking/mod.rs
new file mode 100644
index 000000000..5f279fcec
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Input/Inking/mod.rs
@@ -0,0 +1,196 @@
+#[cfg(feature = "UI_Input_Inking_Analysis")]
+pub mod Analysis;
+#[cfg(feature = "UI_Input_Inking_Core")]
+pub mod Core;
+#[cfg(feature = "UI_Input_Inking_Preview")]
+pub mod Preview;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct HandwritingLineHeight(pub i32);
+impl HandwritingLineHeight {
+ pub const Small: Self = Self(0i32);
+ pub const Medium: Self = Self(1i32);
+ pub const Large: Self = Self(2i32);
+}
+impl ::core::marker::Copy for HandwritingLineHeight {}
+impl ::core::clone::Clone for HandwritingLineHeight {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IInkPointFactory = *mut ::core::ffi::c_void;
+pub type IInkPresenterRulerFactory = *mut ::core::ffi::c_void;
+pub type IInkPresenterStencil = *mut ::core::ffi::c_void;
+pub type IInkRecognizerContainer = *mut ::core::ffi::c_void;
+pub type IInkStrokeContainer = *mut ::core::ffi::c_void;
+pub type InkDrawingAttributes = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct InkDrawingAttributesKind(pub i32);
+impl InkDrawingAttributesKind {
+ pub const Default: Self = Self(0i32);
+ pub const Pencil: Self = Self(1i32);
+}
+impl ::core::marker::Copy for InkDrawingAttributesKind {}
+impl ::core::clone::Clone for InkDrawingAttributesKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkDrawingAttributesPencilProperties = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct InkHighContrastAdjustment(pub i32);
+impl InkHighContrastAdjustment {
+ pub const UseSystemColorsWhenNecessary: Self = Self(0i32);
+ pub const UseSystemColors: Self = Self(1i32);
+ pub const UseOriginalColors: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InkHighContrastAdjustment {}
+impl ::core::clone::Clone for InkHighContrastAdjustment {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkInputConfiguration = *mut ::core::ffi::c_void;
+pub type InkInputProcessingConfiguration = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct InkInputProcessingMode(pub i32);
+impl InkInputProcessingMode {
+ pub const None: Self = Self(0i32);
+ pub const Inking: Self = Self(1i32);
+ pub const Erasing: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InkInputProcessingMode {}
+impl ::core::clone::Clone for InkInputProcessingMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct InkInputRightDragAction(pub i32);
+impl InkInputRightDragAction {
+ pub const LeaveUnprocessed: Self = Self(0i32);
+ pub const AllowProcessing: Self = Self(1i32);
+}
+impl ::core::marker::Copy for InkInputRightDragAction {}
+impl ::core::clone::Clone for InkInputRightDragAction {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkManager = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct InkManipulationMode(pub i32);
+impl InkManipulationMode {
+ pub const Inking: Self = Self(0i32);
+ pub const Erasing: Self = Self(1i32);
+ pub const Selecting: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InkManipulationMode {}
+impl ::core::clone::Clone for InkManipulationMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkModelerAttributes = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct InkPersistenceFormat(pub i32);
+impl InkPersistenceFormat {
+ pub const GifWithEmbeddedIsf: Self = Self(0i32);
+ pub const Isf: Self = Self(1i32);
+}
+impl ::core::marker::Copy for InkPersistenceFormat {}
+impl ::core::clone::Clone for InkPersistenceFormat {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkPoint = *mut ::core::ffi::c_void;
+pub type InkPresenter = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct InkPresenterPredefinedConfiguration(pub i32);
+impl InkPresenterPredefinedConfiguration {
+ pub const SimpleSinglePointer: Self = Self(0i32);
+ pub const SimpleMultiplePointer: Self = Self(1i32);
+}
+impl ::core::marker::Copy for InkPresenterPredefinedConfiguration {}
+impl ::core::clone::Clone for InkPresenterPredefinedConfiguration {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkPresenterProtractor = *mut ::core::ffi::c_void;
+pub type InkPresenterRuler = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct InkPresenterStencilKind(pub i32);
+impl InkPresenterStencilKind {
+ pub const Other: Self = Self(0i32);
+ pub const Ruler: Self = Self(1i32);
+ pub const Protractor: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InkPresenterStencilKind {}
+impl ::core::clone::Clone for InkPresenterStencilKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkRecognitionResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct InkRecognitionTarget(pub i32);
+impl InkRecognitionTarget {
+ pub const All: Self = Self(0i32);
+ pub const Selected: Self = Self(1i32);
+ pub const Recent: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InkRecognitionTarget {}
+impl ::core::clone::Clone for InkRecognitionTarget {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InkRecognizer = *mut ::core::ffi::c_void;
+pub type InkRecognizerContainer = *mut ::core::ffi::c_void;
+pub type InkStroke = *mut ::core::ffi::c_void;
+pub type InkStrokeBuilder = *mut ::core::ffi::c_void;
+pub type InkStrokeContainer = *mut ::core::ffi::c_void;
+pub type InkStrokeInput = *mut ::core::ffi::c_void;
+pub type InkStrokeRenderingSegment = *mut ::core::ffi::c_void;
+pub type InkStrokesCollectedEventArgs = *mut ::core::ffi::c_void;
+pub type InkStrokesErasedEventArgs = *mut ::core::ffi::c_void;
+pub type InkSynchronizer = *mut ::core::ffi::c_void;
+pub type InkUnprocessedInput = *mut ::core::ffi::c_void;
+pub type PenAndInkSettings = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct PenHandedness(pub i32);
+impl PenHandedness {
+ pub const Right: Self = Self(0i32);
+ pub const Left: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PenHandedness {}
+impl ::core::clone::Clone for PenHandedness {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Input_Inking\"`*"]
+#[repr(transparent)]
+pub struct PenTipShape(pub i32);
+impl PenTipShape {
+ pub const Circle: Self = Self(0i32);
+ pub const Rectangle: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PenTipShape {}
+impl ::core::clone::Clone for PenTipShape {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/UI/Input/Preview/Injection/mod.rs b/vendor/windows-sys/src/Windows/UI/Input/Preview/Injection/mod.rs
new file mode 100644
index 000000000..caf43552c
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Input/Preview/Injection/mod.rs
@@ -0,0 +1,209 @@
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+#[repr(transparent)]
+pub struct InjectedInputButtonChangeKind(pub i32);
+impl InjectedInputButtonChangeKind {
+ pub const None: Self = Self(0i32);
+ pub const FirstButtonDown: Self = Self(1i32);
+ pub const FirstButtonUp: Self = Self(2i32);
+ pub const SecondButtonDown: Self = Self(3i32);
+ pub const SecondButtonUp: Self = Self(4i32);
+ pub const ThirdButtonDown: Self = Self(5i32);
+ pub const ThirdButtonUp: Self = Self(6i32);
+ pub const FourthButtonDown: Self = Self(7i32);
+ pub const FourthButtonUp: Self = Self(8i32);
+ pub const FifthButtonDown: Self = Self(9i32);
+ pub const FifthButtonUp: Self = Self(10i32);
+}
+impl ::core::marker::Copy for InjectedInputButtonChangeKind {}
+impl ::core::clone::Clone for InjectedInputButtonChangeKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InjectedInputGamepadInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+#[repr(transparent)]
+pub struct InjectedInputKeyOptions(pub u32);
+impl InjectedInputKeyOptions {
+ pub const None: Self = Self(0u32);
+ pub const ExtendedKey: Self = Self(1u32);
+ pub const KeyUp: Self = Self(2u32);
+ pub const ScanCode: Self = Self(8u32);
+ pub const Unicode: Self = Self(4u32);
+}
+impl ::core::marker::Copy for InjectedInputKeyOptions {}
+impl ::core::clone::Clone for InjectedInputKeyOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InjectedInputKeyboardInfo = *mut ::core::ffi::c_void;
+pub type InjectedInputMouseInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+#[repr(transparent)]
+pub struct InjectedInputMouseOptions(pub u32);
+impl InjectedInputMouseOptions {
+ pub const None: Self = Self(0u32);
+ pub const Move: Self = Self(1u32);
+ pub const LeftDown: Self = Self(2u32);
+ pub const LeftUp: Self = Self(4u32);
+ pub const RightDown: Self = Self(8u32);
+ pub const RightUp: Self = Self(16u32);
+ pub const MiddleDown: Self = Self(32u32);
+ pub const MiddleUp: Self = Self(64u32);
+ pub const XDown: Self = Self(128u32);
+ pub const XUp: Self = Self(256u32);
+ pub const Wheel: Self = Self(2048u32);
+ pub const HWheel: Self = Self(4096u32);
+ pub const MoveNoCoalesce: Self = Self(8192u32);
+ pub const VirtualDesk: Self = Self(16384u32);
+ pub const Absolute: Self = Self(32768u32);
+}
+impl ::core::marker::Copy for InjectedInputMouseOptions {}
+impl ::core::clone::Clone for InjectedInputMouseOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+#[repr(transparent)]
+pub struct InjectedInputPenButtons(pub u32);
+impl InjectedInputPenButtons {
+ pub const None: Self = Self(0u32);
+ pub const Barrel: Self = Self(1u32);
+ pub const Inverted: Self = Self(2u32);
+ pub const Eraser: Self = Self(4u32);
+}
+impl ::core::marker::Copy for InjectedInputPenButtons {}
+impl ::core::clone::Clone for InjectedInputPenButtons {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InjectedInputPenInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+#[repr(transparent)]
+pub struct InjectedInputPenParameters(pub u32);
+impl InjectedInputPenParameters {
+ pub const None: Self = Self(0u32);
+ pub const Pressure: Self = Self(1u32);
+ pub const Rotation: Self = Self(2u32);
+ pub const TiltX: Self = Self(4u32);
+ pub const TiltY: Self = Self(8u32);
+}
+impl ::core::marker::Copy for InjectedInputPenParameters {}
+impl ::core::clone::Clone for InjectedInputPenParameters {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+pub struct InjectedInputPoint {
+ pub PositionX: i32,
+ pub PositionY: i32,
+}
+impl ::core::marker::Copy for InjectedInputPoint {}
+impl ::core::clone::Clone for InjectedInputPoint {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+pub struct InjectedInputPointerInfo {
+ pub PointerId: u32,
+ pub PointerOptions: InjectedInputPointerOptions,
+ pub PixelLocation: InjectedInputPoint,
+ pub TimeOffsetInMilliseconds: u32,
+ pub PerformanceCount: u64,
+}
+impl ::core::marker::Copy for InjectedInputPointerInfo {}
+impl ::core::clone::Clone for InjectedInputPointerInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+#[repr(transparent)]
+pub struct InjectedInputPointerOptions(pub u32);
+impl InjectedInputPointerOptions {
+ pub const None: Self = Self(0u32);
+ pub const New: Self = Self(1u32);
+ pub const InRange: Self = Self(2u32);
+ pub const InContact: Self = Self(4u32);
+ pub const FirstButton: Self = Self(16u32);
+ pub const SecondButton: Self = Self(32u32);
+ pub const Primary: Self = Self(8192u32);
+ pub const Confidence: Self = Self(16384u32);
+ pub const Canceled: Self = Self(32768u32);
+ pub const PointerDown: Self = Self(65536u32);
+ pub const Update: Self = Self(131072u32);
+ pub const PointerUp: Self = Self(262144u32);
+ pub const CaptureChanged: Self = Self(2097152u32);
+}
+impl ::core::marker::Copy for InjectedInputPointerOptions {}
+impl ::core::clone::Clone for InjectedInputPointerOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+pub struct InjectedInputRectangle {
+ pub Left: i32,
+ pub Top: i32,
+ pub Bottom: i32,
+ pub Right: i32,
+}
+impl ::core::marker::Copy for InjectedInputRectangle {}
+impl ::core::clone::Clone for InjectedInputRectangle {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+#[repr(transparent)]
+pub struct InjectedInputShortcut(pub i32);
+impl InjectedInputShortcut {
+ pub const Back: Self = Self(0i32);
+ pub const Start: Self = Self(1i32);
+ pub const Search: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InjectedInputShortcut {}
+impl ::core::clone::Clone for InjectedInputShortcut {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InjectedInputTouchInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+#[repr(transparent)]
+pub struct InjectedInputTouchParameters(pub u32);
+impl InjectedInputTouchParameters {
+ pub const None: Self = Self(0u32);
+ pub const Contact: Self = Self(1u32);
+ pub const Orientation: Self = Self(2u32);
+ pub const Pressure: Self = Self(4u32);
+}
+impl ::core::marker::Copy for InjectedInputTouchParameters {}
+impl ::core::clone::Clone for InjectedInputTouchParameters {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"]
+#[repr(transparent)]
+pub struct InjectedInputVisualizationMode(pub i32);
+impl InjectedInputVisualizationMode {
+ pub const None: Self = Self(0i32);
+ pub const Default: Self = Self(1i32);
+ pub const Indirect: Self = Self(2i32);
+}
+impl ::core::marker::Copy for InjectedInputVisualizationMode {}
+impl ::core::clone::Clone for InjectedInputVisualizationMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type InputInjector = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/UI/Input/Preview/mod.rs b/vendor/windows-sys/src/Windows/UI/Input/Preview/mod.rs
new file mode 100644
index 000000000..4551897bf
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Input/Preview/mod.rs
@@ -0,0 +1,2 @@
+#[cfg(feature = "UI_Input_Preview_Injection")]
+pub mod Injection;
diff --git a/vendor/windows-sys/src/Windows/UI/Input/Spatial/mod.rs b/vendor/windows-sys/src/Windows/UI/Input/Spatial/mod.rs
new file mode 100644
index 000000000..ce2913912
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Input/Spatial/mod.rs
@@ -0,0 +1,109 @@
+pub type SpatialGestureRecognizer = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
+#[repr(transparent)]
+pub struct SpatialGestureSettings(pub u32);
+impl SpatialGestureSettings {
+ pub const None: Self = Self(0u32);
+ pub const Tap: Self = Self(1u32);
+ pub const DoubleTap: Self = Self(2u32);
+ pub const Hold: Self = Self(4u32);
+ pub const ManipulationTranslate: Self = Self(8u32);
+ pub const NavigationX: Self = Self(16u32);
+ pub const NavigationY: Self = Self(32u32);
+ pub const NavigationZ: Self = Self(64u32);
+ pub const NavigationRailsX: Self = Self(128u32);
+ pub const NavigationRailsY: Self = Self(256u32);
+ pub const NavigationRailsZ: Self = Self(512u32);
+}
+impl ::core::marker::Copy for SpatialGestureSettings {}
+impl ::core::clone::Clone for SpatialGestureSettings {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SpatialHoldCanceledEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialHoldCompletedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialHoldStartedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialInteraction = *mut ::core::ffi::c_void;
+pub type SpatialInteractionController = *mut ::core::ffi::c_void;
+pub type SpatialInteractionControllerProperties = *mut ::core::ffi::c_void;
+pub type SpatialInteractionDetectedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialInteractionManager = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
+#[repr(transparent)]
+pub struct SpatialInteractionPressKind(pub i32);
+impl SpatialInteractionPressKind {
+ pub const None: Self = Self(0i32);
+ pub const Select: Self = Self(1i32);
+ pub const Menu: Self = Self(2i32);
+ pub const Grasp: Self = Self(3i32);
+ pub const Touchpad: Self = Self(4i32);
+ pub const Thumbstick: Self = Self(5i32);
+}
+impl ::core::marker::Copy for SpatialInteractionPressKind {}
+impl ::core::clone::Clone for SpatialInteractionPressKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SpatialInteractionSource = *mut ::core::ffi::c_void;
+pub type SpatialInteractionSourceEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
+#[repr(transparent)]
+pub struct SpatialInteractionSourceHandedness(pub i32);
+impl SpatialInteractionSourceHandedness {
+ pub const Unspecified: Self = Self(0i32);
+ pub const Left: Self = Self(1i32);
+ pub const Right: Self = Self(2i32);
+}
+impl ::core::marker::Copy for SpatialInteractionSourceHandedness {}
+impl ::core::clone::Clone for SpatialInteractionSourceHandedness {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
+#[repr(transparent)]
+pub struct SpatialInteractionSourceKind(pub i32);
+impl SpatialInteractionSourceKind {
+ pub const Other: Self = Self(0i32);
+ pub const Hand: Self = Self(1i32);
+ pub const Voice: Self = Self(2i32);
+ pub const Controller: Self = Self(3i32);
+}
+impl ::core::marker::Copy for SpatialInteractionSourceKind {}
+impl ::core::clone::Clone for SpatialInteractionSourceKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SpatialInteractionSourceLocation = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input_Spatial\"`*"]
+#[repr(transparent)]
+pub struct SpatialInteractionSourcePositionAccuracy(pub i32);
+impl SpatialInteractionSourcePositionAccuracy {
+ pub const High: Self = Self(0i32);
+ pub const Approximate: Self = Self(1i32);
+}
+impl ::core::marker::Copy for SpatialInteractionSourcePositionAccuracy {}
+impl ::core::clone::Clone for SpatialInteractionSourcePositionAccuracy {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SpatialInteractionSourceProperties = *mut ::core::ffi::c_void;
+pub type SpatialInteractionSourceState = *mut ::core::ffi::c_void;
+pub type SpatialManipulationCanceledEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialManipulationCompletedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialManipulationDelta = *mut ::core::ffi::c_void;
+pub type SpatialManipulationStartedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialManipulationUpdatedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialNavigationCanceledEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialNavigationCompletedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialNavigationStartedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialNavigationUpdatedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialPointerInteractionSourcePose = *mut ::core::ffi::c_void;
+pub type SpatialPointerPose = *mut ::core::ffi::c_void;
+pub type SpatialRecognitionEndedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialRecognitionStartedEventArgs = *mut ::core::ffi::c_void;
+pub type SpatialTappedEventArgs = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/UI/Input/mod.rs b/vendor/windows-sys/src/Windows/UI/Input/mod.rs
new file mode 100644
index 000000000..2ada9e917
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/UI/Input/mod.rs
@@ -0,0 +1,271 @@
+#[cfg(feature = "UI_Input_Core")]
+pub mod Core;
+#[cfg(feature = "UI_Input_Inking")]
+pub mod Inking;
+#[cfg(feature = "UI_Input_Preview")]
+pub mod Preview;
+#[cfg(feature = "UI_Input_Spatial")]
+pub mod Spatial;
+pub type AttachableInputObject = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"UI_Input\"`*"]
+pub struct CrossSlideThresholds {
+ pub SelectionStart: f32,
+ pub SpeedBumpStart: f32,
+ pub SpeedBumpEnd: f32,
+ pub RearrangeStart: f32,
+}
+impl ::core::marker::Copy for CrossSlideThresholds {}
+impl ::core::clone::Clone for CrossSlideThresholds {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type CrossSlidingEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct CrossSlidingState(pub i32);
+impl CrossSlidingState {
+ pub const Started: Self = Self(0i32);
+ pub const Dragging: Self = Self(1i32);
+ pub const Selecting: Self = Self(2i32);
+ pub const SelectSpeedBumping: Self = Self(3i32);
+ pub const SpeedBumping: Self = Self(4i32);
+ pub const Rearranging: Self = Self(5i32);
+ pub const Completed: Self = Self(6i32);
+}
+impl ::core::marker::Copy for CrossSlidingState {}
+impl ::core::clone::Clone for CrossSlidingState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type DraggingEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct DraggingState(pub i32);
+impl DraggingState {
+ pub const Started: Self = Self(0i32);
+ pub const Continuing: Self = Self(1i32);
+ pub const Completed: Self = Self(2i32);
+}
+impl ::core::marker::Copy for DraggingState {}
+impl ::core::clone::Clone for DraggingState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type EdgeGesture = *mut ::core::ffi::c_void;
+pub type EdgeGestureEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct EdgeGestureKind(pub i32);
+impl EdgeGestureKind {
+ pub const Touch: Self = Self(0i32);
+ pub const Keyboard: Self = Self(1i32);
+ pub const Mouse: Self = Self(2i32);
+}
+impl ::core::marker::Copy for EdgeGestureKind {}
+impl ::core::clone::Clone for EdgeGestureKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct GazeInputAccessStatus(pub i32);
+impl GazeInputAccessStatus {
+ pub const Unspecified: Self = Self(0i32);
+ pub const Allowed: Self = Self(1i32);
+ pub const DeniedByUser: Self = Self(2i32);
+ pub const DeniedBySystem: Self = Self(3i32);
+}
+impl ::core::marker::Copy for GazeInputAccessStatus {}
+impl ::core::clone::Clone for GazeInputAccessStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type GestureRecognizer = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct GestureSettings(pub u32);
+impl GestureSettings {
+ pub const None: Self = Self(0u32);
+ pub const Tap: Self = Self(1u32);
+ pub const DoubleTap: Self = Self(2u32);
+ pub const Hold: Self = Self(4u32);
+ pub const HoldWithMouse: Self = Self(8u32);
+ pub const RightTap: Self = Self(16u32);
+ pub const Drag: Self = Self(32u32);
+ pub const ManipulationTranslateX: Self = Self(64u32);
+ pub const ManipulationTranslateY: Self = Self(128u32);
+ pub const ManipulationTranslateRailsX: Self = Self(256u32);
+ pub const ManipulationTranslateRailsY: Self = Self(512u32);
+ pub const ManipulationRotate: Self = Self(1024u32);
+ pub const ManipulationScale: Self = Self(2048u32);
+ pub const ManipulationTranslateInertia: Self = Self(4096u32);
+ pub const ManipulationRotateInertia: Self = Self(8192u32);
+ pub const ManipulationScaleInertia: Self = Self(16384u32);
+ pub const CrossSlide: Self = Self(32768u32);
+ pub const ManipulationMultipleFingerPanning: Self = Self(65536u32);
+}
+impl ::core::marker::Copy for GestureSettings {}
+impl ::core::clone::Clone for GestureSettings {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type HoldingEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct HoldingState(pub i32);
+impl HoldingState {
+ pub const Started: Self = Self(0i32);
+ pub const Completed: Self = Self(1i32);
+ pub const Canceled: Self = Self(2i32);
+}
+impl ::core::marker::Copy for HoldingState {}
+impl ::core::clone::Clone for HoldingState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IPointerPointTransform = *mut ::core::ffi::c_void;
+pub type InputActivationListener = *mut ::core::ffi::c_void;
+pub type InputActivationListenerActivationChangedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct InputActivationState(pub i32);
+impl InputActivationState {
+ pub const None: Self = Self(0i32);
+ pub const Deactivated: Self = Self(1i32);
+ pub const ActivatedNotForeground: Self = Self(2i32);
+ pub const ActivatedInForeground: Self = Self(3i32);
+}
+impl ::core::marker::Copy for InputActivationState {}
+impl ::core::clone::Clone for InputActivationState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type KeyboardDeliveryInterceptor = *mut ::core::ffi::c_void;
+pub type ManipulationCompletedEventArgs = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"UI_Input\"`, `\"Foundation\"`*"]
+#[cfg(feature = "Foundation")]
+pub struct ManipulationDelta {
+ pub Translation: super::super::Foundation::Point,
+ pub Scale: f32,
+ pub Rotation: f32,
+ pub Expansion: f32,
+}
+#[cfg(feature = "Foundation")]
+impl ::core::marker::Copy for ManipulationDelta {}
+#[cfg(feature = "Foundation")]
+impl ::core::clone::Clone for ManipulationDelta {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ManipulationInertiaStartingEventArgs = *mut ::core::ffi::c_void;
+pub type ManipulationStartedEventArgs = *mut ::core::ffi::c_void;
+pub type ManipulationUpdatedEventArgs = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"UI_Input\"`, `\"Foundation\"`*"]
+#[cfg(feature = "Foundation")]
+pub struct ManipulationVelocities {
+ pub Linear: super::super::Foundation::Point,
+ pub Angular: f32,
+ pub Expansion: f32,
+}
+#[cfg(feature = "Foundation")]
+impl ::core::marker::Copy for ManipulationVelocities {}
+#[cfg(feature = "Foundation")]
+impl ::core::clone::Clone for ManipulationVelocities {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type MouseWheelParameters = *mut ::core::ffi::c_void;
+pub type PointerPoint = *mut ::core::ffi::c_void;
+pub type PointerPointProperties = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct PointerUpdateKind(pub i32);
+impl PointerUpdateKind {
+ pub const Other: Self = Self(0i32);
+ pub const LeftButtonPressed: Self = Self(1i32);
+ pub const LeftButtonReleased: Self = Self(2i32);
+ pub const RightButtonPressed: Self = Self(3i32);
+ pub const RightButtonReleased: Self = Self(4i32);
+ pub const MiddleButtonPressed: Self = Self(5i32);
+ pub const MiddleButtonReleased: Self = Self(6i32);
+ pub const XButton1Pressed: Self = Self(7i32);
+ pub const XButton1Released: Self = Self(8i32);
+ pub const XButton2Pressed: Self = Self(9i32);
+ pub const XButton2Released: Self = Self(10i32);
+}
+impl ::core::marker::Copy for PointerUpdateKind {}
+impl ::core::clone::Clone for PointerUpdateKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PointerVisualizationSettings = *mut ::core::ffi::c_void;
+pub type RadialController = *mut ::core::ffi::c_void;
+pub type RadialControllerButtonClickedEventArgs = *mut ::core::ffi::c_void;
+pub type RadialControllerButtonHoldingEventArgs = *mut ::core::ffi::c_void;
+pub type RadialControllerButtonPressedEventArgs = *mut ::core::ffi::c_void;
+pub type RadialControllerButtonReleasedEventArgs = *mut ::core::ffi::c_void;
+pub type RadialControllerConfiguration = *mut ::core::ffi::c_void;
+pub type RadialControllerControlAcquiredEventArgs = *mut ::core::ffi::c_void;
+pub type RadialControllerMenu = *mut ::core::ffi::c_void;
+pub type RadialControllerMenuItem = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct RadialControllerMenuKnownIcon(pub i32);
+impl RadialControllerMenuKnownIcon {
+ pub const Scroll: Self = Self(0i32);
+ pub const Zoom: Self = Self(1i32);
+ pub const UndoRedo: Self = Self(2i32);
+ pub const Volume: Self = Self(3i32);
+ pub const NextPreviousTrack: Self = Self(4i32);
+ pub const Ruler: Self = Self(5i32);
+ pub const InkColor: Self = Self(6i32);
+ pub const InkThickness: Self = Self(7i32);
+ pub const PenType: Self = Self(8i32);
+}
+impl ::core::marker::Copy for RadialControllerMenuKnownIcon {}
+impl ::core::clone::Clone for RadialControllerMenuKnownIcon {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RadialControllerRotationChangedEventArgs = *mut ::core::ffi::c_void;
+pub type RadialControllerScreenContact = *mut ::core::ffi::c_void;
+pub type RadialControllerScreenContactContinuedEventArgs = *mut ::core::ffi::c_void;
+pub type RadialControllerScreenContactEndedEventArgs = *mut ::core::ffi::c_void;
+pub type RadialControllerScreenContactStartedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"UI_Input\"`*"]
+#[repr(transparent)]
+pub struct RadialControllerSystemMenuItemKind(pub i32);
+impl RadialControllerSystemMenuItemKind {
+ pub const Scroll: Self = Self(0i32);
+ pub const Zoom: Self = Self(1i32);
+ pub const UndoRedo: Self = Self(2i32);
+ pub const Volume: Self = Self(3i32);
+ pub const NextPreviousTrack: Self = Self(4i32);
+}
+impl ::core::marker::Copy for RadialControllerSystemMenuItemKind {}
+impl ::core::clone::Clone for RadialControllerSystemMenuItemKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RightTappedEventArgs = *mut ::core::ffi::c_void;
+pub type SystemButtonEventController = *mut ::core::ffi::c_void;
+pub type SystemFunctionButtonEventArgs = *mut ::core::ffi::c_void;
+pub type SystemFunctionLockChangedEventArgs = *mut ::core::ffi::c_void;
+pub type SystemFunctionLockIndicatorChangedEventArgs = *mut ::core::ffi::c_void;
+pub type TappedEventArgs = *mut ::core::ffi::c_void;