winrt-Windows.UI.Input.Spatial 3.2.1__cp314-cp314-win32.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.
- winrt/_winrt_windows_ui_input_spatial.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_ui_input_spatial.pyi +467 -0
- winrt/windows/ui/input/spatial/__init__.py +108 -0
- winrt/windows/ui/input/spatial/py.typed +0 -0
- winrt_windows_ui_input_spatial-3.2.1.dist-info/METADATA +33 -0
- winrt_windows_ui_input_spatial-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_ui_input_spatial-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_ui_input_spatial-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.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 as windows_devices_haptics
|
|
13
|
+
import winrt.windows.devices.power as windows_devices_power
|
|
14
|
+
import winrt.windows.foundation as windows_foundation
|
|
15
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
16
|
+
import winrt.windows.foundation.numerics as windows_foundation_numerics
|
|
17
|
+
import winrt.windows.perception as windows_perception
|
|
18
|
+
import winrt.windows.perception.people as windows_perception_people
|
|
19
|
+
import winrt.windows.perception.spatial as windows_perception_spatial
|
|
20
|
+
import winrt.windows.storage.streams as 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
|
+
@typing.final
|
|
27
|
+
class SpatialGestureRecognizer(winrt.system.Object):
|
|
28
|
+
def __new__(cls: typing.Type[Self], settings: SpatialGestureSettings) -> Self: ...
|
|
29
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::CancelPendingGestures()
|
|
30
|
+
def cancel_pending_gestures(self) -> None: ...
|
|
31
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::CaptureInteraction(Windows.UI.Input.Spatial.SpatialInteraction)
|
|
32
|
+
def capture_interaction(self, interaction: SpatialInteraction, /) -> None: ...
|
|
33
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialGestureRecognizer::TrySetGestureSettings(Windows.UI.Input.Spatial.SpatialGestureSettings)
|
|
34
|
+
def try_set_gesture_settings(self, settings: SpatialGestureSettings, /) -> bool: ...
|
|
35
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_HoldCanceled(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialHoldCanceledEventArgs>)
|
|
36
|
+
def add_hold_canceled(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialHoldCanceledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
37
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_HoldCanceled(Windows.Foundation.EventRegistrationToken)
|
|
38
|
+
def remove_hold_canceled(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
39
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_HoldCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialHoldCompletedEventArgs>)
|
|
40
|
+
def add_hold_completed(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialHoldCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
41
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_HoldCompleted(Windows.Foundation.EventRegistrationToken)
|
|
42
|
+
def remove_hold_completed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
43
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_HoldStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs>)
|
|
44
|
+
def add_hold_started(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialHoldStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
45
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_HoldStarted(Windows.Foundation.EventRegistrationToken)
|
|
46
|
+
def remove_hold_started(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
47
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_ManipulationCanceled(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialManipulationCanceledEventArgs>)
|
|
48
|
+
def add_manipulation_canceled(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
49
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_ManipulationCanceled(Windows.Foundation.EventRegistrationToken)
|
|
50
|
+
def remove_manipulation_canceled(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
51
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_ManipulationCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs>)
|
|
52
|
+
def add_manipulation_completed(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
53
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_ManipulationCompleted(Windows.Foundation.EventRegistrationToken)
|
|
54
|
+
def remove_manipulation_completed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
55
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_ManipulationStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs>)
|
|
56
|
+
def add_manipulation_started(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
57
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_ManipulationStarted(Windows.Foundation.EventRegistrationToken)
|
|
58
|
+
def remove_manipulation_started(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
59
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_ManipulationUpdated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs>)
|
|
60
|
+
def add_manipulation_updated(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
61
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_ManipulationUpdated(Windows.Foundation.EventRegistrationToken)
|
|
62
|
+
def remove_manipulation_updated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
63
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_NavigationCanceled(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialNavigationCanceledEventArgs>)
|
|
64
|
+
def add_navigation_canceled(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationCanceledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
65
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_NavigationCanceled(Windows.Foundation.EventRegistrationToken)
|
|
66
|
+
def remove_navigation_canceled(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
67
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_NavigationCompleted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs>)
|
|
68
|
+
def add_navigation_completed(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
69
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_NavigationCompleted(Windows.Foundation.EventRegistrationToken)
|
|
70
|
+
def remove_navigation_completed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
71
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_NavigationStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs>)
|
|
72
|
+
def add_navigation_started(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
73
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_NavigationStarted(Windows.Foundation.EventRegistrationToken)
|
|
74
|
+
def remove_navigation_started(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
75
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_NavigationUpdated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs>)
|
|
76
|
+
def add_navigation_updated(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialNavigationUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
77
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_NavigationUpdated(Windows.Foundation.EventRegistrationToken)
|
|
78
|
+
def remove_navigation_updated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
79
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_RecognitionEnded(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialRecognitionEndedEventArgs>)
|
|
80
|
+
def add_recognition_ended(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialRecognitionEndedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
81
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_RecognitionEnded(Windows.Foundation.EventRegistrationToken)
|
|
82
|
+
def remove_recognition_ended(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
83
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_RecognitionStarted(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs>)
|
|
84
|
+
def add_recognition_started(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialRecognitionStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
85
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_RecognitionStarted(Windows.Foundation.EventRegistrationToken)
|
|
86
|
+
def remove_recognition_started(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
87
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialGestureRecognizer::add_Tapped(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialGestureRecognizer,Windows.UI.Input.Spatial.SpatialTappedEventArgs>)
|
|
88
|
+
def add_tapped(self, handler: windows_foundation.TypedEventHandler[SpatialGestureRecognizer, SpatialTappedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
89
|
+
# System.Void Windows.UI.Input.Spatial.SpatialGestureRecognizer::remove_Tapped(Windows.Foundation.EventRegistrationToken)
|
|
90
|
+
def remove_tapped(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
91
|
+
# Windows.UI.Input.Spatial.SpatialGestureSettings Windows.UI.Input.Spatial.SpatialGestureRecognizer::get_GestureSettings()
|
|
92
|
+
@_property
|
|
93
|
+
def gesture_settings(self) -> SpatialGestureSettings: ...
|
|
94
|
+
|
|
95
|
+
@typing.final
|
|
96
|
+
class SpatialHoldCanceledEventArgs(winrt.system.Object):
|
|
97
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialHoldCanceledEventArgs::get_InteractionSourceKind()
|
|
98
|
+
@_property
|
|
99
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
100
|
+
|
|
101
|
+
@typing.final
|
|
102
|
+
class SpatialHoldCompletedEventArgs(winrt.system.Object):
|
|
103
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialHoldCompletedEventArgs::get_InteractionSourceKind()
|
|
104
|
+
@_property
|
|
105
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
106
|
+
|
|
107
|
+
@typing.final
|
|
108
|
+
class SpatialHoldStartedEventArgs(winrt.system.Object):
|
|
109
|
+
# Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
110
|
+
def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialPointerPose]: ...
|
|
111
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs::get_InteractionSourceKind()
|
|
112
|
+
@_property
|
|
113
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
114
|
+
|
|
115
|
+
@typing.final
|
|
116
|
+
class SpatialInteraction(winrt.system.Object):
|
|
117
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceState Windows.UI.Input.Spatial.SpatialInteraction::get_SourceState()
|
|
118
|
+
@_property
|
|
119
|
+
def source_state(self) -> SpatialInteractionSourceState: ...
|
|
120
|
+
|
|
121
|
+
@typing.final
|
|
122
|
+
class SpatialInteractionController(winrt.system.Object):
|
|
123
|
+
# Windows.Devices.Power.BatteryReport Windows.UI.Input.Spatial.SpatialInteractionController::TryGetBatteryReport()
|
|
124
|
+
def try_get_battery_report(self) -> typing.Optional[windows_devices_power.BatteryReport]: ...
|
|
125
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStreamWithContentType> Windows.UI.Input.Spatial.SpatialInteractionController::TryGetRenderableModelAsync()
|
|
126
|
+
def try_get_renderable_model_async(self) -> windows_foundation.IAsyncOperation[typing.Optional[windows_storage_streams.IRandomAccessStreamWithContentType]]: ...
|
|
127
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionController::get_HasThumbstick()
|
|
128
|
+
@_property
|
|
129
|
+
def has_thumbstick(self) -> bool: ...
|
|
130
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionController::get_HasTouchpad()
|
|
131
|
+
@_property
|
|
132
|
+
def has_touchpad(self) -> bool: ...
|
|
133
|
+
# System.UInt16 Windows.UI.Input.Spatial.SpatialInteractionController::get_ProductId()
|
|
134
|
+
@_property
|
|
135
|
+
def product_id(self) -> winrt.system.UInt16: ...
|
|
136
|
+
# Windows.Devices.Haptics.SimpleHapticsController Windows.UI.Input.Spatial.SpatialInteractionController::get_SimpleHapticsController()
|
|
137
|
+
@_property
|
|
138
|
+
def simple_haptics_controller(self) -> windows_devices_haptics.SimpleHapticsController: ...
|
|
139
|
+
# System.UInt16 Windows.UI.Input.Spatial.SpatialInteractionController::get_VendorId()
|
|
140
|
+
@_property
|
|
141
|
+
def vendor_id(self) -> winrt.system.UInt16: ...
|
|
142
|
+
# System.UInt16 Windows.UI.Input.Spatial.SpatialInteractionController::get_Version()
|
|
143
|
+
@_property
|
|
144
|
+
def version(self) -> winrt.system.UInt16: ...
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class SpatialInteractionControllerProperties(winrt.system.Object):
|
|
148
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_IsThumbstickPressed()
|
|
149
|
+
@_property
|
|
150
|
+
def is_thumbstick_pressed(self) -> bool: ...
|
|
151
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_IsTouchpadPressed()
|
|
152
|
+
@_property
|
|
153
|
+
def is_touchpad_pressed(self) -> bool: ...
|
|
154
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_IsTouchpadTouched()
|
|
155
|
+
@_property
|
|
156
|
+
def is_touchpad_touched(self) -> bool: ...
|
|
157
|
+
# System.Double Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_ThumbstickX()
|
|
158
|
+
@_property
|
|
159
|
+
def thumbstick_x(self) -> winrt.system.Double: ...
|
|
160
|
+
# System.Double Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_ThumbstickY()
|
|
161
|
+
@_property
|
|
162
|
+
def thumbstick_y(self) -> winrt.system.Double: ...
|
|
163
|
+
# System.Double Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_TouchpadX()
|
|
164
|
+
@_property
|
|
165
|
+
def touchpad_x(self) -> winrt.system.Double: ...
|
|
166
|
+
# System.Double Windows.UI.Input.Spatial.SpatialInteractionControllerProperties::get_TouchpadY()
|
|
167
|
+
@_property
|
|
168
|
+
def touchpad_y(self) -> winrt.system.Double: ...
|
|
169
|
+
|
|
170
|
+
@typing.final
|
|
171
|
+
class SpatialInteractionDetectedEventArgs(winrt.system.Object):
|
|
172
|
+
# Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
173
|
+
def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialPointerPose]: ...
|
|
174
|
+
# Windows.UI.Input.Spatial.SpatialInteraction Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs::get_Interaction()
|
|
175
|
+
@_property
|
|
176
|
+
def interaction(self) -> SpatialInteraction: ...
|
|
177
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs::get_InteractionSourceKind()
|
|
178
|
+
@_property
|
|
179
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
180
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSource Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs::get_InteractionSource()
|
|
181
|
+
@_property
|
|
182
|
+
def interaction_source(self) -> SpatialInteractionSource: ...
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class SpatialInteractionManager_Static(winrt._winrt.IInspectable_Static):
|
|
186
|
+
# Windows.UI.Input.Spatial.SpatialInteractionManager Windows.UI.Input.Spatial.SpatialInteractionManager::GetForCurrentView()
|
|
187
|
+
def get_for_current_view(cls) -> SpatialInteractionManager: ...
|
|
188
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionManager::IsSourceKindSupported(Windows.UI.Input.Spatial.SpatialInteractionSourceKind)
|
|
189
|
+
def is_source_kind_supported(cls, kind: SpatialInteractionSourceKind, /) -> bool: ...
|
|
190
|
+
|
|
191
|
+
@typing.final
|
|
192
|
+
class SpatialInteractionManager(winrt.system.Object, metaclass=SpatialInteractionManager_Static):
|
|
193
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Input.Spatial.SpatialInteractionSourceState> Windows.UI.Input.Spatial.SpatialInteractionManager::GetDetectedSourcesAtTimestamp(Windows.Perception.PerceptionTimestamp)
|
|
194
|
+
def get_detected_sources_at_timestamp(self, time_stamp: windows_perception.PerceptionTimestamp, /) -> typing.Sequence[SpatialInteractionSourceState]: ...
|
|
195
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_InteractionDetected(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs>)
|
|
196
|
+
def add_interaction_detected(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionDetectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
197
|
+
# System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_InteractionDetected(Windows.Foundation.EventRegistrationToken)
|
|
198
|
+
def remove_interaction_detected(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
199
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourceDetected(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
|
|
200
|
+
def add_source_detected(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
201
|
+
# System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourceDetected(Windows.Foundation.EventRegistrationToken)
|
|
202
|
+
def remove_source_detected(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
203
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourceLost(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
|
|
204
|
+
def add_source_lost(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
205
|
+
# System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourceLost(Windows.Foundation.EventRegistrationToken)
|
|
206
|
+
def remove_source_lost(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
207
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourcePressed(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
|
|
208
|
+
def add_source_pressed(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
209
|
+
# System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourcePressed(Windows.Foundation.EventRegistrationToken)
|
|
210
|
+
def remove_source_pressed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
211
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourceReleased(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
|
|
212
|
+
def add_source_released(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
213
|
+
# System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourceReleased(Windows.Foundation.EventRegistrationToken)
|
|
214
|
+
def remove_source_released(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
215
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Input.Spatial.SpatialInteractionManager::add_SourceUpdated(Windows.Foundation.TypedEventHandler`2<Windows.UI.Input.Spatial.SpatialInteractionManager,Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs>)
|
|
216
|
+
def add_source_updated(self, handler: windows_foundation.TypedEventHandler[SpatialInteractionManager, SpatialInteractionSourceEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
217
|
+
# System.Void Windows.UI.Input.Spatial.SpatialInteractionManager::remove_SourceUpdated(Windows.Foundation.EventRegistrationToken)
|
|
218
|
+
def remove_source_updated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
219
|
+
|
|
220
|
+
@typing.final
|
|
221
|
+
class SpatialInteractionSource(winrt.system.Object):
|
|
222
|
+
# Windows.Perception.People.HandMeshObserver Windows.UI.Input.Spatial.SpatialInteractionSource::TryCreateHandMeshObserver()
|
|
223
|
+
def try_create_hand_mesh_observer(self) -> typing.Optional[windows_perception_people.HandMeshObserver]: ...
|
|
224
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Perception.People.HandMeshObserver> Windows.UI.Input.Spatial.SpatialInteractionSource::TryCreateHandMeshObserverAsync()
|
|
225
|
+
def try_create_hand_mesh_observer_async(self) -> windows_foundation.IAsyncOperation[typing.Optional[windows_perception_people.HandMeshObserver]]: ...
|
|
226
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceState Windows.UI.Input.Spatial.SpatialInteractionSource::TryGetStateAtTimestamp(Windows.Perception.PerceptionTimestamp)
|
|
227
|
+
def try_get_state_at_timestamp(self, timestamp: windows_perception.PerceptionTimestamp, /) -> typing.Optional[SpatialInteractionSourceState]: ...
|
|
228
|
+
# System.UInt32 Windows.UI.Input.Spatial.SpatialInteractionSource::get_Id()
|
|
229
|
+
@_property
|
|
230
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
231
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialInteractionSource::get_Kind()
|
|
232
|
+
@_property
|
|
233
|
+
def kind(self) -> SpatialInteractionSourceKind: ...
|
|
234
|
+
# Windows.UI.Input.Spatial.SpatialInteractionController Windows.UI.Input.Spatial.SpatialInteractionSource::get_Controller()
|
|
235
|
+
@_property
|
|
236
|
+
def controller(self) -> SpatialInteractionController: ...
|
|
237
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSource::get_IsGraspSupported()
|
|
238
|
+
@_property
|
|
239
|
+
def is_grasp_supported(self) -> bool: ...
|
|
240
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSource::get_IsMenuSupported()
|
|
241
|
+
@_property
|
|
242
|
+
def is_menu_supported(self) -> bool: ...
|
|
243
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSource::get_IsPointingSupported()
|
|
244
|
+
@_property
|
|
245
|
+
def is_pointing_supported(self) -> bool: ...
|
|
246
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceHandedness Windows.UI.Input.Spatial.SpatialInteractionSource::get_Handedness()
|
|
247
|
+
@_property
|
|
248
|
+
def handedness(self) -> SpatialInteractionSourceHandedness: ...
|
|
249
|
+
|
|
250
|
+
@typing.final
|
|
251
|
+
class SpatialInteractionSourceEventArgs(winrt.system.Object):
|
|
252
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceState Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs::get_State()
|
|
253
|
+
@_property
|
|
254
|
+
def state(self) -> SpatialInteractionSourceState: ...
|
|
255
|
+
# Windows.UI.Input.Spatial.SpatialInteractionPressKind Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs::get_PressKind()
|
|
256
|
+
@_property
|
|
257
|
+
def press_kind(self) -> SpatialInteractionPressKind: ...
|
|
258
|
+
|
|
259
|
+
@typing.final
|
|
260
|
+
class SpatialInteractionSourceLocation(winrt.system.Object):
|
|
261
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Vector3> Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_Position()
|
|
262
|
+
@_property
|
|
263
|
+
def position(self) -> typing.Optional[windows_foundation_numerics.Vector3]: ...
|
|
264
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Vector3> Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_Velocity()
|
|
265
|
+
@_property
|
|
266
|
+
def velocity(self) -> typing.Optional[windows_foundation_numerics.Vector3]: ...
|
|
267
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Quaternion> Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_Orientation()
|
|
268
|
+
@_property
|
|
269
|
+
def orientation(self) -> typing.Optional[windows_foundation_numerics.Quaternion]: ...
|
|
270
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Vector3> Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_AngularVelocity()
|
|
271
|
+
@_property
|
|
272
|
+
def angular_velocity(self) -> typing.Optional[windows_foundation_numerics.Vector3]: ...
|
|
273
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourcePositionAccuracy Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_PositionAccuracy()
|
|
274
|
+
@_property
|
|
275
|
+
def position_accuracy(self) -> SpatialInteractionSourcePositionAccuracy: ...
|
|
276
|
+
# Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose Windows.UI.Input.Spatial.SpatialInteractionSourceLocation::get_SourcePointerPose()
|
|
277
|
+
@_property
|
|
278
|
+
def source_pointer_pose(self) -> SpatialPointerInteractionSourcePose: ...
|
|
279
|
+
|
|
280
|
+
@typing.final
|
|
281
|
+
class SpatialInteractionSourceProperties(winrt.system.Object):
|
|
282
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceLocation Windows.UI.Input.Spatial.SpatialInteractionSourceProperties::TryGetLocation(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
283
|
+
def try_get_location(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialInteractionSourceLocation]: ...
|
|
284
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Vector3> Windows.UI.Input.Spatial.SpatialInteractionSourceProperties::TryGetSourceLossMitigationDirection(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
285
|
+
def try_get_source_loss_mitigation_direction(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[windows_foundation_numerics.Vector3]: ...
|
|
286
|
+
# System.Double Windows.UI.Input.Spatial.SpatialInteractionSourceProperties::get_SourceLossRisk()
|
|
287
|
+
@_property
|
|
288
|
+
def source_loss_risk(self) -> winrt.system.Double: ...
|
|
289
|
+
|
|
290
|
+
@typing.final
|
|
291
|
+
class SpatialInteractionSourceState(winrt.system.Object):
|
|
292
|
+
# Windows.Perception.People.HandPose Windows.UI.Input.Spatial.SpatialInteractionSourceState::TryGetHandPose()
|
|
293
|
+
def try_get_hand_pose(self) -> typing.Optional[windows_perception_people.HandPose]: ...
|
|
294
|
+
# Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialInteractionSourceState::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
295
|
+
def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialPointerPose]: ...
|
|
296
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_IsPressed()
|
|
297
|
+
@_property
|
|
298
|
+
def is_pressed(self) -> bool: ...
|
|
299
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceProperties Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_Properties()
|
|
300
|
+
@_property
|
|
301
|
+
def properties(self) -> SpatialInteractionSourceProperties: ...
|
|
302
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSource Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_Source()
|
|
303
|
+
@_property
|
|
304
|
+
def source(self) -> SpatialInteractionSource: ...
|
|
305
|
+
# Windows.Perception.PerceptionTimestamp Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_Timestamp()
|
|
306
|
+
@_property
|
|
307
|
+
def timestamp(self) -> windows_perception.PerceptionTimestamp: ...
|
|
308
|
+
# Windows.UI.Input.Spatial.SpatialInteractionControllerProperties Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_ControllerProperties()
|
|
309
|
+
@_property
|
|
310
|
+
def controller_properties(self) -> SpatialInteractionControllerProperties: ...
|
|
311
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_IsGrasped()
|
|
312
|
+
@_property
|
|
313
|
+
def is_grasped(self) -> bool: ...
|
|
314
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_IsMenuPressed()
|
|
315
|
+
@_property
|
|
316
|
+
def is_menu_pressed(self) -> bool: ...
|
|
317
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_IsSelectPressed()
|
|
318
|
+
@_property
|
|
319
|
+
def is_select_pressed(self) -> bool: ...
|
|
320
|
+
# System.Double Windows.UI.Input.Spatial.SpatialInteractionSourceState::get_SelectPressedValue()
|
|
321
|
+
@_property
|
|
322
|
+
def select_pressed_value(self) -> winrt.system.Double: ...
|
|
323
|
+
|
|
324
|
+
@typing.final
|
|
325
|
+
class SpatialManipulationCanceledEventArgs(winrt.system.Object):
|
|
326
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialManipulationCanceledEventArgs::get_InteractionSourceKind()
|
|
327
|
+
@_property
|
|
328
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
329
|
+
|
|
330
|
+
@typing.final
|
|
331
|
+
class SpatialManipulationCompletedEventArgs(winrt.system.Object):
|
|
332
|
+
# Windows.UI.Input.Spatial.SpatialManipulationDelta Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs::TryGetCumulativeDelta(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
333
|
+
def try_get_cumulative_delta(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialManipulationDelta]: ...
|
|
334
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs::get_InteractionSourceKind()
|
|
335
|
+
@_property
|
|
336
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
337
|
+
|
|
338
|
+
@typing.final
|
|
339
|
+
class SpatialManipulationDelta(winrt.system.Object):
|
|
340
|
+
# Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialManipulationDelta::get_Translation()
|
|
341
|
+
@_property
|
|
342
|
+
def translation(self) -> windows_foundation_numerics.Vector3: ...
|
|
343
|
+
|
|
344
|
+
@typing.final
|
|
345
|
+
class SpatialManipulationStartedEventArgs(winrt.system.Object):
|
|
346
|
+
# Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
347
|
+
def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialPointerPose]: ...
|
|
348
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs::get_InteractionSourceKind()
|
|
349
|
+
@_property
|
|
350
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
351
|
+
|
|
352
|
+
@typing.final
|
|
353
|
+
class SpatialManipulationUpdatedEventArgs(winrt.system.Object):
|
|
354
|
+
# Windows.UI.Input.Spatial.SpatialManipulationDelta Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs::TryGetCumulativeDelta(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
355
|
+
def try_get_cumulative_delta(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialManipulationDelta]: ...
|
|
356
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs::get_InteractionSourceKind()
|
|
357
|
+
@_property
|
|
358
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
359
|
+
|
|
360
|
+
@typing.final
|
|
361
|
+
class SpatialNavigationCanceledEventArgs(winrt.system.Object):
|
|
362
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialNavigationCanceledEventArgs::get_InteractionSourceKind()
|
|
363
|
+
@_property
|
|
364
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
365
|
+
|
|
366
|
+
@typing.final
|
|
367
|
+
class SpatialNavigationCompletedEventArgs(winrt.system.Object):
|
|
368
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs::get_InteractionSourceKind()
|
|
369
|
+
@_property
|
|
370
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
371
|
+
# Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs::get_NormalizedOffset()
|
|
372
|
+
@_property
|
|
373
|
+
def normalized_offset(self) -> windows_foundation_numerics.Vector3: ...
|
|
374
|
+
|
|
375
|
+
@typing.final
|
|
376
|
+
class SpatialNavigationStartedEventArgs(winrt.system.Object):
|
|
377
|
+
# Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
378
|
+
def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialPointerPose]: ...
|
|
379
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::get_InteractionSourceKind()
|
|
380
|
+
@_property
|
|
381
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
382
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::get_IsNavigatingX()
|
|
383
|
+
@_property
|
|
384
|
+
def is_navigating_x(self) -> bool: ...
|
|
385
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::get_IsNavigatingY()
|
|
386
|
+
@_property
|
|
387
|
+
def is_navigating_y(self) -> bool: ...
|
|
388
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs::get_IsNavigatingZ()
|
|
389
|
+
@_property
|
|
390
|
+
def is_navigating_z(self) -> bool: ...
|
|
391
|
+
|
|
392
|
+
@typing.final
|
|
393
|
+
class SpatialNavigationUpdatedEventArgs(winrt.system.Object):
|
|
394
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs::get_InteractionSourceKind()
|
|
395
|
+
@_property
|
|
396
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
397
|
+
# Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs::get_NormalizedOffset()
|
|
398
|
+
@_property
|
|
399
|
+
def normalized_offset(self) -> windows_foundation_numerics.Vector3: ...
|
|
400
|
+
|
|
401
|
+
@typing.final
|
|
402
|
+
class SpatialPointerInteractionSourcePose(winrt.system.Object):
|
|
403
|
+
# Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_ForwardDirection()
|
|
404
|
+
@_property
|
|
405
|
+
def forward_direction(self) -> windows_foundation_numerics.Vector3: ...
|
|
406
|
+
# Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_Position()
|
|
407
|
+
@_property
|
|
408
|
+
def position(self) -> windows_foundation_numerics.Vector3: ...
|
|
409
|
+
# Windows.Foundation.Numerics.Vector3 Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_UpDirection()
|
|
410
|
+
@_property
|
|
411
|
+
def up_direction(self) -> windows_foundation_numerics.Vector3: ...
|
|
412
|
+
# Windows.Foundation.Numerics.Quaternion Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_Orientation()
|
|
413
|
+
@_property
|
|
414
|
+
def orientation(self) -> windows_foundation_numerics.Quaternion: ...
|
|
415
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourcePositionAccuracy Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose::get_PositionAccuracy()
|
|
416
|
+
@_property
|
|
417
|
+
def position_accuracy(self) -> SpatialInteractionSourcePositionAccuracy: ...
|
|
418
|
+
|
|
419
|
+
@typing.final
|
|
420
|
+
class SpatialPointerPose_Static(winrt._winrt.IInspectable_Static):
|
|
421
|
+
# Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialPointerPose::TryGetAtTimestamp(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Perception.PerceptionTimestamp)
|
|
422
|
+
def try_get_at_timestamp(cls, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, timestamp: windows_perception.PerceptionTimestamp, /) -> typing.Optional[SpatialPointerPose]: ...
|
|
423
|
+
|
|
424
|
+
@typing.final
|
|
425
|
+
class SpatialPointerPose(winrt.system.Object, metaclass=SpatialPointerPose_Static):
|
|
426
|
+
# Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose Windows.UI.Input.Spatial.SpatialPointerPose::TryGetInteractionSourcePose(Windows.UI.Input.Spatial.SpatialInteractionSource)
|
|
427
|
+
def try_get_interaction_source_pose(self, source: SpatialInteractionSource, /) -> typing.Optional[SpatialPointerInteractionSourcePose]: ...
|
|
428
|
+
# Windows.Perception.People.HeadPose Windows.UI.Input.Spatial.SpatialPointerPose::get_Head()
|
|
429
|
+
@_property
|
|
430
|
+
def head(self) -> windows_perception_people.HeadPose: ...
|
|
431
|
+
# Windows.Perception.PerceptionTimestamp Windows.UI.Input.Spatial.SpatialPointerPose::get_Timestamp()
|
|
432
|
+
@_property
|
|
433
|
+
def timestamp(self) -> windows_perception.PerceptionTimestamp: ...
|
|
434
|
+
# Windows.Perception.People.EyesPose Windows.UI.Input.Spatial.SpatialPointerPose::get_Eyes()
|
|
435
|
+
@_property
|
|
436
|
+
def eyes(self) -> windows_perception_people.EyesPose: ...
|
|
437
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialPointerPose::get_IsHeadCapturedBySystem()
|
|
438
|
+
@_property
|
|
439
|
+
def is_head_captured_by_system(self) -> bool: ...
|
|
440
|
+
|
|
441
|
+
@typing.final
|
|
442
|
+
class SpatialRecognitionEndedEventArgs(winrt.system.Object):
|
|
443
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialRecognitionEndedEventArgs::get_InteractionSourceKind()
|
|
444
|
+
@_property
|
|
445
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
446
|
+
|
|
447
|
+
@typing.final
|
|
448
|
+
class SpatialRecognitionStartedEventArgs(winrt.system.Object):
|
|
449
|
+
# System.Boolean Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs::IsGesturePossible(Windows.UI.Input.Spatial.SpatialGestureSettings)
|
|
450
|
+
def is_gesture_possible(self, gesture: SpatialGestureSettings, /) -> bool: ...
|
|
451
|
+
# Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
452
|
+
def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialPointerPose]: ...
|
|
453
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs::get_InteractionSourceKind()
|
|
454
|
+
@_property
|
|
455
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
456
|
+
|
|
457
|
+
@typing.final
|
|
458
|
+
class SpatialTappedEventArgs(winrt.system.Object):
|
|
459
|
+
# Windows.UI.Input.Spatial.SpatialPointerPose Windows.UI.Input.Spatial.SpatialTappedEventArgs::TryGetPointerPose(Windows.Perception.Spatial.SpatialCoordinateSystem)
|
|
460
|
+
def try_get_pointer_pose(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> typing.Optional[SpatialPointerPose]: ...
|
|
461
|
+
# Windows.UI.Input.Spatial.SpatialInteractionSourceKind Windows.UI.Input.Spatial.SpatialTappedEventArgs::get_InteractionSourceKind()
|
|
462
|
+
@_property
|
|
463
|
+
def interaction_source_kind(self) -> SpatialInteractionSourceKind: ...
|
|
464
|
+
# System.UInt32 Windows.UI.Input.Spatial.SpatialTappedEventArgs::get_TapCount()
|
|
465
|
+
@_property
|
|
466
|
+
def tap_count(self) -> winrt.system.UInt32: ...
|
|
467
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_ui_input_spatial import (
|
|
7
|
+
SpatialGestureRecognizer,
|
|
8
|
+
SpatialHoldCanceledEventArgs,
|
|
9
|
+
SpatialHoldCompletedEventArgs,
|
|
10
|
+
SpatialHoldStartedEventArgs,
|
|
11
|
+
SpatialInteraction,
|
|
12
|
+
SpatialInteractionController,
|
|
13
|
+
SpatialInteractionControllerProperties,
|
|
14
|
+
SpatialInteractionDetectedEventArgs,
|
|
15
|
+
SpatialInteractionManager,
|
|
16
|
+
SpatialInteractionSource,
|
|
17
|
+
SpatialInteractionSourceEventArgs,
|
|
18
|
+
SpatialInteractionSourceLocation,
|
|
19
|
+
SpatialInteractionSourceProperties,
|
|
20
|
+
SpatialInteractionSourceState,
|
|
21
|
+
SpatialManipulationCanceledEventArgs,
|
|
22
|
+
SpatialManipulationCompletedEventArgs,
|
|
23
|
+
SpatialManipulationDelta,
|
|
24
|
+
SpatialManipulationStartedEventArgs,
|
|
25
|
+
SpatialManipulationUpdatedEventArgs,
|
|
26
|
+
SpatialNavigationCanceledEventArgs,
|
|
27
|
+
SpatialNavigationCompletedEventArgs,
|
|
28
|
+
SpatialNavigationStartedEventArgs,
|
|
29
|
+
SpatialNavigationUpdatedEventArgs,
|
|
30
|
+
SpatialPointerInteractionSourcePose,
|
|
31
|
+
SpatialPointerPose,
|
|
32
|
+
SpatialRecognitionEndedEventArgs,
|
|
33
|
+
SpatialRecognitionStartedEventArgs,
|
|
34
|
+
SpatialTappedEventArgs,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
__all__ = [
|
|
38
|
+
"SpatialGestureSettings",
|
|
39
|
+
"SpatialInteractionPressKind",
|
|
40
|
+
"SpatialInteractionSourceHandedness",
|
|
41
|
+
"SpatialInteractionSourceKind",
|
|
42
|
+
"SpatialInteractionSourcePositionAccuracy",
|
|
43
|
+
"SpatialGestureRecognizer",
|
|
44
|
+
"SpatialHoldCanceledEventArgs",
|
|
45
|
+
"SpatialHoldCompletedEventArgs",
|
|
46
|
+
"SpatialHoldStartedEventArgs",
|
|
47
|
+
"SpatialInteraction",
|
|
48
|
+
"SpatialInteractionController",
|
|
49
|
+
"SpatialInteractionControllerProperties",
|
|
50
|
+
"SpatialInteractionDetectedEventArgs",
|
|
51
|
+
"SpatialInteractionManager",
|
|
52
|
+
"SpatialInteractionSource",
|
|
53
|
+
"SpatialInteractionSourceEventArgs",
|
|
54
|
+
"SpatialInteractionSourceLocation",
|
|
55
|
+
"SpatialInteractionSourceProperties",
|
|
56
|
+
"SpatialInteractionSourceState",
|
|
57
|
+
"SpatialManipulationCanceledEventArgs",
|
|
58
|
+
"SpatialManipulationCompletedEventArgs",
|
|
59
|
+
"SpatialManipulationDelta",
|
|
60
|
+
"SpatialManipulationStartedEventArgs",
|
|
61
|
+
"SpatialManipulationUpdatedEventArgs",
|
|
62
|
+
"SpatialNavigationCanceledEventArgs",
|
|
63
|
+
"SpatialNavigationCompletedEventArgs",
|
|
64
|
+
"SpatialNavigationStartedEventArgs",
|
|
65
|
+
"SpatialNavigationUpdatedEventArgs",
|
|
66
|
+
"SpatialPointerInteractionSourcePose",
|
|
67
|
+
"SpatialPointerPose",
|
|
68
|
+
"SpatialRecognitionEndedEventArgs",
|
|
69
|
+
"SpatialRecognitionStartedEventArgs",
|
|
70
|
+
"SpatialTappedEventArgs",
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
class SpatialGestureSettings(enum.IntFlag):
|
|
74
|
+
NONE = 0x0
|
|
75
|
+
TAP = 0x1
|
|
76
|
+
DOUBLE_TAP = 0x2
|
|
77
|
+
HOLD = 0x4
|
|
78
|
+
MANIPULATION_TRANSLATE = 0x8
|
|
79
|
+
NAVIGATION_X = 0x10
|
|
80
|
+
NAVIGATION_Y = 0x20
|
|
81
|
+
NAVIGATION_Z = 0x40
|
|
82
|
+
NAVIGATION_RAILS_X = 0x80
|
|
83
|
+
NAVIGATION_RAILS_Y = 0x100
|
|
84
|
+
NAVIGATION_RAILS_Z = 0x200
|
|
85
|
+
|
|
86
|
+
class SpatialInteractionPressKind(enum.IntEnum):
|
|
87
|
+
NONE = 0
|
|
88
|
+
SELECT = 1
|
|
89
|
+
MENU = 2
|
|
90
|
+
GRASP = 3
|
|
91
|
+
TOUCHPAD = 4
|
|
92
|
+
THUMBSTICK = 5
|
|
93
|
+
|
|
94
|
+
class SpatialInteractionSourceHandedness(enum.IntEnum):
|
|
95
|
+
UNSPECIFIED = 0
|
|
96
|
+
LEFT = 1
|
|
97
|
+
RIGHT = 2
|
|
98
|
+
|
|
99
|
+
class SpatialInteractionSourceKind(enum.IntEnum):
|
|
100
|
+
OTHER = 0
|
|
101
|
+
HAND = 1
|
|
102
|
+
VOICE = 2
|
|
103
|
+
CONTROLLER = 3
|
|
104
|
+
|
|
105
|
+
class SpatialInteractionSourcePositionAccuracy(enum.IntEnum):
|
|
106
|
+
HIGH = 0
|
|
107
|
+
APPROXIMATE = 1
|
|
108
|
+
|
|
File without changes
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.UI.Input.Spatial
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Devices.Haptics[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Devices.Power[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Perception[all]~=3.2.1.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Perception.People[all]~=3.2.1.0; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Perception.Spatial[all]~=3.2.1.0; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
|
|
26
|
+
|
|
27
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
28
|
+
|
|
29
|
+
# winrt-Windows.UI.Input.Spatial
|
|
30
|
+
|
|
31
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.Input.Spatial` namespace.
|
|
32
|
+
|
|
33
|
+
This package provides the `winrt.windows.ui.input.spatial` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ui_input_spatial.cp314-win32.pyd,sha256=DbAIcv8Wqo108DPSrMIkSMTu9g8KsgFvKOqYjawBBAc,308224
|
|
2
|
+
winrt/_winrt_windows_ui_input_spatial.pyi,sha256=e4ASpifSm8A653yK8-MRCqWhBZkGdNwP_Nm2Qex7B1o,41064
|
|
3
|
+
winrt/windows/ui/input/spatial/__init__.py,sha256=t8DvFGZ81w9Uj_Xamjre-DfomL4H2q2LVseKj-0ZGTg,3220
|
|
4
|
+
winrt/windows/ui/input/spatial/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ui_input_spatial-3.2.1.dist-info/METADATA,sha256=oGw5sKsoWrWYzAqMrEZNQDNV0WEb3tixDscj4Jf0bPw,1670
|
|
6
|
+
winrt_windows_ui_input_spatial-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_ui_input_spatial-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ui_input_spatial-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|