winrt-Windows.UI.Input.Spatial 4!10.0.28000.2705__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,43 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "SpatialGestureSettings",
10
+ "SpatialInteractionPressKind",
11
+ "SpatialInteractionSourceHandedness",
12
+ "SpatialInteractionSourceKind",
13
+ "SpatialInteractionSourcePositionAccuracy",
14
+ "SpatialGestureRecognizer",
15
+ "SpatialHoldCanceledEventArgs",
16
+ "SpatialHoldCompletedEventArgs",
17
+ "SpatialHoldStartedEventArgs",
18
+ "SpatialInteraction",
19
+ "SpatialInteractionController",
20
+ "SpatialInteractionControllerProperties",
21
+ "SpatialInteractionDetectedEventArgs",
22
+ "SpatialInteractionManager",
23
+ "SpatialInteractionSource",
24
+ "SpatialInteractionSourceEventArgs",
25
+ "SpatialInteractionSourceLocation",
26
+ "SpatialInteractionSourceProperties",
27
+ "SpatialInteractionSourceState",
28
+ "SpatialManipulationCanceledEventArgs",
29
+ "SpatialManipulationCompletedEventArgs",
30
+ "SpatialManipulationDelta",
31
+ "SpatialManipulationStartedEventArgs",
32
+ "SpatialManipulationUpdatedEventArgs",
33
+ "SpatialNavigationCanceledEventArgs",
34
+ "SpatialNavigationCompletedEventArgs",
35
+ "SpatialNavigationStartedEventArgs",
36
+ "SpatialNavigationUpdatedEventArgs",
37
+ "SpatialPointerInteractionSourcePose",
38
+ "SpatialPointerPose",
39
+ "SpatialRecognitionEndedEventArgs",
40
+ "SpatialRecognitionStartedEventArgs",
41
+ "SpatialTappedEventArgs",
42
+ ]
43
+
@@ -0,0 +1,586 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+
8
+ import winrt.system
9
+ import winrt.windows.devices.haptics as windows_devices_haptics
10
+ import winrt.windows.devices.power as windows_devices_power
11
+ import winrt.windows.foundation as windows_foundation
12
+ import winrt.windows.foundation.collections as windows_foundation_collections
13
+ import winrt.windows.foundation.numerics as windows_foundation_numerics
14
+ import winrt.windows.perception as windows_perception
15
+ import winrt.windows.perception.people as windows_perception_people
16
+ import winrt.windows.perception.spatial as windows_perception_spatial
17
+ import winrt.windows.storage.streams as windows_storage_streams
18
+
19
+ __all__ = [
20
+ "SpatialGestureSettings",
21
+ "SpatialInteractionPressKind",
22
+ "SpatialInteractionSourceHandedness",
23
+ "SpatialInteractionSourceKind",
24
+ "SpatialInteractionSourcePositionAccuracy",
25
+ "SpatialGestureRecognizer",
26
+ "SpatialHoldCanceledEventArgs",
27
+ "SpatialHoldCompletedEventArgs",
28
+ "SpatialHoldStartedEventArgs",
29
+ "SpatialInteraction",
30
+ "SpatialInteractionController",
31
+ "SpatialInteractionControllerProperties",
32
+ "SpatialInteractionDetectedEventArgs",
33
+ "SpatialInteractionManager",
34
+ "SpatialInteractionSource",
35
+ "SpatialInteractionSourceEventArgs",
36
+ "SpatialInteractionSourceLocation",
37
+ "SpatialInteractionSourceProperties",
38
+ "SpatialInteractionSourceState",
39
+ "SpatialManipulationCanceledEventArgs",
40
+ "SpatialManipulationCompletedEventArgs",
41
+ "SpatialManipulationDelta",
42
+ "SpatialManipulationStartedEventArgs",
43
+ "SpatialManipulationUpdatedEventArgs",
44
+ "SpatialNavigationCanceledEventArgs",
45
+ "SpatialNavigationCompletedEventArgs",
46
+ "SpatialNavigationStartedEventArgs",
47
+ "SpatialNavigationUpdatedEventArgs",
48
+ "SpatialPointerInteractionSourcePose",
49
+ "SpatialPointerPose",
50
+ "SpatialRecognitionEndedEventArgs",
51
+ "SpatialRecognitionStartedEventArgs",
52
+ "SpatialTappedEventArgs",
53
+ ]
54
+
55
+ class SpatialGestureSettings(enum.IntFlag):
56
+ NONE = 0x0
57
+ TAP = 0x1
58
+ DOUBLE_TAP = 0x2
59
+ HOLD = 0x4
60
+ MANIPULATION_TRANSLATE = 0x8
61
+ NAVIGATION_X = 0x10
62
+ NAVIGATION_Y = 0x20
63
+ NAVIGATION_Z = 0x40
64
+ NAVIGATION_RAILS_X = 0x80
65
+ NAVIGATION_RAILS_Y = 0x100
66
+ NAVIGATION_RAILS_Z = 0x200
67
+
68
+ class SpatialInteractionPressKind(enum.IntEnum):
69
+ NONE = 0
70
+ SELECT = 1
71
+ MENU = 2
72
+ GRASP = 3
73
+ TOUCHPAD = 4
74
+ THUMBSTICK = 5
75
+
76
+ class SpatialInteractionSourceHandedness(enum.IntEnum):
77
+ UNSPECIFIED = 0
78
+ LEFT = 1
79
+ RIGHT = 2
80
+
81
+ class SpatialInteractionSourceKind(enum.IntEnum):
82
+ OTHER = 0
83
+ HAND = 1
84
+ VOICE = 2
85
+ CONTROLLER = 3
86
+
87
+ class SpatialInteractionSourcePositionAccuracy(enum.IntEnum):
88
+ HIGH = 0
89
+ APPROXIMATE = 1
90
+
91
+ @typing.final
92
+ class SpatialGestureRecognizer(winrt.system.Object):
93
+ def __new__(cls, settings: SpatialGestureSettings, /) -> typing.Self: ...
94
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::CancelPendingGestures()
95
+ def cancel_pending_gestures(self) -> None: ...
96
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::CaptureInteraction(Windows.UI.Input.Spatial.SpatialInteraction)
97
+ def capture_interaction(self, interaction: SpatialInteraction, /) -> None: ...
98
+ # System.Boolean Windows.UI.Input.Spatial.SpatialGestureRecognizer::TrySetGestureSettings(Windows.UI.Input.Spatial.SpatialGestureSettings)
99
+ def try_set_gesture_settings(self, settings: SpatialGestureSettings, /) -> bool: ...
100
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_HoldCanceled(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialHoldCanceledEventArgs>)
101
+ def add_hold_canceled(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialHoldCanceledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
102
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_HoldCanceled(Windows.Foundation.EventRegistrationToken)
103
+ def remove_hold_canceled(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
104
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_HoldCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialHoldCompletedEventArgs>)
105
+ def add_hold_completed(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialHoldCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
106
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_HoldCompleted(Windows.Foundation.EventRegistrationToken)
107
+ def remove_hold_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
108
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_HoldStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs>)
109
+ def add_hold_started(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialHoldStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
110
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_HoldStarted(Windows.Foundation.EventRegistrationToken)
111
+ def remove_hold_started(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
112
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_ManipulationCanceled(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialManipulationCanceledEventArgs>)
113
+ def add_manipulation_canceled(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
114
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_ManipulationCanceled(Windows.Foundation.EventRegistrationToken)
115
+ def remove_manipulation_canceled(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
116
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_ManipulationCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs>)
117
+ def add_manipulation_completed(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
118
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_ManipulationCompleted(Windows.Foundation.EventRegistrationToken)
119
+ def remove_manipulation_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
120
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_ManipulationStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs>)
121
+ def add_manipulation_started(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
122
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_ManipulationStarted(Windows.Foundation.EventRegistrationToken)
123
+ def remove_manipulation_started(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
124
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_ManipulationUpdated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs>)
125
+ def add_manipulation_updated(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
126
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_ManipulationUpdated(Windows.Foundation.EventRegistrationToken)
127
+ def remove_manipulation_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
128
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_NavigationCanceled(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialNavigationCanceledEventArgs>)
129
+ def add_navigation_canceled(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationCanceledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
130
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_NavigationCanceled(Windows.Foundation.EventRegistrationToken)
131
+ def remove_navigation_canceled(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
132
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_NavigationCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs>)
133
+ def add_navigation_completed(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
134
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_NavigationCompleted(Windows.Foundation.EventRegistrationToken)
135
+ def remove_navigation_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
136
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_NavigationStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs>)
137
+ def add_navigation_started(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
138
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_NavigationStarted(Windows.Foundation.EventRegistrationToken)
139
+ def remove_navigation_started(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
140
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_NavigationUpdated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs>)
141
+ def add_navigation_updated(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
142
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_NavigationUpdated(Windows.Foundation.EventRegistrationToken)
143
+ def remove_navigation_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
144
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_RecognitionEnded(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialRecognitionEndedEventArgs>)
145
+ def add_recognition_ended(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialRecognitionEndedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
146
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_RecognitionEnded(Windows.Foundation.EventRegistrationToken)
147
+ def remove_recognition_ended(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
148
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_RecognitionStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs>)
149
+ def add_recognition_started(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialRecognitionStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
150
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_RecognitionStarted(Windows.Foundation.EventRegistrationToken)
151
+ def remove_recognition_started(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
152
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_Tapped(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialTappedEventArgs>)
153
+ def add_tapped(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialTappedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
154
+ # System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_Tapped(Windows.Foundation.EventRegistrationToken)
155
+ def remove_tapped(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
156
+ # Windows.UI.Input.Spatial.SpatialGestureSettings Windows.UI.Input.Spatial.SpatialGestureRecognizer::get_GestureSettings()
157
+ @_property
158
+ def gesture_settings(self) -> SpatialGestureSettings: ...
159
+
160
+ @typing.final
161
+ class SpatialHoldCanceledEventArgs(winrt.system.Object):
162
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
163
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
164
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialHoldCanceledEventArgs::get_InteractionSourceKind()
165
+ @_property
166
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
167
+
168
+ @typing.final
169
+ class SpatialHoldCompletedEventArgs(winrt.system.Object):
170
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
171
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
172
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialHoldCompletedEventArgs::get_InteractionSourceKind()
173
+ @_property
174
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
175
+
176
+ @typing.final
177
+ class SpatialHoldStartedEventArgs(winrt.system.Object):
178
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
179
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
180
+ # Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
181
+ def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialPointerPose | None: ...
182
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs::get_InteractionSourceKind()
183
+ @_property
184
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
185
+
186
+ @typing.final
187
+ class SpatialInteraction(winrt.system.Object):
188
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
189
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
190
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceState Windows.UI.Input.Spatial.SpatialInteraction::get_SourceState()
191
+ @_property
192
+ def source_state(self) -> SpatialInteractionSourceState: ...
193
+
194
+ @typing.final
195
+ class SpatialInteractionController(winrt.system.Object):
196
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
197
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
198
+ # Windows.Devices.Power.BatteryReport Windows.UI.Input.Spatial.SpatialInteractionController::TryGetBatteryReport()
199
+ def try_get_battery_report(self) -> windows_devices_power.BatteryReport | None: ...
200
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStreamWithContentType> Windows.UI.Input.Spatial.SpatialInteractionController::TryGetRenderableModelAsync()
201
+ def try_get_renderable_model_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStreamWithContentType | None]: ...
202
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionController::get_HasThumbstick()
203
+ @_property
204
+ def has_thumbstick(self) -> bool: ...
205
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionController::get_HasTouchpad()
206
+ @_property
207
+ def has_touchpad(self) -> bool: ...
208
+ # System.UInt16 Windows.UI.Input.Spatial.SpatialInteractionController::get_ProductId()
209
+ @_property
210
+ def product_id(self) -> winrt.system.UInt16: ...
211
+ # Windows.Devices.Haptics.SimpleHapticsController Windows.UI.Input.Spatial.SpatialInteractionController::get_SimpleHapticsController()
212
+ @_property
213
+ def simple_haptics_controller(self) -> windows_devices_haptics.SimpleHapticsController: ...
214
+ # System.UInt16 Windows.UI.Input.Spatial.SpatialInteractionController::get_VendorId()
215
+ @_property
216
+ def vendor_id(self) -> winrt.system.UInt16: ...
217
+ # System.UInt16 Windows.UI.Input.Spatial.SpatialInteractionController::get_Version()
218
+ @_property
219
+ def version(self) -> winrt.system.UInt16: ...
220
+
221
+ @typing.final
222
+ class SpatialInteractionControllerProperties(winrt.system.Object):
223
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
224
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
225
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_IsThumbstickPressed()
226
+ @_property
227
+ def is_thumbstick_pressed(self) -> bool: ...
228
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_IsTouchpadPressed()
229
+ @_property
230
+ def is_touchpad_pressed(self) -> bool: ...
231
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_IsTouchpadTouched()
232
+ @_property
233
+ def is_touchpad_touched(self) -> bool: ...
234
+ # System.Double Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_ThumbstickX()
235
+ @_property
236
+ def thumbstick_x(self) -> winrt.system.Double: ...
237
+ # System.Double Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_ThumbstickY()
238
+ @_property
239
+ def thumbstick_y(self) -> winrt.system.Double: ...
240
+ # System.Double Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_TouchpadX()
241
+ @_property
242
+ def touchpad_x(self) -> winrt.system.Double: ...
243
+ # System.Double Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_TouchpadY()
244
+ @_property
245
+ def touchpad_y(self) -> winrt.system.Double: ...
246
+
247
+ @typing.final
248
+ class SpatialInteractionDetectedEventArgs(winrt.system.Object):
249
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
250
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
251
+ # Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
252
+ def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialPointerPose | None: ...
253
+ # Windows.UI.Input.Spatial.SpatialInteraction Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs::get_Interaction()
254
+ @_property
255
+ def interaction(self) -> SpatialInteraction: ...
256
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs::get_InteractionSourceKind()
257
+ @_property
258
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
259
+ # Windows.UI.Input.Spatial.SpatialInteractionSource Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs::get_InteractionSource()
260
+ @_property
261
+ def interaction_source(self) -> SpatialInteractionSource: ...
262
+
263
+ @typing.final
264
+ class SpatialInteractionManager_Static(winrt.system.Object_Static):
265
+ # Windows.UI.Input.Spatial.SpatialInteractionManager Windows.UI.Input.Spatial.SpatialInteractionManager::GetForCurrentView()
266
+ def get_for_current_view(cls) -> SpatialInteractionManager: ...
267
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionManager::IsSourceKindSupported(Windows.UI.Input.Spatial.SpatialInteractionSourceKind)
268
+ def is_source_kind_supported(cls, kind: SpatialInteractionSourceKind, /) -> bool: ...
269
+
270
+ @typing.final
271
+ class SpatialInteractionManager(winrt.system.Object, metaclass=SpatialInteractionManager_Static):
272
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
273
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
274
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Spatial.SpatialInteractionSourceState> Windows.UI.Input.Spatial.SpatialInteractionManager::GetDetectedSourcesAtTimestamp(Windows.Perception.PerceptionTimestamp)
275
+ def get_detected_sources_at_timestamp(self, time_stamp: windows_perception.PerceptionTimestamp, /) -> _cabc.Sequence[SpatialInteractionSourceState]: ...
276
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_InteractionDetected(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs>)
277
+ def add_interaction_detected(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionDetectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
278
+ # System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_InteractionDetected(Windows.Foundation.EventRegistrationToken)
279
+ def remove_interaction_detected(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
280
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourceDetected(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
281
+ def add_source_detected(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
282
+ # System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourceDetected(Windows.Foundation.EventRegistrationToken)
283
+ def remove_source_detected(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
284
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourceLost(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
285
+ def add_source_lost(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
286
+ # System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourceLost(Windows.Foundation.EventRegistrationToken)
287
+ def remove_source_lost(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
288
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourcePressed(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
289
+ def add_source_pressed(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
290
+ # System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourcePressed(Windows.Foundation.EventRegistrationToken)
291
+ def remove_source_pressed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
292
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourceReleased(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
293
+ def add_source_released(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
294
+ # System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourceReleased(Windows.Foundation.EventRegistrationToken)
295
+ def remove_source_released(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
296
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourceUpdated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
297
+ def add_source_updated(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
298
+ # System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourceUpdated(Windows.Foundation.EventRegistrationToken)
299
+ def remove_source_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
300
+
301
+ @typing.final
302
+ class SpatialInteractionSource(winrt.system.Object):
303
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
304
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
305
+ # Windows.Perception.People.HandMeshObserver Windows.UI.Input.Spatial.SpatialInteractionSource::TryCreateHandMeshObserver()
306
+ def try_create_hand_mesh_observer(self) -> windows_perception_people.HandMeshObserver | None: ...
307
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.People.HandMeshObserver> Windows.UI.Input.Spatial.SpatialInteractionSource::TryCreateHandMeshObserverAsync()
308
+ def try_create_hand_mesh_observer_async(self) -> windows_foundation.IAsyncOperation[windows_perception_people.HandMeshObserver | None]: ...
309
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceState Windows.UI.Input.Spatial.SpatialInteractionSource::TryGetStateAtTimestamp(Windows.Perception.PerceptionTimestamp)
310
+ def try_get_state_at_timestamp(self, timestamp: windows_perception.PerceptionTimestamp, /) -> SpatialInteractionSourceState | None: ...
311
+ # System.UInt32 Windows.UI.Input.Spatial.SpatialInteractionSource::get_Id()
312
+ @_property
313
+ def id(self) -> winrt.system.UInt32: ...
314
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialInteractionSource::get_Kind()
315
+ @_property
316
+ def kind(self) -> SpatialInteractionSourceKind: ...
317
+ # Windows.UI.Input.Spatial.SpatialInteractionController Windows.UI.Input.Spatial.SpatialInteractionSource::get_Controller()
318
+ @_property
319
+ def controller(self) -> SpatialInteractionController: ...
320
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSource::get_IsGraspSupported()
321
+ @_property
322
+ def is_grasp_supported(self) -> bool: ...
323
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSource::get_IsMenuSupported()
324
+ @_property
325
+ def is_menu_supported(self) -> bool: ...
326
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSource::get_IsPointingSupported()
327
+ @_property
328
+ def is_pointing_supported(self) -> bool: ...
329
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceHandedness Windows.UI.Input.Spatial.SpatialInteractionSource::get_Handedness()
330
+ @_property
331
+ def handedness(self) -> SpatialInteractionSourceHandedness: ...
332
+
333
+ @typing.final
334
+ class SpatialInteractionSourceEventArgs(winrt.system.Object):
335
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
336
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
337
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceState Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs::get_State()
338
+ @_property
339
+ def state(self) -> SpatialInteractionSourceState: ...
340
+ # Windows.UI.Input.Spatial.SpatialInteractionPressKind Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs::get_PressKind()
341
+ @_property
342
+ def press_kind(self) -> SpatialInteractionPressKind: ...
343
+
344
+ @typing.final
345
+ class SpatialInteractionSourceLocation(winrt.system.Object):
346
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
347
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
348
+ # Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Vector3> Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_Position()
349
+ @_property
350
+ def position(self) -> windows_foundation_numerics.Vector3 | None: ...
351
+ # Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Vector3> Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_Velocity()
352
+ @_property
353
+ def velocity(self) -> windows_foundation_numerics.Vector3 | None: ...
354
+ # Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Quaternion> Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_Orientation()
355
+ @_property
356
+ def orientation(self) -> windows_foundation_numerics.Quaternion | None: ...
357
+ # Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Vector3> Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_AngularVelocity()
358
+ @_property
359
+ def angular_velocity(self) -> windows_foundation_numerics.Vector3 | None: ...
360
+ # Windows.UI.Input.Spatial.SpatialInteractionSourcePositionAccuracy Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_PositionAccuracy()
361
+ @_property
362
+ def position_accuracy(self) -> SpatialInteractionSourcePositionAccuracy: ...
363
+ # Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_SourcePointerPose()
364
+ @_property
365
+ def source_pointer_pose(self) -> SpatialPointerInteractionSourcePose: ...
366
+
367
+ @typing.final
368
+ class SpatialInteractionSourceProperties(winrt.system.Object):
369
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
370
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
371
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceLocation Windows.UI.Input.Spatial.SpatialInteractionSourceProperties::TryGetLocation(Windows.Perception.Spatial.SpatialCoordinateSystem)
372
+ def try_get_location(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialInteractionSourceLocation | None: ...
373
+ # Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Vector3> Windows.UI.Input.Spatial.SpatialInteractionSourceProperties::TryGetSourceLossMitigationDirection(Windows.Perception.Spatial.SpatialCoordinateSystem)
374
+ def try_get_source_loss_mitigation_direction(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> windows_foundation_numerics.Vector3 | None: ...
375
+ # System.Double Windows.UI.Input.Spatial.SpatialInteractionSourceProperties::get_SourceLossRisk()
376
+ @_property
377
+ def source_loss_risk(self) -> winrt.system.Double: ...
378
+
379
+ @typing.final
380
+ class SpatialInteractionSourceState(winrt.system.Object):
381
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
382
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
383
+ # Windows.Perception.People.HandPose Windows.UI.Input.Spatial.SpatialInteractionSourceState::TryGetHandPose()
384
+ def try_get_hand_pose(self) -> windows_perception_people.HandPose | None: ...
385
+ # Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialInteractionSourceState::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
386
+ def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialPointerPose | None: ...
387
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_IsPressed()
388
+ @_property
389
+ def is_pressed(self) -> bool: ...
390
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceProperties Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_Properties()
391
+ @_property
392
+ def properties(self) -> SpatialInteractionSourceProperties: ...
393
+ # Windows.UI.Input.Spatial.SpatialInteractionSource Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_Source()
394
+ @_property
395
+ def source(self) -> SpatialInteractionSource: ...
396
+ # Windows.Perception.PerceptionTimestamp Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_Timestamp()
397
+ @_property
398
+ def timestamp(self) -> windows_perception.PerceptionTimestamp: ...
399
+ # Windows.UI.Input.Spatial.SpatialInteractionControllerProperties Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_ControllerProperties()
400
+ @_property
401
+ def controller_properties(self) -> SpatialInteractionControllerProperties: ...
402
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_IsGrasped()
403
+ @_property
404
+ def is_grasped(self) -> bool: ...
405
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_IsMenuPressed()
406
+ @_property
407
+ def is_menu_pressed(self) -> bool: ...
408
+ # System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_IsSelectPressed()
409
+ @_property
410
+ def is_select_pressed(self) -> bool: ...
411
+ # System.Double Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_SelectPressedValue()
412
+ @_property
413
+ def select_pressed_value(self) -> winrt.system.Double: ...
414
+
415
+ @typing.final
416
+ class SpatialManipulationCanceledEventArgs(winrt.system.Object):
417
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
418
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
419
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialManipulationCanceledEventArgs::get_InteractionSourceKind()
420
+ @_property
421
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
422
+
423
+ @typing.final
424
+ class SpatialManipulationCompletedEventArgs(winrt.system.Object):
425
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
426
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
427
+ # Windows.UI.Input.Spatial.SpatialManipulationDelta Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs::TryGetCumulativeDelta(Windows.Perception.Spatial.SpatialCoordinateSystem)
428
+ def try_get_cumulative_delta(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialManipulationDelta | None: ...
429
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs::get_InteractionSourceKind()
430
+ @_property
431
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
432
+
433
+ @typing.final
434
+ class SpatialManipulationDelta(winrt.system.Object):
435
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
436
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
437
+ # Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialManipulationDelta::get_Translation()
438
+ @_property
439
+ def translation(self) -> windows_foundation_numerics.Vector3: ...
440
+
441
+ @typing.final
442
+ class SpatialManipulationStartedEventArgs(winrt.system.Object):
443
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
444
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
445
+ # Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
446
+ def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialPointerPose | None: ...
447
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs::get_InteractionSourceKind()
448
+ @_property
449
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
450
+
451
+ @typing.final
452
+ class SpatialManipulationUpdatedEventArgs(winrt.system.Object):
453
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
454
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
455
+ # Windows.UI.Input.Spatial.SpatialManipulationDelta Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs::TryGetCumulativeDelta(Windows.Perception.Spatial.SpatialCoordinateSystem)
456
+ def try_get_cumulative_delta(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialManipulationDelta | None: ...
457
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs::get_InteractionSourceKind()
458
+ @_property
459
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
460
+
461
+ @typing.final
462
+ class SpatialNavigationCanceledEventArgs(winrt.system.Object):
463
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
464
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
465
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialNavigationCanceledEventArgs::get_InteractionSourceKind()
466
+ @_property
467
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
468
+
469
+ @typing.final
470
+ class SpatialNavigationCompletedEventArgs(winrt.system.Object):
471
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
472
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
473
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs::get_InteractionSourceKind()
474
+ @_property
475
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
476
+ # Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs::get_NormalizedOffset()
477
+ @_property
478
+ def normalized_offset(self) -> windows_foundation_numerics.Vector3: ...
479
+
480
+ @typing.final
481
+ class SpatialNavigationStartedEventArgs(winrt.system.Object):
482
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
483
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
484
+ # Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
485
+ def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialPointerPose | None: ...
486
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::get_InteractionSourceKind()
487
+ @_property
488
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
489
+ # System.Boolean Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::get_IsNavigatingX()
490
+ @_property
491
+ def is_navigating_x(self) -> bool: ...
492
+ # System.Boolean Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::get_IsNavigatingY()
493
+ @_property
494
+ def is_navigating_y(self) -> bool: ...
495
+ # System.Boolean Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::get_IsNavigatingZ()
496
+ @_property
497
+ def is_navigating_z(self) -> bool: ...
498
+
499
+ @typing.final
500
+ class SpatialNavigationUpdatedEventArgs(winrt.system.Object):
501
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
502
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
503
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs::get_InteractionSourceKind()
504
+ @_property
505
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
506
+ # Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs::get_NormalizedOffset()
507
+ @_property
508
+ def normalized_offset(self) -> windows_foundation_numerics.Vector3: ...
509
+
510
+ @typing.final
511
+ class SpatialPointerInteractionSourcePose(winrt.system.Object):
512
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
513
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
514
+ # Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_ForwardDirection()
515
+ @_property
516
+ def forward_direction(self) -> windows_foundation_numerics.Vector3: ...
517
+ # Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_Position()
518
+ @_property
519
+ def position(self) -> windows_foundation_numerics.Vector3: ...
520
+ # Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_UpDirection()
521
+ @_property
522
+ def up_direction(self) -> windows_foundation_numerics.Vector3: ...
523
+ # Windows.Foundation.Numerics.Quaternion Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_Orientation()
524
+ @_property
525
+ def orientation(self) -> windows_foundation_numerics.Quaternion: ...
526
+ # Windows.UI.Input.Spatial.SpatialInteractionSourcePositionAccuracy Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_PositionAccuracy()
527
+ @_property
528
+ def position_accuracy(self) -> SpatialInteractionSourcePositionAccuracy: ...
529
+
530
+ @typing.final
531
+ class SpatialPointerPose_Static(winrt.system.Object_Static):
532
+ # Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialPointerPose::TryGetAtTimestamp(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Perception.PerceptionTimestamp)
533
+ def try_get_at_timestamp(cls, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, timestamp: windows_perception.PerceptionTimestamp, /) -> SpatialPointerPose | None: ...
534
+
535
+ @typing.final
536
+ class SpatialPointerPose(winrt.system.Object, metaclass=SpatialPointerPose_Static):
537
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
538
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
539
+ # Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose Windows.UI.Input.Spatial.SpatialPointerPose::TryGetInteractionSourcePose(Windows.UI.Input.Spatial.SpatialInteractionSource)
540
+ def try_get_interaction_source_pose(self, source: SpatialInteractionSource, /) -> SpatialPointerInteractionSourcePose | None: ...
541
+ # Windows.Perception.People.HeadPose Windows.UI.Input.Spatial.SpatialPointerPose::get_Head()
542
+ @_property
543
+ def head(self) -> windows_perception_people.HeadPose: ...
544
+ # Windows.Perception.PerceptionTimestamp Windows.UI.Input.Spatial.SpatialPointerPose::get_Timestamp()
545
+ @_property
546
+ def timestamp(self) -> windows_perception.PerceptionTimestamp: ...
547
+ # Windows.Perception.People.EyesPose Windows.UI.Input.Spatial.SpatialPointerPose::get_Eyes()
548
+ @_property
549
+ def eyes(self) -> windows_perception_people.EyesPose: ...
550
+ # System.Boolean Windows.UI.Input.Spatial.SpatialPointerPose::get_IsHeadCapturedBySystem()
551
+ @_property
552
+ def is_head_captured_by_system(self) -> bool: ...
553
+
554
+ @typing.final
555
+ class SpatialRecognitionEndedEventArgs(winrt.system.Object):
556
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
557
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
558
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialRecognitionEndedEventArgs::get_InteractionSourceKind()
559
+ @_property
560
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
561
+
562
+ @typing.final
563
+ class SpatialRecognitionStartedEventArgs(winrt.system.Object):
564
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
565
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
566
+ # System.Boolean Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs::IsGesturePossible(Windows.UI.Input.Spatial.SpatialGestureSettings)
567
+ def is_gesture_possible(self, gesture: SpatialGestureSettings, /) -> bool: ...
568
+ # Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
569
+ def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialPointerPose | None: ...
570
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs::get_InteractionSourceKind()
571
+ @_property
572
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
573
+
574
+ @typing.final
575
+ class SpatialTappedEventArgs(winrt.system.Object):
576
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
577
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
578
+ # Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialTappedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
579
+ def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> SpatialPointerPose | None: ...
580
+ # Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialTappedEventArgs::get_InteractionSourceKind()
581
+ @_property
582
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
583
+ # System.UInt32 Windows.UI.Input.Spatial.SpatialTappedEventArgs::get_TapCount()
584
+ @_property
585
+ def tap_count(self) -> winrt.system.UInt32: ...
586
+
File without changes
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.UI.Input.Spatial
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.UI.Input.Spatial namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
26
+ Provides-Extra: all
27
+ Requires-Dist: winrt-windows-devices-haptics[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-devices-power[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-foundation-numerics[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
32
+ Requires-Dist: winrt-windows-perception-people[all]>=4!10.0.28000.2705; extra == 'all'
33
+ Requires-Dist: winrt-windows-perception-spatial[all]>=4!10.0.28000.2705; extra == 'all'
34
+ Requires-Dist: winrt-windows-perception[all]>=4!10.0.28000.2705; extra == 'all'
35
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
36
+ Description-Content-Type: text/markdown
37
+
38
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
39
+
40
+ # winrt-Windows.UI.Input.Spatial
41
+
42
+ Windows Runtime (WinRT) APIs for the `Windows.UI.Input.Spatial` namespace.
43
+
44
+ This package provides the `winrt.windows.ui.input.spatial` module.
45
+
46
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
47
+ `Microsoft.Windows.SDK.CPP` NuGet package.
48
+
49
+ ```
50
+ pip install winrt-Windows.UI.Input.Spatial
51
+ ```
52
+
53
+ Other WinRT namespaces are packages of their own, so install the package of
54
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/ui/input/spatial/__init__.py,sha256=NfhsrVoNCUA25DcW2fRmX-v3dklU5Rr5Zk8GkSKt52M,1456
2
+ winrt/windows/ui/input/spatial/__init__.pyi,sha256=4pPk2f4qBytrY32pR_iVVtl-8iu7zpG6YCaFvM_pfP4,46253
3
+ winrt/windows/ui/input/spatial/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/ui/input/spatial/_table.pywinrt,sha256=_VNQMVWm6kwBT6nQfU9EVQyw3XXVA-oU2a7_KZ3t9no,54528
5
+ winrt_windows_ui_input_spatial-4!10.0.28000.2705.dist-info/METADATA,sha256=XLhgQS3RC_wRDY7u3YS7Wp5fga4bYrki0JpPJkcBPL0,2614
6
+ winrt_windows_ui_input_spatial-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_ui_input_spatial-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_ui_input_spatial-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE