winrt-Windows.UI.Input.Spatial 2.0.0b1__cp39-cp39-win_arm64.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,354 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.devices.haptics
13
+ import winrt.windows.devices.power
14
+ import winrt.windows.foundation
15
+ import winrt.windows.foundation.collections
16
+ import winrt.windows.foundation.numerics
17
+ import winrt.windows.perception
18
+ import winrt.windows.perception.people
19
+ import winrt.windows.perception.spatial
20
+ import winrt.windows.storage.streams
21
+
22
+ from winrt.windows.ui.input.spatial import SpatialGestureSettings, SpatialInteractionPressKind, SpatialInteractionSourceHandedness, SpatialInteractionSourceKind, SpatialInteractionSourcePositionAccuracy
23
+
24
+ Self = typing.TypeVar('Self')
25
+
26
+ class SpatialGestureRecognizer(winrt.system.Object):
27
+ @staticmethod
28
+ def _from(obj: winrt.system.Object, /) -> SpatialGestureRecognizer: ...
29
+ def __new__(cls: typing.Type[SpatialGestureRecognizer], settings: SpatialGestureSettings) -> SpatialGestureRecognizer:...
30
+ def cancel_pending_gestures(self) -> None: ...
31
+ def capture_interaction(self, interaction: typing.Optional[SpatialInteraction], /) -> None: ...
32
+ def try_set_gesture_settings(self, settings: SpatialGestureSettings, /) -> bool: ...
33
+ def add_hold_canceled(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialHoldCanceledEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
34
+ def remove_hold_canceled(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
35
+ def add_hold_completed(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialHoldCompletedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
36
+ def remove_hold_completed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
37
+ def add_hold_started(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialHoldStartedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
38
+ def remove_hold_started(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
39
+ def add_manipulation_canceled(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
40
+ def remove_manipulation_canceled(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
41
+ def add_manipulation_completed(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
42
+ def remove_manipulation_completed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
43
+ def add_manipulation_started(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationStartedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
44
+ def remove_manipulation_started(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
45
+ def add_manipulation_updated(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
46
+ def remove_manipulation_updated(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
47
+ def add_navigation_canceled(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationCanceledEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
48
+ def remove_navigation_canceled(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
49
+ def add_navigation_completed(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationCompletedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
50
+ def remove_navigation_completed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
51
+ def add_navigation_started(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationStartedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
52
+ def remove_navigation_started(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
53
+ def add_navigation_updated(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationUpdatedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
54
+ def remove_navigation_updated(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
55
+ def add_recognition_ended(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialRecognitionEndedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
56
+ def remove_recognition_ended(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
57
+ def add_recognition_started(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialRecognitionStartedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
58
+ def remove_recognition_started(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
59
+ def add_tapped(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialTappedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
60
+ def remove_tapped(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
61
+ @_property
62
+ def gesture_settings(self) -> SpatialGestureSettings: ...
63
+
64
+ class SpatialHoldCanceledEventArgs(winrt.system.Object):
65
+ @staticmethod
66
+ def _from(obj: winrt.system.Object, /) -> SpatialHoldCanceledEventArgs: ...
67
+ @_property
68
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
69
+
70
+ class SpatialHoldCompletedEventArgs(winrt.system.Object):
71
+ @staticmethod
72
+ def _from(obj: winrt.system.Object, /) -> SpatialHoldCompletedEventArgs: ...
73
+ @_property
74
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
75
+
76
+ class SpatialHoldStartedEventArgs(winrt.system.Object):
77
+ @staticmethod
78
+ def _from(obj: winrt.system.Object, /) -> SpatialHoldStartedEventArgs: ...
79
+ def try_get_pointer_pose(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialPointerPose]: ...
80
+ @_property
81
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
82
+
83
+ class SpatialInteraction(winrt.system.Object):
84
+ @staticmethod
85
+ def _from(obj: winrt.system.Object, /) -> SpatialInteraction: ...
86
+ @_property
87
+ def source_state(self) -> typing.Optional[SpatialInteractionSourceState]: ...
88
+
89
+ class SpatialInteractionController(winrt.system.Object):
90
+ @staticmethod
91
+ def _from(obj: winrt.system.Object, /) -> SpatialInteractionController: ...
92
+ def try_get_battery_report(self) -> typing.Optional[winrt.windows.devices.power.BatteryReport]: ...
93
+ def try_get_renderable_model_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.streams.IRandomAccessStreamWithContentType]: ...
94
+ @_property
95
+ def has_thumbstick(self) -> bool: ...
96
+ @_property
97
+ def has_touchpad(self) -> bool: ...
98
+ @_property
99
+ def product_id(self) -> winrt.system.UInt16: ...
100
+ @_property
101
+ def simple_haptics_controller(self) -> typing.Optional[winrt.windows.devices.haptics.SimpleHapticsController]: ...
102
+ @_property
103
+ def vendor_id(self) -> winrt.system.UInt16: ...
104
+ @_property
105
+ def version(self) -> winrt.system.UInt16: ...
106
+
107
+ class SpatialInteractionControllerProperties(winrt.system.Object):
108
+ @staticmethod
109
+ def _from(obj: winrt.system.Object, /) -> SpatialInteractionControllerProperties: ...
110
+ @_property
111
+ def is_thumbstick_pressed(self) -> bool: ...
112
+ @_property
113
+ def is_touchpad_pressed(self) -> bool: ...
114
+ @_property
115
+ def is_touchpad_touched(self) -> bool: ...
116
+ @_property
117
+ def thumbstick_x(self) -> winrt.system.Double: ...
118
+ @_property
119
+ def thumbstick_y(self) -> winrt.system.Double: ...
120
+ @_property
121
+ def touchpad_x(self) -> winrt.system.Double: ...
122
+ @_property
123
+ def touchpad_y(self) -> winrt.system.Double: ...
124
+
125
+ class SpatialInteractionDetectedEventArgs(winrt.system.Object):
126
+ @staticmethod
127
+ def _from(obj: winrt.system.Object, /) -> SpatialInteractionDetectedEventArgs: ...
128
+ def try_get_pointer_pose(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialPointerPose]: ...
129
+ @_property
130
+ def interaction(self) -> typing.Optional[SpatialInteraction]: ...
131
+ @_property
132
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
133
+ @_property
134
+ def interaction_source(self) -> typing.Optional[SpatialInteractionSource]: ...
135
+
136
+ class SpatialInteractionManager_Static(type):
137
+ def get_for_current_view(cls) -> typing.Optional[SpatialInteractionManager]: ...
138
+ def is_source_kind_supported(cls, kind: SpatialInteractionSourceKind, /) -> bool: ...
139
+
140
+ class SpatialInteractionManager(winrt.system.Object, metaclass=SpatialInteractionManager_Static):
141
+ @staticmethod
142
+ def _from(obj: winrt.system.Object, /) -> SpatialInteractionManager: ...
143
+ def get_detected_sources_at_timestamp(self, time_stamp: typing.Optional[winrt.windows.perception.PerceptionTimestamp], /) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[SpatialInteractionSourceState]]: ...
144
+ def add_interaction_detected(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionDetectedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
145
+ def remove_interaction_detected(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
146
+ def add_source_detected(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
147
+ def remove_source_detected(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
148
+ def add_source_lost(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
149
+ def remove_source_lost(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
150
+ def add_source_pressed(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
151
+ def remove_source_pressed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
152
+ def add_source_released(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
153
+ def remove_source_released(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
154
+ def add_source_updated(self, handler: winrt.windows.foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
155
+ def remove_source_updated(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
156
+
157
+ class SpatialInteractionSource(winrt.system.Object):
158
+ @staticmethod
159
+ def _from(obj: winrt.system.Object, /) -> SpatialInteractionSource: ...
160
+ def try_create_hand_mesh_observer(self) -> typing.Optional[winrt.windows.perception.people.HandMeshObserver]: ...
161
+ def try_create_hand_mesh_observer_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.perception.people.HandMeshObserver]: ...
162
+ def try_get_state_at_timestamp(self, timestamp: typing.Optional[winrt.windows.perception.PerceptionTimestamp], /) -> typing.Optional[SpatialInteractionSourceState]: ...
163
+ @_property
164
+ def id(self) -> winrt.system.UInt32: ...
165
+ @_property
166
+ def kind(self) -> SpatialInteractionSourceKind: ...
167
+ @_property
168
+ def controller(self) -> typing.Optional[SpatialInteractionController]: ...
169
+ @_property
170
+ def is_grasp_supported(self) -> bool: ...
171
+ @_property
172
+ def is_menu_supported(self) -> bool: ...
173
+ @_property
174
+ def is_pointing_supported(self) -> bool: ...
175
+ @_property
176
+ def handedness(self) -> SpatialInteractionSourceHandedness: ...
177
+
178
+ class SpatialInteractionSourceEventArgs(winrt.system.Object):
179
+ @staticmethod
180
+ def _from(obj: winrt.system.Object, /) -> SpatialInteractionSourceEventArgs: ...
181
+ @_property
182
+ def state(self) -> typing.Optional[SpatialInteractionSourceState]: ...
183
+ @_property
184
+ def press_kind(self) -> SpatialInteractionPressKind: ...
185
+
186
+ class SpatialInteractionSourceLocation(winrt.system.Object):
187
+ @staticmethod
188
+ def _from(obj: winrt.system.Object, /) -> SpatialInteractionSourceLocation: ...
189
+ @_property
190
+ def position(self) -> typing.Optional[typing.Optional[winrt.windows.foundation.numerics.Vector3]]: ...
191
+ @_property
192
+ def velocity(self) -> typing.Optional[typing.Optional[winrt.windows.foundation.numerics.Vector3]]: ...
193
+ @_property
194
+ def orientation(self) -> typing.Optional[typing.Optional[winrt.windows.foundation.numerics.Quaternion]]: ...
195
+ @_property
196
+ def angular_velocity(self) -> typing.Optional[typing.Optional[winrt.windows.foundation.numerics.Vector3]]: ...
197
+ @_property
198
+ def position_accuracy(self) -> SpatialInteractionSourcePositionAccuracy: ...
199
+ @_property
200
+ def source_pointer_pose(self) -> typing.Optional[SpatialPointerInteractionSourcePose]: ...
201
+
202
+ class SpatialInteractionSourceProperties(winrt.system.Object):
203
+ @staticmethod
204
+ def _from(obj: winrt.system.Object, /) -> SpatialInteractionSourceProperties: ...
205
+ def try_get_location(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialInteractionSourceLocation]: ...
206
+ def try_get_source_loss_mitigation_direction(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[typing.Optional[winrt.windows.foundation.numerics.Vector3]]: ...
207
+ @_property
208
+ def source_loss_risk(self) -> winrt.system.Double: ...
209
+
210
+ class SpatialInteractionSourceState(winrt.system.Object):
211
+ @staticmethod
212
+ def _from(obj: winrt.system.Object, /) -> SpatialInteractionSourceState: ...
213
+ def try_get_hand_pose(self) -> typing.Optional[winrt.windows.perception.people.HandPose]: ...
214
+ def try_get_pointer_pose(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialPointerPose]: ...
215
+ @_property
216
+ def is_pressed(self) -> bool: ...
217
+ @_property
218
+ def properties(self) -> typing.Optional[SpatialInteractionSourceProperties]: ...
219
+ @_property
220
+ def source(self) -> typing.Optional[SpatialInteractionSource]: ...
221
+ @_property
222
+ def timestamp(self) -> typing.Optional[winrt.windows.perception.PerceptionTimestamp]: ...
223
+ @_property
224
+ def controller_properties(self) -> typing.Optional[SpatialInteractionControllerProperties]: ...
225
+ @_property
226
+ def is_grasped(self) -> bool: ...
227
+ @_property
228
+ def is_menu_pressed(self) -> bool: ...
229
+ @_property
230
+ def is_select_pressed(self) -> bool: ...
231
+ @_property
232
+ def select_pressed_value(self) -> winrt.system.Double: ...
233
+
234
+ class SpatialManipulationCanceledEventArgs(winrt.system.Object):
235
+ @staticmethod
236
+ def _from(obj: winrt.system.Object, /) -> SpatialManipulationCanceledEventArgs: ...
237
+ @_property
238
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
239
+
240
+ class SpatialManipulationCompletedEventArgs(winrt.system.Object):
241
+ @staticmethod
242
+ def _from(obj: winrt.system.Object, /) -> SpatialManipulationCompletedEventArgs: ...
243
+ def try_get_cumulative_delta(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialManipulationDelta]: ...
244
+ @_property
245
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
246
+
247
+ class SpatialManipulationDelta(winrt.system.Object):
248
+ @staticmethod
249
+ def _from(obj: winrt.system.Object, /) -> SpatialManipulationDelta: ...
250
+ @_property
251
+ def translation(self) -> winrt.windows.foundation.numerics.Vector3: ...
252
+
253
+ class SpatialManipulationStartedEventArgs(winrt.system.Object):
254
+ @staticmethod
255
+ def _from(obj: winrt.system.Object, /) -> SpatialManipulationStartedEventArgs: ...
256
+ def try_get_pointer_pose(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialPointerPose]: ...
257
+ @_property
258
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
259
+
260
+ class SpatialManipulationUpdatedEventArgs(winrt.system.Object):
261
+ @staticmethod
262
+ def _from(obj: winrt.system.Object, /) -> SpatialManipulationUpdatedEventArgs: ...
263
+ def try_get_cumulative_delta(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialManipulationDelta]: ...
264
+ @_property
265
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
266
+
267
+ class SpatialNavigationCanceledEventArgs(winrt.system.Object):
268
+ @staticmethod
269
+ def _from(obj: winrt.system.Object, /) -> SpatialNavigationCanceledEventArgs: ...
270
+ @_property
271
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
272
+
273
+ class SpatialNavigationCompletedEventArgs(winrt.system.Object):
274
+ @staticmethod
275
+ def _from(obj: winrt.system.Object, /) -> SpatialNavigationCompletedEventArgs: ...
276
+ @_property
277
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
278
+ @_property
279
+ def normalized_offset(self) -> winrt.windows.foundation.numerics.Vector3: ...
280
+
281
+ class SpatialNavigationStartedEventArgs(winrt.system.Object):
282
+ @staticmethod
283
+ def _from(obj: winrt.system.Object, /) -> SpatialNavigationStartedEventArgs: ...
284
+ def try_get_pointer_pose(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialPointerPose]: ...
285
+ @_property
286
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
287
+ @_property
288
+ def is_navigating_x(self) -> bool: ...
289
+ @_property
290
+ def is_navigating_y(self) -> bool: ...
291
+ @_property
292
+ def is_navigating_z(self) -> bool: ...
293
+
294
+ class SpatialNavigationUpdatedEventArgs(winrt.system.Object):
295
+ @staticmethod
296
+ def _from(obj: winrt.system.Object, /) -> SpatialNavigationUpdatedEventArgs: ...
297
+ @_property
298
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
299
+ @_property
300
+ def normalized_offset(self) -> winrt.windows.foundation.numerics.Vector3: ...
301
+
302
+ class SpatialPointerInteractionSourcePose(winrt.system.Object):
303
+ @staticmethod
304
+ def _from(obj: winrt.system.Object, /) -> SpatialPointerInteractionSourcePose: ...
305
+ @_property
306
+ def forward_direction(self) -> winrt.windows.foundation.numerics.Vector3: ...
307
+ @_property
308
+ def position(self) -> winrt.windows.foundation.numerics.Vector3: ...
309
+ @_property
310
+ def up_direction(self) -> winrt.windows.foundation.numerics.Vector3: ...
311
+ @_property
312
+ def orientation(self) -> winrt.windows.foundation.numerics.Quaternion: ...
313
+ @_property
314
+ def position_accuracy(self) -> SpatialInteractionSourcePositionAccuracy: ...
315
+
316
+ class SpatialPointerPose_Static(type):
317
+ def try_get_at_timestamp(cls, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], timestamp: typing.Optional[winrt.windows.perception.PerceptionTimestamp], /) -> typing.Optional[SpatialPointerPose]: ...
318
+
319
+ class SpatialPointerPose(winrt.system.Object, metaclass=SpatialPointerPose_Static):
320
+ @staticmethod
321
+ def _from(obj: winrt.system.Object, /) -> SpatialPointerPose: ...
322
+ def try_get_interaction_source_pose(self, source: typing.Optional[SpatialInteractionSource], /) -> typing.Optional[SpatialPointerInteractionSourcePose]: ...
323
+ @_property
324
+ def head(self) -> typing.Optional[winrt.windows.perception.people.HeadPose]: ...
325
+ @_property
326
+ def timestamp(self) -> typing.Optional[winrt.windows.perception.PerceptionTimestamp]: ...
327
+ @_property
328
+ def eyes(self) -> typing.Optional[winrt.windows.perception.people.EyesPose]: ...
329
+ @_property
330
+ def is_head_captured_by_system(self) -> bool: ...
331
+
332
+ class SpatialRecognitionEndedEventArgs(winrt.system.Object):
333
+ @staticmethod
334
+ def _from(obj: winrt.system.Object, /) -> SpatialRecognitionEndedEventArgs: ...
335
+ @_property
336
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
337
+
338
+ class SpatialRecognitionStartedEventArgs(winrt.system.Object):
339
+ @staticmethod
340
+ def _from(obj: winrt.system.Object, /) -> SpatialRecognitionStartedEventArgs: ...
341
+ def is_gesture_possible(self, gesture: SpatialGestureSettings, /) -> bool: ...
342
+ def try_get_pointer_pose(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialPointerPose]: ...
343
+ @_property
344
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
345
+
346
+ class SpatialTappedEventArgs(winrt.system.Object):
347
+ @staticmethod
348
+ def _from(obj: winrt.system.Object, /) -> SpatialTappedEventArgs: ...
349
+ def try_get_pointer_pose(self, coordinate_system: typing.Optional[winrt.windows.perception.spatial.SpatialCoordinateSystem], /) -> typing.Optional[SpatialPointerPose]: ...
350
+ @_property
351
+ def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
352
+ @_property
353
+ def tap_count(self) -> winrt.system.UInt32: ...
354
+
@@ -0,0 +1,107 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_ui_input_spatial
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
+
44
+ class SpatialGestureSettings(enum.IntFlag):
45
+ NONE = 0
46
+ TAP = 0x1
47
+ DOUBLE_TAP = 0x2
48
+ HOLD = 0x4
49
+ MANIPULATION_TRANSLATE = 0x8
50
+ NAVIGATION_X = 0x10
51
+ NAVIGATION_Y = 0x20
52
+ NAVIGATION_Z = 0x40
53
+ NAVIGATION_RAILS_X = 0x80
54
+ NAVIGATION_RAILS_Y = 0x100
55
+ NAVIGATION_RAILS_Z = 0x200
56
+
57
+ class SpatialInteractionPressKind(enum.IntEnum):
58
+ NONE = 0
59
+ SELECT = 1
60
+ MENU = 2
61
+ GRASP = 3
62
+ TOUCHPAD = 4
63
+ THUMBSTICK = 5
64
+
65
+ class SpatialInteractionSourceHandedness(enum.IntEnum):
66
+ UNSPECIFIED = 0
67
+ LEFT = 1
68
+ RIGHT = 2
69
+
70
+ class SpatialInteractionSourceKind(enum.IntEnum):
71
+ OTHER = 0
72
+ HAND = 1
73
+ VOICE = 2
74
+ CONTROLLER = 3
75
+
76
+ class SpatialInteractionSourcePositionAccuracy(enum.IntEnum):
77
+ HIGH = 0
78
+ APPROXIMATE = 1
79
+
80
+ SpatialGestureRecognizer = _winrt_windows_ui_input_spatial.SpatialGestureRecognizer
81
+ SpatialHoldCanceledEventArgs = _winrt_windows_ui_input_spatial.SpatialHoldCanceledEventArgs
82
+ SpatialHoldCompletedEventArgs = _winrt_windows_ui_input_spatial.SpatialHoldCompletedEventArgs
83
+ SpatialHoldStartedEventArgs = _winrt_windows_ui_input_spatial.SpatialHoldStartedEventArgs
84
+ SpatialInteraction = _winrt_windows_ui_input_spatial.SpatialInteraction
85
+ SpatialInteractionController = _winrt_windows_ui_input_spatial.SpatialInteractionController
86
+ SpatialInteractionControllerProperties = _winrt_windows_ui_input_spatial.SpatialInteractionControllerProperties
87
+ SpatialInteractionDetectedEventArgs = _winrt_windows_ui_input_spatial.SpatialInteractionDetectedEventArgs
88
+ SpatialInteractionManager = _winrt_windows_ui_input_spatial.SpatialInteractionManager
89
+ SpatialInteractionSource = _winrt_windows_ui_input_spatial.SpatialInteractionSource
90
+ SpatialInteractionSourceEventArgs = _winrt_windows_ui_input_spatial.SpatialInteractionSourceEventArgs
91
+ SpatialInteractionSourceLocation = _winrt_windows_ui_input_spatial.SpatialInteractionSourceLocation
92
+ SpatialInteractionSourceProperties = _winrt_windows_ui_input_spatial.SpatialInteractionSourceProperties
93
+ SpatialInteractionSourceState = _winrt_windows_ui_input_spatial.SpatialInteractionSourceState
94
+ SpatialManipulationCanceledEventArgs = _winrt_windows_ui_input_spatial.SpatialManipulationCanceledEventArgs
95
+ SpatialManipulationCompletedEventArgs = _winrt_windows_ui_input_spatial.SpatialManipulationCompletedEventArgs
96
+ SpatialManipulationDelta = _winrt_windows_ui_input_spatial.SpatialManipulationDelta
97
+ SpatialManipulationStartedEventArgs = _winrt_windows_ui_input_spatial.SpatialManipulationStartedEventArgs
98
+ SpatialManipulationUpdatedEventArgs = _winrt_windows_ui_input_spatial.SpatialManipulationUpdatedEventArgs
99
+ SpatialNavigationCanceledEventArgs = _winrt_windows_ui_input_spatial.SpatialNavigationCanceledEventArgs
100
+ SpatialNavigationCompletedEventArgs = _winrt_windows_ui_input_spatial.SpatialNavigationCompletedEventArgs
101
+ SpatialNavigationStartedEventArgs = _winrt_windows_ui_input_spatial.SpatialNavigationStartedEventArgs
102
+ SpatialNavigationUpdatedEventArgs = _winrt_windows_ui_input_spatial.SpatialNavigationUpdatedEventArgs
103
+ SpatialPointerInteractionSourcePose = _winrt_windows_ui_input_spatial.SpatialPointerInteractionSourcePose
104
+ SpatialPointerPose = _winrt_windows_ui_input_spatial.SpatialPointerPose
105
+ SpatialRecognitionEndedEventArgs = _winrt_windows_ui_input_spatial.SpatialRecognitionEndedEventArgs
106
+ SpatialRecognitionStartedEventArgs = _winrt_windows_ui_input_spatial.SpatialRecognitionStartedEventArgs
107
+ SpatialTappedEventArgs = _winrt_windows_ui_input_spatial.SpatialTappedEventArgs
@@ -0,0 +1,32 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Input.Spatial
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Devices.Haptics[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Devices.Power[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Foundation.Numerics[all] ==2.0.0-beta.1 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Perception[all] ==2.0.0-beta.1 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.Perception.People[all] ==2.0.0-beta.1 ; extra == 'all'
23
+ Requires-Dist: winrt-Windows.Perception.Spatial[all] ==2.0.0-beta.1 ; extra == 'all'
24
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.0.0-beta.1 ; extra == 'all'
25
+
26
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
27
+
28
+ # winrt-Windows.UI.Input.Spatial
29
+
30
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Input.Spatial` namespace.
31
+
32
+ This package provides the `winrt.windows.ui.input.spatial` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_ui_input_spatial.cp39-win_arm64.pyd,sha256=jOzGHSns73tCFtE8YvOK7_O2ENbI-qdsEFcZdSLxPbM,408576
2
+ winrt/_winrt_windows_ui_input_spatial.pyi,sha256=x7JjG9SL5BDbDdCTjE3pHT7R6EicDJJpRTPyzMIiDhg,22088
3
+ winrt/windows/ui/input/spatial/__init__.py,sha256=tCExNQRnrpkFjnYivtnTYttoTJZlWWZUvT4d66o2_JM,4908
4
+ winrt_Windows.UI.Input.Spatial-2.0.0b1.dist-info/METADATA,sha256=fi-GqWpDPvE2oAQNQG3zjIY-NDaDS8tY1zkjcz3m26Q,1677
5
+ winrt_Windows.UI.Input.Spatial-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.UI.Input.Spatial-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.UI.Input.Spatial-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_arm64
5
+