winrt-Windows.UI.Input 2.2.0__cp313-cp313-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.
@@ -0,0 +1,761 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
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.input as windows_devices_input
14
+ import winrt.windows.foundation as windows_foundation
15
+ import winrt.windows.foundation.collections as windows_foundation_collections
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+ import winrt.windows.system as windows_system
18
+ import winrt.windows.ui.core as windows_ui_core
19
+
20
+ from winrt.windows.ui.input import CrossSlidingState, DraggingState, EdgeGestureKind, GazeInputAccessStatus, GestureSettings, HoldingState, InputActivationState, PointerUpdateKind, RadialControllerMenuKnownIcon, RadialControllerSystemMenuItemKind
21
+
22
+ Self = typing.TypeVar('Self')
23
+
24
+ @typing.final
25
+ class CrossSlideThresholds:
26
+ selection_start: winrt.system.Single
27
+ speed_bump_start: winrt.system.Single
28
+ speed_bump_end: winrt.system.Single
29
+ rearrange_start: winrt.system.Single
30
+ def __init__(self, selection_start: winrt.system.Single, speed_bump_start: winrt.system.Single, speed_bump_end: winrt.system.Single, rearrange_start: winrt.system.Single) -> None: ...
31
+
32
+ @typing.final
33
+ class ManipulationDelta:
34
+ translation: windows_foundation.Point
35
+ scale: winrt.system.Single
36
+ rotation: winrt.system.Single
37
+ expansion: winrt.system.Single
38
+ def __init__(self, translation: windows_foundation.Point, scale: winrt.system.Single, rotation: winrt.system.Single, expansion: winrt.system.Single) -> None: ...
39
+
40
+ @typing.final
41
+ class ManipulationVelocities:
42
+ linear: windows_foundation.Point
43
+ angular: winrt.system.Single
44
+ expansion: winrt.system.Single
45
+ def __init__(self, linear: windows_foundation.Point, angular: winrt.system.Single, expansion: winrt.system.Single) -> None: ...
46
+
47
+ @typing.final
48
+ class AttachableInputObject(winrt.system.Object):
49
+ def __enter__(self: Self) -> Self: ...
50
+ def __exit__(self, *args) -> None: ...
51
+ @staticmethod
52
+ def _from(obj: winrt.system.Object, /) -> AttachableInputObject: ...
53
+ def close(self) -> None: ...
54
+
55
+ @typing.final
56
+ class CrossSlidingEventArgs(winrt.system.Object):
57
+ @staticmethod
58
+ def _from(obj: winrt.system.Object, /) -> CrossSlidingEventArgs: ...
59
+ @_property
60
+ def cross_sliding_state(self) -> CrossSlidingState: ...
61
+ @_property
62
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
63
+ @_property
64
+ def position(self) -> windows_foundation.Point: ...
65
+ @_property
66
+ def contact_count(self) -> winrt.system.UInt32: ...
67
+
68
+ @typing.final
69
+ class DraggingEventArgs(winrt.system.Object):
70
+ @staticmethod
71
+ def _from(obj: winrt.system.Object, /) -> DraggingEventArgs: ...
72
+ @_property
73
+ def dragging_state(self) -> DraggingState: ...
74
+ @_property
75
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
76
+ @_property
77
+ def position(self) -> windows_foundation.Point: ...
78
+ @_property
79
+ def contact_count(self) -> winrt.system.UInt32: ...
80
+
81
+ @typing.final
82
+ class EdgeGesture_Static(type):
83
+ def get_for_current_view(cls) -> typing.Optional[EdgeGesture]: ...
84
+
85
+ @typing.final
86
+ class EdgeGesture(winrt.system.Object, metaclass=EdgeGesture_Static):
87
+ @staticmethod
88
+ def _from(obj: winrt.system.Object, /) -> EdgeGesture: ...
89
+ def add_canceled(self, handler: windows_foundation.TypedEventHandler[EdgeGesture, EdgeGestureEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
90
+ def remove_canceled(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
91
+ def add_completed(self, handler: windows_foundation.TypedEventHandler[EdgeGesture, EdgeGestureEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
92
+ def remove_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
93
+ def add_starting(self, handler: windows_foundation.TypedEventHandler[EdgeGesture, EdgeGestureEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
94
+ def remove_starting(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
95
+
96
+ @typing.final
97
+ class EdgeGestureEventArgs(winrt.system.Object):
98
+ @staticmethod
99
+ def _from(obj: winrt.system.Object, /) -> EdgeGestureEventArgs: ...
100
+ @_property
101
+ def kind(self) -> EdgeGestureKind: ...
102
+
103
+ @typing.final
104
+ class GestureRecognizer(winrt.system.Object):
105
+ @staticmethod
106
+ def _from(obj: winrt.system.Object, /) -> GestureRecognizer: ...
107
+ def __new__(cls: typing.Type[GestureRecognizer]) -> GestureRecognizer: ...
108
+ def can_be_double_tap(self, value: typing.Optional[PointerPoint], /) -> bool: ...
109
+ def complete_gesture(self) -> None: ...
110
+ def process_down_event(self, value: typing.Optional[PointerPoint], /) -> None: ...
111
+ def process_inertia(self) -> None: ...
112
+ def process_mouse_wheel_event(self, value: typing.Optional[PointerPoint], is_shift_key_down: bool, is_control_key_down: bool, /) -> None: ...
113
+ def process_move_events(self, value: windows_foundation_collections.IVector[PointerPoint], /) -> None: ...
114
+ def process_up_event(self, value: typing.Optional[PointerPoint], /) -> None: ...
115
+ def add_cross_sliding(self, handler: windows_foundation.TypedEventHandler[GestureRecognizer, CrossSlidingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
116
+ def remove_cross_sliding(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
117
+ def add_dragging(self, handler: windows_foundation.TypedEventHandler[GestureRecognizer, DraggingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
118
+ def remove_dragging(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
119
+ def add_holding(self, handler: windows_foundation.TypedEventHandler[GestureRecognizer, HoldingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
120
+ def remove_holding(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
121
+ def add_manipulation_completed(self, handler: windows_foundation.TypedEventHandler[GestureRecognizer, ManipulationCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
122
+ def remove_manipulation_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
123
+ def add_manipulation_inertia_starting(self, handler: windows_foundation.TypedEventHandler[GestureRecognizer, ManipulationInertiaStartingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
124
+ def remove_manipulation_inertia_starting(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
125
+ def add_manipulation_started(self, handler: windows_foundation.TypedEventHandler[GestureRecognizer, ManipulationStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
126
+ def remove_manipulation_started(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
127
+ def add_manipulation_updated(self, handler: windows_foundation.TypedEventHandler[GestureRecognizer, ManipulationUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
128
+ def remove_manipulation_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
129
+ def add_right_tapped(self, handler: windows_foundation.TypedEventHandler[GestureRecognizer, RightTappedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
130
+ def remove_right_tapped(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
131
+ def add_tapped(self, handler: windows_foundation.TypedEventHandler[GestureRecognizer, TappedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
132
+ def remove_tapped(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
133
+ @_property
134
+ def show_gesture_feedback(self) -> bool: ...
135
+ @show_gesture_feedback.setter
136
+ def show_gesture_feedback(self, value: bool) -> None: ...
137
+ @_property
138
+ def pivot_radius(self) -> winrt.system.Single: ...
139
+ @pivot_radius.setter
140
+ def pivot_radius(self, value: winrt.system.Single) -> None: ...
141
+ @_property
142
+ def pivot_center(self) -> windows_foundation.Point: ...
143
+ @pivot_center.setter
144
+ def pivot_center(self, value: windows_foundation.Point) -> None: ...
145
+ @_property
146
+ def manipulation_exact(self) -> bool: ...
147
+ @manipulation_exact.setter
148
+ def manipulation_exact(self, value: bool) -> None: ...
149
+ @_property
150
+ def inertia_translation_displacement(self) -> winrt.system.Single: ...
151
+ @inertia_translation_displacement.setter
152
+ def inertia_translation_displacement(self, value: winrt.system.Single) -> None: ...
153
+ @_property
154
+ def inertia_translation_deceleration(self) -> winrt.system.Single: ...
155
+ @inertia_translation_deceleration.setter
156
+ def inertia_translation_deceleration(self, value: winrt.system.Single) -> None: ...
157
+ @_property
158
+ def inertia_rotation_deceleration(self) -> winrt.system.Single: ...
159
+ @inertia_rotation_deceleration.setter
160
+ def inertia_rotation_deceleration(self, value: winrt.system.Single) -> None: ...
161
+ @_property
162
+ def inertia_rotation_angle(self) -> winrt.system.Single: ...
163
+ @inertia_rotation_angle.setter
164
+ def inertia_rotation_angle(self, value: winrt.system.Single) -> None: ...
165
+ @_property
166
+ def inertia_expansion_deceleration(self) -> winrt.system.Single: ...
167
+ @inertia_expansion_deceleration.setter
168
+ def inertia_expansion_deceleration(self, value: winrt.system.Single) -> None: ...
169
+ @_property
170
+ def inertia_expansion(self) -> winrt.system.Single: ...
171
+ @inertia_expansion.setter
172
+ def inertia_expansion(self, value: winrt.system.Single) -> None: ...
173
+ @_property
174
+ def gesture_settings(self) -> GestureSettings: ...
175
+ @gesture_settings.setter
176
+ def gesture_settings(self, value: GestureSettings) -> None: ...
177
+ @_property
178
+ def cross_slide_thresholds(self) -> CrossSlideThresholds: ...
179
+ @cross_slide_thresholds.setter
180
+ def cross_slide_thresholds(self, value: CrossSlideThresholds) -> None: ...
181
+ @_property
182
+ def cross_slide_horizontally(self) -> bool: ...
183
+ @cross_slide_horizontally.setter
184
+ def cross_slide_horizontally(self, value: bool) -> None: ...
185
+ @_property
186
+ def cross_slide_exact(self) -> bool: ...
187
+ @cross_slide_exact.setter
188
+ def cross_slide_exact(self, value: bool) -> None: ...
189
+ @_property
190
+ def auto_process_inertia(self) -> bool: ...
191
+ @auto_process_inertia.setter
192
+ def auto_process_inertia(self, value: bool) -> None: ...
193
+ @_property
194
+ def is_active(self) -> bool: ...
195
+ @_property
196
+ def is_inertial(self) -> bool: ...
197
+ @_property
198
+ def mouse_wheel_parameters(self) -> typing.Optional[MouseWheelParameters]: ...
199
+ @_property
200
+ def translation_min_contact_count(self) -> winrt.system.UInt32: ...
201
+ @translation_min_contact_count.setter
202
+ def translation_min_contact_count(self, value: winrt.system.UInt32) -> None: ...
203
+ @_property
204
+ def translation_max_contact_count(self) -> winrt.system.UInt32: ...
205
+ @translation_max_contact_count.setter
206
+ def translation_max_contact_count(self, value: winrt.system.UInt32) -> None: ...
207
+ @_property
208
+ def tap_min_contact_count(self) -> winrt.system.UInt32: ...
209
+ @tap_min_contact_count.setter
210
+ def tap_min_contact_count(self, value: winrt.system.UInt32) -> None: ...
211
+ @_property
212
+ def tap_max_contact_count(self) -> winrt.system.UInt32: ...
213
+ @tap_max_contact_count.setter
214
+ def tap_max_contact_count(self, value: winrt.system.UInt32) -> None: ...
215
+ @_property
216
+ def hold_start_delay(self) -> datetime.timedelta: ...
217
+ @hold_start_delay.setter
218
+ def hold_start_delay(self, value: datetime.timedelta) -> None: ...
219
+ @_property
220
+ def hold_radius(self) -> winrt.system.Single: ...
221
+ @hold_radius.setter
222
+ def hold_radius(self, value: winrt.system.Single) -> None: ...
223
+ @_property
224
+ def hold_min_contact_count(self) -> winrt.system.UInt32: ...
225
+ @hold_min_contact_count.setter
226
+ def hold_min_contact_count(self, value: winrt.system.UInt32) -> None: ...
227
+ @_property
228
+ def hold_max_contact_count(self) -> winrt.system.UInt32: ...
229
+ @hold_max_contact_count.setter
230
+ def hold_max_contact_count(self, value: winrt.system.UInt32) -> None: ...
231
+
232
+ @typing.final
233
+ class HoldingEventArgs(winrt.system.Object):
234
+ @staticmethod
235
+ def _from(obj: winrt.system.Object, /) -> HoldingEventArgs: ...
236
+ @_property
237
+ def holding_state(self) -> HoldingState: ...
238
+ @_property
239
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
240
+ @_property
241
+ def position(self) -> windows_foundation.Point: ...
242
+ @_property
243
+ def contact_count(self) -> winrt.system.UInt32: ...
244
+ @_property
245
+ def current_contact_count(self) -> winrt.system.UInt32: ...
246
+
247
+ @typing.final
248
+ class InputActivationListener(winrt.system.Object):
249
+ @staticmethod
250
+ def _from(obj: winrt.system.Object, /) -> InputActivationListener: ...
251
+ def close(self) -> None: ...
252
+ def add_input_activation_changed(self, handler: windows_foundation.TypedEventHandler[InputActivationListener, InputActivationListenerActivationChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
253
+ def remove_input_activation_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
254
+ @_property
255
+ def state(self) -> InputActivationState: ...
256
+
257
+ @typing.final
258
+ class InputActivationListenerActivationChangedEventArgs(winrt.system.Object):
259
+ @staticmethod
260
+ def _from(obj: winrt.system.Object, /) -> InputActivationListenerActivationChangedEventArgs: ...
261
+ @_property
262
+ def state(self) -> InputActivationState: ...
263
+
264
+ @typing.final
265
+ class KeyboardDeliveryInterceptor_Static(type):
266
+ def get_for_current_view(cls) -> typing.Optional[KeyboardDeliveryInterceptor]: ...
267
+
268
+ @typing.final
269
+ class KeyboardDeliveryInterceptor(winrt.system.Object, metaclass=KeyboardDeliveryInterceptor_Static):
270
+ @staticmethod
271
+ def _from(obj: winrt.system.Object, /) -> KeyboardDeliveryInterceptor: ...
272
+ def add_key_down(self, handler: windows_foundation.TypedEventHandler[KeyboardDeliveryInterceptor, windows_ui_core.KeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
273
+ def remove_key_down(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
274
+ def add_key_up(self, handler: windows_foundation.TypedEventHandler[KeyboardDeliveryInterceptor, windows_ui_core.KeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
275
+ def remove_key_up(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
276
+ @_property
277
+ def is_interception_enabled_when_in_foreground(self) -> bool: ...
278
+ @is_interception_enabled_when_in_foreground.setter
279
+ def is_interception_enabled_when_in_foreground(self, value: bool) -> None: ...
280
+
281
+ @typing.final
282
+ class ManipulationCompletedEventArgs(winrt.system.Object):
283
+ @staticmethod
284
+ def _from(obj: winrt.system.Object, /) -> ManipulationCompletedEventArgs: ...
285
+ @_property
286
+ def cumulative(self) -> ManipulationDelta: ...
287
+ @_property
288
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
289
+ @_property
290
+ def position(self) -> windows_foundation.Point: ...
291
+ @_property
292
+ def velocities(self) -> ManipulationVelocities: ...
293
+ @_property
294
+ def contact_count(self) -> winrt.system.UInt32: ...
295
+ @_property
296
+ def current_contact_count(self) -> winrt.system.UInt32: ...
297
+
298
+ @typing.final
299
+ class ManipulationInertiaStartingEventArgs(winrt.system.Object):
300
+ @staticmethod
301
+ def _from(obj: winrt.system.Object, /) -> ManipulationInertiaStartingEventArgs: ...
302
+ @_property
303
+ def cumulative(self) -> ManipulationDelta: ...
304
+ @_property
305
+ def delta(self) -> ManipulationDelta: ...
306
+ @_property
307
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
308
+ @_property
309
+ def position(self) -> windows_foundation.Point: ...
310
+ @_property
311
+ def velocities(self) -> ManipulationVelocities: ...
312
+ @_property
313
+ def contact_count(self) -> winrt.system.UInt32: ...
314
+
315
+ @typing.final
316
+ class ManipulationStartedEventArgs(winrt.system.Object):
317
+ @staticmethod
318
+ def _from(obj: winrt.system.Object, /) -> ManipulationStartedEventArgs: ...
319
+ @_property
320
+ def cumulative(self) -> ManipulationDelta: ...
321
+ @_property
322
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
323
+ @_property
324
+ def position(self) -> windows_foundation.Point: ...
325
+ @_property
326
+ def contact_count(self) -> winrt.system.UInt32: ...
327
+
328
+ @typing.final
329
+ class ManipulationUpdatedEventArgs(winrt.system.Object):
330
+ @staticmethod
331
+ def _from(obj: winrt.system.Object, /) -> ManipulationUpdatedEventArgs: ...
332
+ @_property
333
+ def cumulative(self) -> ManipulationDelta: ...
334
+ @_property
335
+ def delta(self) -> ManipulationDelta: ...
336
+ @_property
337
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
338
+ @_property
339
+ def position(self) -> windows_foundation.Point: ...
340
+ @_property
341
+ def velocities(self) -> ManipulationVelocities: ...
342
+ @_property
343
+ def contact_count(self) -> winrt.system.UInt32: ...
344
+ @_property
345
+ def current_contact_count(self) -> winrt.system.UInt32: ...
346
+
347
+ @typing.final
348
+ class MouseWheelParameters(winrt.system.Object):
349
+ @staticmethod
350
+ def _from(obj: winrt.system.Object, /) -> MouseWheelParameters: ...
351
+ @_property
352
+ def page_translation(self) -> windows_foundation.Point: ...
353
+ @page_translation.setter
354
+ def page_translation(self, value: windows_foundation.Point) -> None: ...
355
+ @_property
356
+ def delta_scale(self) -> winrt.system.Single: ...
357
+ @delta_scale.setter
358
+ def delta_scale(self, value: winrt.system.Single) -> None: ...
359
+ @_property
360
+ def delta_rotation_angle(self) -> winrt.system.Single: ...
361
+ @delta_rotation_angle.setter
362
+ def delta_rotation_angle(self, value: winrt.system.Single) -> None: ...
363
+ @_property
364
+ def char_translation(self) -> windows_foundation.Point: ...
365
+ @char_translation.setter
366
+ def char_translation(self, value: windows_foundation.Point) -> None: ...
367
+
368
+ @typing.final
369
+ class PointerPoint_Static(type):
370
+ @typing.overload
371
+ def get_current_point(cls, pointer_id: winrt.system.UInt32, /) -> typing.Optional[PointerPoint]: ...
372
+ @typing.overload
373
+ def get_current_point(cls, pointer_id: winrt.system.UInt32, transform: typing.Optional[IPointerPointTransform], /) -> typing.Optional[PointerPoint]: ...
374
+ @typing.overload
375
+ def get_intermediate_points(cls, pointer_id: winrt.system.UInt32, /) -> typing.Optional[windows_foundation_collections.IVector[PointerPoint]]: ...
376
+ @typing.overload
377
+ def get_intermediate_points(cls, pointer_id: winrt.system.UInt32, transform: typing.Optional[IPointerPointTransform], /) -> typing.Optional[windows_foundation_collections.IVector[PointerPoint]]: ...
378
+
379
+ @typing.final
380
+ class PointerPoint(winrt.system.Object, metaclass=PointerPoint_Static):
381
+ @staticmethod
382
+ def _from(obj: winrt.system.Object, /) -> PointerPoint: ...
383
+ @_property
384
+ def frame_id(self) -> winrt.system.UInt32: ...
385
+ @_property
386
+ def is_in_contact(self) -> bool: ...
387
+ @_property
388
+ def pointer_device(self) -> typing.Optional[windows_devices_input.PointerDevice]: ...
389
+ @_property
390
+ def pointer_id(self) -> winrt.system.UInt32: ...
391
+ @_property
392
+ def position(self) -> windows_foundation.Point: ...
393
+ @_property
394
+ def properties(self) -> typing.Optional[PointerPointProperties]: ...
395
+ @_property
396
+ def raw_position(self) -> windows_foundation.Point: ...
397
+ @_property
398
+ def timestamp(self) -> winrt.system.UInt64: ...
399
+
400
+ @typing.final
401
+ class PointerPointProperties(winrt.system.Object):
402
+ @staticmethod
403
+ def _from(obj: winrt.system.Object, /) -> PointerPointProperties: ...
404
+ def get_usage_value(self, usage_page: winrt.system.UInt32, usage_id: winrt.system.UInt32, /) -> winrt.system.Int32: ...
405
+ def has_usage(self, usage_page: winrt.system.UInt32, usage_id: winrt.system.UInt32, /) -> bool: ...
406
+ @_property
407
+ def contact_rect(self) -> windows_foundation.Rect: ...
408
+ @_property
409
+ def contact_rect_raw(self) -> windows_foundation.Rect: ...
410
+ @_property
411
+ def is_barrel_button_pressed(self) -> bool: ...
412
+ @_property
413
+ def is_canceled(self) -> bool: ...
414
+ @_property
415
+ def is_eraser(self) -> bool: ...
416
+ @_property
417
+ def is_horizontal_mouse_wheel(self) -> bool: ...
418
+ @_property
419
+ def is_in_range(self) -> bool: ...
420
+ @_property
421
+ def is_inverted(self) -> bool: ...
422
+ @_property
423
+ def is_left_button_pressed(self) -> bool: ...
424
+ @_property
425
+ def is_middle_button_pressed(self) -> bool: ...
426
+ @_property
427
+ def is_primary(self) -> bool: ...
428
+ @_property
429
+ def is_right_button_pressed(self) -> bool: ...
430
+ @_property
431
+ def is_x_button1_pressed(self) -> bool: ...
432
+ @_property
433
+ def is_x_button2_pressed(self) -> bool: ...
434
+ @_property
435
+ def mouse_wheel_delta(self) -> winrt.system.Int32: ...
436
+ @_property
437
+ def orientation(self) -> winrt.system.Single: ...
438
+ @_property
439
+ def pointer_update_kind(self) -> PointerUpdateKind: ...
440
+ @_property
441
+ def pressure(self) -> winrt.system.Single: ...
442
+ @_property
443
+ def touch_confidence(self) -> bool: ...
444
+ @_property
445
+ def twist(self) -> winrt.system.Single: ...
446
+ @_property
447
+ def x_tilt(self) -> winrt.system.Single: ...
448
+ @_property
449
+ def y_tilt(self) -> winrt.system.Single: ...
450
+ @_property
451
+ def z_distance(self) -> typing.Optional[typing.Optional[winrt.system.Single]]: ...
452
+
453
+ @typing.final
454
+ class PointerVisualizationSettings_Static(type):
455
+ def get_for_current_view(cls) -> typing.Optional[PointerVisualizationSettings]: ...
456
+
457
+ @typing.final
458
+ class PointerVisualizationSettings(winrt.system.Object, metaclass=PointerVisualizationSettings_Static):
459
+ @staticmethod
460
+ def _from(obj: winrt.system.Object, /) -> PointerVisualizationSettings: ...
461
+ @_property
462
+ def is_contact_feedback_enabled(self) -> bool: ...
463
+ @is_contact_feedback_enabled.setter
464
+ def is_contact_feedback_enabled(self, value: bool) -> None: ...
465
+ @_property
466
+ def is_barrel_button_feedback_enabled(self) -> bool: ...
467
+ @is_barrel_button_feedback_enabled.setter
468
+ def is_barrel_button_feedback_enabled(self, value: bool) -> None: ...
469
+
470
+ @typing.final
471
+ class RadialController_Static(type):
472
+ def create_for_current_view(cls) -> typing.Optional[RadialController]: ...
473
+ def is_supported(cls) -> bool: ...
474
+
475
+ @typing.final
476
+ class RadialController(winrt.system.Object, metaclass=RadialController_Static):
477
+ @staticmethod
478
+ def _from(obj: winrt.system.Object, /) -> RadialController: ...
479
+ def add_button_clicked(self, handler: windows_foundation.TypedEventHandler[RadialController, RadialControllerButtonClickedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
480
+ def remove_button_clicked(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
481
+ def add_control_acquired(self, handler: windows_foundation.TypedEventHandler[RadialController, RadialControllerControlAcquiredEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
482
+ def remove_control_acquired(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
483
+ def add_control_lost(self, handler: windows_foundation.TypedEventHandler[RadialController, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
484
+ def remove_control_lost(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
485
+ def add_rotation_changed(self, handler: windows_foundation.TypedEventHandler[RadialController, RadialControllerRotationChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
486
+ def remove_rotation_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
487
+ def add_screen_contact_continued(self, handler: windows_foundation.TypedEventHandler[RadialController, RadialControllerScreenContactContinuedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
488
+ def remove_screen_contact_continued(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
489
+ def add_screen_contact_ended(self, handler: windows_foundation.TypedEventHandler[RadialController, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
490
+ def remove_screen_contact_ended(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
491
+ def add_screen_contact_started(self, handler: windows_foundation.TypedEventHandler[RadialController, RadialControllerScreenContactStartedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
492
+ def remove_screen_contact_started(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
493
+ def add_button_holding(self, handler: windows_foundation.TypedEventHandler[RadialController, RadialControllerButtonHoldingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
494
+ def remove_button_holding(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
495
+ def add_button_pressed(self, handler: windows_foundation.TypedEventHandler[RadialController, RadialControllerButtonPressedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
496
+ def remove_button_pressed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
497
+ def add_button_released(self, handler: windows_foundation.TypedEventHandler[RadialController, RadialControllerButtonReleasedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
498
+ def remove_button_released(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
499
+ @_property
500
+ def use_automatic_haptic_feedback(self) -> bool: ...
501
+ @use_automatic_haptic_feedback.setter
502
+ def use_automatic_haptic_feedback(self, value: bool) -> None: ...
503
+ @_property
504
+ def rotation_resolution_in_degrees(self) -> winrt.system.Double: ...
505
+ @rotation_resolution_in_degrees.setter
506
+ def rotation_resolution_in_degrees(self, value: winrt.system.Double) -> None: ...
507
+ @_property
508
+ def menu(self) -> typing.Optional[RadialControllerMenu]: ...
509
+
510
+ @typing.final
511
+ class RadialControllerButtonClickedEventArgs(winrt.system.Object):
512
+ @staticmethod
513
+ def _from(obj: winrt.system.Object, /) -> RadialControllerButtonClickedEventArgs: ...
514
+ @_property
515
+ def contact(self) -> typing.Optional[RadialControllerScreenContact]: ...
516
+ @_property
517
+ def simple_haptics_controller(self) -> typing.Optional[windows_devices_haptics.SimpleHapticsController]: ...
518
+
519
+ @typing.final
520
+ class RadialControllerButtonHoldingEventArgs(winrt.system.Object):
521
+ @staticmethod
522
+ def _from(obj: winrt.system.Object, /) -> RadialControllerButtonHoldingEventArgs: ...
523
+ @_property
524
+ def contact(self) -> typing.Optional[RadialControllerScreenContact]: ...
525
+ @_property
526
+ def simple_haptics_controller(self) -> typing.Optional[windows_devices_haptics.SimpleHapticsController]: ...
527
+
528
+ @typing.final
529
+ class RadialControllerButtonPressedEventArgs(winrt.system.Object):
530
+ @staticmethod
531
+ def _from(obj: winrt.system.Object, /) -> RadialControllerButtonPressedEventArgs: ...
532
+ @_property
533
+ def contact(self) -> typing.Optional[RadialControllerScreenContact]: ...
534
+ @_property
535
+ def simple_haptics_controller(self) -> typing.Optional[windows_devices_haptics.SimpleHapticsController]: ...
536
+
537
+ @typing.final
538
+ class RadialControllerButtonReleasedEventArgs(winrt.system.Object):
539
+ @staticmethod
540
+ def _from(obj: winrt.system.Object, /) -> RadialControllerButtonReleasedEventArgs: ...
541
+ @_property
542
+ def contact(self) -> typing.Optional[RadialControllerScreenContact]: ...
543
+ @_property
544
+ def simple_haptics_controller(self) -> typing.Optional[windows_devices_haptics.SimpleHapticsController]: ...
545
+
546
+ @typing.final
547
+ class RadialControllerConfiguration_Static(type):
548
+ def get_for_current_view(cls) -> typing.Optional[RadialControllerConfiguration]: ...
549
+ @_property
550
+ def is_app_controller_enabled(cls) -> bool: ...
551
+ @is_app_controller_enabled.setter
552
+ def is_app_controller_enabled(cls, value: bool) -> None: ...
553
+ @_property
554
+ def app_controller(cls) -> typing.Optional[RadialController]: ...
555
+ @app_controller.setter
556
+ def app_controller(cls, value: typing.Optional[RadialController]) -> None: ...
557
+
558
+ @typing.final
559
+ class RadialControllerConfiguration(winrt.system.Object, metaclass=RadialControllerConfiguration_Static):
560
+ @staticmethod
561
+ def _from(obj: winrt.system.Object, /) -> RadialControllerConfiguration: ...
562
+ def reset_to_default_menu_items(self) -> None: ...
563
+ def set_default_menu_items(self, buttons: typing.Iterable[RadialControllerSystemMenuItemKind], /) -> None: ...
564
+ def try_select_default_menu_item(self, type: RadialControllerSystemMenuItemKind, /) -> bool: ...
565
+ @_property
566
+ def is_menu_suppressed(self) -> bool: ...
567
+ @is_menu_suppressed.setter
568
+ def is_menu_suppressed(self, value: bool) -> None: ...
569
+ @_property
570
+ def active_controller_when_menu_is_suppressed(self) -> typing.Optional[RadialController]: ...
571
+ @active_controller_when_menu_is_suppressed.setter
572
+ def active_controller_when_menu_is_suppressed(self, value: typing.Optional[RadialController]) -> None: ...
573
+
574
+ @typing.final
575
+ class RadialControllerControlAcquiredEventArgs(winrt.system.Object):
576
+ @staticmethod
577
+ def _from(obj: winrt.system.Object, /) -> RadialControllerControlAcquiredEventArgs: ...
578
+ @_property
579
+ def contact(self) -> typing.Optional[RadialControllerScreenContact]: ...
580
+ @_property
581
+ def is_button_pressed(self) -> bool: ...
582
+ @_property
583
+ def simple_haptics_controller(self) -> typing.Optional[windows_devices_haptics.SimpleHapticsController]: ...
584
+
585
+ @typing.final
586
+ class RadialControllerMenu(winrt.system.Object):
587
+ @staticmethod
588
+ def _from(obj: winrt.system.Object, /) -> RadialControllerMenu: ...
589
+ def get_selected_menu_item(self) -> typing.Optional[RadialControllerMenuItem]: ...
590
+ def select_menu_item(self, menu_item: typing.Optional[RadialControllerMenuItem], /) -> None: ...
591
+ def try_select_previously_selected_menu_item(self) -> bool: ...
592
+ @_property
593
+ def is_enabled(self) -> bool: ...
594
+ @is_enabled.setter
595
+ def is_enabled(self, value: bool) -> None: ...
596
+ @_property
597
+ def items(self) -> typing.Optional[windows_foundation_collections.IVector[RadialControllerMenuItem]]: ...
598
+
599
+ @typing.final
600
+ class RadialControllerMenuItem_Static(type):
601
+ @typing.overload
602
+ def create_from_font_glyph(cls, display_text: str, glyph: str, font_family: str, /) -> typing.Optional[RadialControllerMenuItem]: ...
603
+ @typing.overload
604
+ def create_from_font_glyph(cls, display_text: str, glyph: str, font_family: str, font_uri: typing.Optional[windows_foundation.Uri], /) -> typing.Optional[RadialControllerMenuItem]: ...
605
+ def create_from_icon(cls, display_text: str, icon: typing.Optional[windows_storage_streams.RandomAccessStreamReference], /) -> typing.Optional[RadialControllerMenuItem]: ...
606
+ def create_from_known_icon(cls, display_text: str, value: RadialControllerMenuKnownIcon, /) -> typing.Optional[RadialControllerMenuItem]: ...
607
+
608
+ @typing.final
609
+ class RadialControllerMenuItem(winrt.system.Object, metaclass=RadialControllerMenuItem_Static):
610
+ @staticmethod
611
+ def _from(obj: winrt.system.Object, /) -> RadialControllerMenuItem: ...
612
+ def add_invoked(self, handler: windows_foundation.TypedEventHandler[RadialControllerMenuItem, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
613
+ def remove_invoked(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
614
+ @_property
615
+ def tag(self) -> typing.Optional[winrt.system.Object]: ...
616
+ @tag.setter
617
+ def tag(self, value: typing.Optional[winrt.system.Object]) -> None: ...
618
+ @_property
619
+ def display_text(self) -> str: ...
620
+
621
+ @typing.final
622
+ class RadialControllerRotationChangedEventArgs(winrt.system.Object):
623
+ @staticmethod
624
+ def _from(obj: winrt.system.Object, /) -> RadialControllerRotationChangedEventArgs: ...
625
+ @_property
626
+ def contact(self) -> typing.Optional[RadialControllerScreenContact]: ...
627
+ @_property
628
+ def rotation_delta_in_degrees(self) -> winrt.system.Double: ...
629
+ @_property
630
+ def is_button_pressed(self) -> bool: ...
631
+ @_property
632
+ def simple_haptics_controller(self) -> typing.Optional[windows_devices_haptics.SimpleHapticsController]: ...
633
+
634
+ @typing.final
635
+ class RadialControllerScreenContact(winrt.system.Object):
636
+ @staticmethod
637
+ def _from(obj: winrt.system.Object, /) -> RadialControllerScreenContact: ...
638
+ @_property
639
+ def bounds(self) -> windows_foundation.Rect: ...
640
+ @_property
641
+ def position(self) -> windows_foundation.Point: ...
642
+
643
+ @typing.final
644
+ class RadialControllerScreenContactContinuedEventArgs(winrt.system.Object):
645
+ @staticmethod
646
+ def _from(obj: winrt.system.Object, /) -> RadialControllerScreenContactContinuedEventArgs: ...
647
+ @_property
648
+ def contact(self) -> typing.Optional[RadialControllerScreenContact]: ...
649
+ @_property
650
+ def is_button_pressed(self) -> bool: ...
651
+ @_property
652
+ def simple_haptics_controller(self) -> typing.Optional[windows_devices_haptics.SimpleHapticsController]: ...
653
+
654
+ @typing.final
655
+ class RadialControllerScreenContactEndedEventArgs(winrt.system.Object):
656
+ @staticmethod
657
+ def _from(obj: winrt.system.Object, /) -> RadialControllerScreenContactEndedEventArgs: ...
658
+ @_property
659
+ def is_button_pressed(self) -> bool: ...
660
+ @_property
661
+ def simple_haptics_controller(self) -> typing.Optional[windows_devices_haptics.SimpleHapticsController]: ...
662
+
663
+ @typing.final
664
+ class RadialControllerScreenContactStartedEventArgs(winrt.system.Object):
665
+ @staticmethod
666
+ def _from(obj: winrt.system.Object, /) -> RadialControllerScreenContactStartedEventArgs: ...
667
+ @_property
668
+ def contact(self) -> typing.Optional[RadialControllerScreenContact]: ...
669
+ @_property
670
+ def is_button_pressed(self) -> bool: ...
671
+ @_property
672
+ def simple_haptics_controller(self) -> typing.Optional[windows_devices_haptics.SimpleHapticsController]: ...
673
+
674
+ @typing.final
675
+ class RightTappedEventArgs(winrt.system.Object):
676
+ @staticmethod
677
+ def _from(obj: winrt.system.Object, /) -> RightTappedEventArgs: ...
678
+ @_property
679
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
680
+ @_property
681
+ def position(self) -> windows_foundation.Point: ...
682
+ @_property
683
+ def contact_count(self) -> winrt.system.UInt32: ...
684
+
685
+ @typing.final
686
+ class SystemButtonEventController_Static(type):
687
+ def create_for_dispatcher_queue(cls, queue: typing.Optional[windows_system.DispatcherQueue], /) -> typing.Optional[SystemButtonEventController]: ...
688
+
689
+ @typing.final
690
+ class SystemButtonEventController(winrt.system.Object, metaclass=SystemButtonEventController_Static):
691
+ @staticmethod
692
+ def _from(obj: winrt.system.Object, /) -> SystemButtonEventController: ...
693
+ def close(self) -> None: ...
694
+ def add_system_function_button_pressed(self, handler: windows_foundation.TypedEventHandler[SystemButtonEventController, SystemFunctionButtonEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
695
+ def remove_system_function_button_pressed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
696
+ def add_system_function_button_released(self, handler: windows_foundation.TypedEventHandler[SystemButtonEventController, SystemFunctionButtonEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
697
+ def remove_system_function_button_released(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
698
+ def add_system_function_lock_changed(self, handler: windows_foundation.TypedEventHandler[SystemButtonEventController, SystemFunctionLockChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
699
+ def remove_system_function_lock_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
700
+ def add_system_function_lock_indicator_changed(self, handler: windows_foundation.TypedEventHandler[SystemButtonEventController, SystemFunctionLockIndicatorChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
701
+ def remove_system_function_lock_indicator_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
702
+
703
+ @typing.final
704
+ class SystemFunctionButtonEventArgs(winrt.system.Object):
705
+ @staticmethod
706
+ def _from(obj: winrt.system.Object, /) -> SystemFunctionButtonEventArgs: ...
707
+ @_property
708
+ def handled(self) -> bool: ...
709
+ @handled.setter
710
+ def handled(self, value: bool) -> None: ...
711
+ @_property
712
+ def timestamp(self) -> winrt.system.UInt64: ...
713
+
714
+ @typing.final
715
+ class SystemFunctionLockChangedEventArgs(winrt.system.Object):
716
+ @staticmethod
717
+ def _from(obj: winrt.system.Object, /) -> SystemFunctionLockChangedEventArgs: ...
718
+ @_property
719
+ def handled(self) -> bool: ...
720
+ @handled.setter
721
+ def handled(self, value: bool) -> None: ...
722
+ @_property
723
+ def is_locked(self) -> bool: ...
724
+ @_property
725
+ def timestamp(self) -> winrt.system.UInt64: ...
726
+
727
+ @typing.final
728
+ class SystemFunctionLockIndicatorChangedEventArgs(winrt.system.Object):
729
+ @staticmethod
730
+ def _from(obj: winrt.system.Object, /) -> SystemFunctionLockIndicatorChangedEventArgs: ...
731
+ @_property
732
+ def handled(self) -> bool: ...
733
+ @handled.setter
734
+ def handled(self, value: bool) -> None: ...
735
+ @_property
736
+ def is_indicator_on(self) -> bool: ...
737
+ @_property
738
+ def timestamp(self) -> winrt.system.UInt64: ...
739
+
740
+ @typing.final
741
+ class TappedEventArgs(winrt.system.Object):
742
+ @staticmethod
743
+ def _from(obj: winrt.system.Object, /) -> TappedEventArgs: ...
744
+ @_property
745
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
746
+ @_property
747
+ def position(self) -> windows_foundation.Point: ...
748
+ @_property
749
+ def tap_count(self) -> winrt.system.UInt32: ...
750
+ @_property
751
+ def contact_count(self) -> winrt.system.UInt32: ...
752
+
753
+ @typing.final
754
+ class IPointerPointTransform(winrt.system.Object):
755
+ @staticmethod
756
+ def _from(obj: winrt.system.Object, /) -> IPointerPointTransform: ...
757
+ def transform_bounds(self, rect: windows_foundation.Rect, /) -> windows_foundation.Rect: ...
758
+ def try_transform(self, in_point: windows_foundation.Point, /) -> typing.Tuple[bool, windows_foundation.Point]: ...
759
+ @_property
760
+ def inverse(self) -> typing.Optional[IPointerPointTransform]: ...
761
+
@@ -0,0 +1,191 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_ui_input
7
+
8
+ __all__ = [
9
+ "CrossSlidingState",
10
+ "DraggingState",
11
+ "EdgeGestureKind",
12
+ "GazeInputAccessStatus",
13
+ "GestureSettings",
14
+ "HoldingState",
15
+ "InputActivationState",
16
+ "PointerUpdateKind",
17
+ "RadialControllerMenuKnownIcon",
18
+ "RadialControllerSystemMenuItemKind",
19
+ "CrossSlideThresholds",
20
+ "ManipulationDelta",
21
+ "ManipulationVelocities",
22
+ "AttachableInputObject",
23
+ "CrossSlidingEventArgs",
24
+ "DraggingEventArgs",
25
+ "EdgeGesture",
26
+ "EdgeGestureEventArgs",
27
+ "GestureRecognizer",
28
+ "HoldingEventArgs",
29
+ "InputActivationListener",
30
+ "InputActivationListenerActivationChangedEventArgs",
31
+ "KeyboardDeliveryInterceptor",
32
+ "ManipulationCompletedEventArgs",
33
+ "ManipulationInertiaStartingEventArgs",
34
+ "ManipulationStartedEventArgs",
35
+ "ManipulationUpdatedEventArgs",
36
+ "MouseWheelParameters",
37
+ "PointerPoint",
38
+ "PointerPointProperties",
39
+ "PointerVisualizationSettings",
40
+ "RadialController",
41
+ "RadialControllerButtonClickedEventArgs",
42
+ "RadialControllerButtonHoldingEventArgs",
43
+ "RadialControllerButtonPressedEventArgs",
44
+ "RadialControllerButtonReleasedEventArgs",
45
+ "RadialControllerConfiguration",
46
+ "RadialControllerControlAcquiredEventArgs",
47
+ "RadialControllerMenu",
48
+ "RadialControllerMenuItem",
49
+ "RadialControllerRotationChangedEventArgs",
50
+ "RadialControllerScreenContact",
51
+ "RadialControllerScreenContactContinuedEventArgs",
52
+ "RadialControllerScreenContactEndedEventArgs",
53
+ "RadialControllerScreenContactStartedEventArgs",
54
+ "RightTappedEventArgs",
55
+ "SystemButtonEventController",
56
+ "SystemFunctionButtonEventArgs",
57
+ "SystemFunctionLockChangedEventArgs",
58
+ "SystemFunctionLockIndicatorChangedEventArgs",
59
+ "TappedEventArgs",
60
+ "IPointerPointTransform",
61
+ ]
62
+
63
+ class CrossSlidingState(enum.IntEnum):
64
+ STARTED = 0
65
+ DRAGGING = 1
66
+ SELECTING = 2
67
+ SELECT_SPEED_BUMPING = 3
68
+ SPEED_BUMPING = 4
69
+ REARRANGING = 5
70
+ COMPLETED = 6
71
+
72
+ class DraggingState(enum.IntEnum):
73
+ STARTED = 0
74
+ CONTINUING = 1
75
+ COMPLETED = 2
76
+
77
+ class EdgeGestureKind(enum.IntEnum):
78
+ TOUCH = 0
79
+ KEYBOARD = 1
80
+ MOUSE = 2
81
+
82
+ class GazeInputAccessStatus(enum.IntEnum):
83
+ UNSPECIFIED = 0
84
+ ALLOWED = 1
85
+ DENIED_BY_USER = 2
86
+ DENIED_BY_SYSTEM = 3
87
+
88
+ class GestureSettings(enum.IntFlag):
89
+ NONE = 0x0
90
+ TAP = 0x1
91
+ DOUBLE_TAP = 0x2
92
+ HOLD = 0x4
93
+ HOLD_WITH_MOUSE = 0x8
94
+ RIGHT_TAP = 0x10
95
+ DRAG = 0x20
96
+ MANIPULATION_TRANSLATE_X = 0x40
97
+ MANIPULATION_TRANSLATE_Y = 0x80
98
+ MANIPULATION_TRANSLATE_RAILS_X = 0x100
99
+ MANIPULATION_TRANSLATE_RAILS_Y = 0x200
100
+ MANIPULATION_ROTATE = 0x400
101
+ MANIPULATION_SCALE = 0x800
102
+ MANIPULATION_TRANSLATE_INERTIA = 0x1000
103
+ MANIPULATION_ROTATE_INERTIA = 0x2000
104
+ MANIPULATION_SCALE_INERTIA = 0x4000
105
+ CROSS_SLIDE = 0x8000
106
+ MANIPULATION_MULTIPLE_FINGER_PANNING = 0x10000
107
+
108
+ class HoldingState(enum.IntEnum):
109
+ STARTED = 0
110
+ COMPLETED = 1
111
+ CANCELED = 2
112
+
113
+ class InputActivationState(enum.IntEnum):
114
+ NONE = 0
115
+ DEACTIVATED = 1
116
+ ACTIVATED_NOT_FOREGROUND = 2
117
+ ACTIVATED_IN_FOREGROUND = 3
118
+
119
+ class PointerUpdateKind(enum.IntEnum):
120
+ OTHER = 0
121
+ LEFT_BUTTON_PRESSED = 1
122
+ LEFT_BUTTON_RELEASED = 2
123
+ RIGHT_BUTTON_PRESSED = 3
124
+ RIGHT_BUTTON_RELEASED = 4
125
+ MIDDLE_BUTTON_PRESSED = 5
126
+ MIDDLE_BUTTON_RELEASED = 6
127
+ X_BUTTON1_PRESSED = 7
128
+ X_BUTTON1_RELEASED = 8
129
+ X_BUTTON2_PRESSED = 9
130
+ X_BUTTON2_RELEASED = 10
131
+
132
+ class RadialControllerMenuKnownIcon(enum.IntEnum):
133
+ SCROLL = 0
134
+ ZOOM = 1
135
+ UNDO_REDO = 2
136
+ VOLUME = 3
137
+ NEXT_PREVIOUS_TRACK = 4
138
+ RULER = 5
139
+ INK_COLOR = 6
140
+ INK_THICKNESS = 7
141
+ PEN_TYPE = 8
142
+
143
+ class RadialControllerSystemMenuItemKind(enum.IntEnum):
144
+ SCROLL = 0
145
+ ZOOM = 1
146
+ UNDO_REDO = 2
147
+ VOLUME = 3
148
+ NEXT_PREVIOUS_TRACK = 4
149
+
150
+ CrossSlideThresholds = _winrt_windows_ui_input.CrossSlideThresholds
151
+ ManipulationDelta = _winrt_windows_ui_input.ManipulationDelta
152
+ ManipulationVelocities = _winrt_windows_ui_input.ManipulationVelocities
153
+ AttachableInputObject = _winrt_windows_ui_input.AttachableInputObject
154
+ CrossSlidingEventArgs = _winrt_windows_ui_input.CrossSlidingEventArgs
155
+ DraggingEventArgs = _winrt_windows_ui_input.DraggingEventArgs
156
+ EdgeGesture = _winrt_windows_ui_input.EdgeGesture
157
+ EdgeGestureEventArgs = _winrt_windows_ui_input.EdgeGestureEventArgs
158
+ GestureRecognizer = _winrt_windows_ui_input.GestureRecognizer
159
+ HoldingEventArgs = _winrt_windows_ui_input.HoldingEventArgs
160
+ InputActivationListener = _winrt_windows_ui_input.InputActivationListener
161
+ InputActivationListenerActivationChangedEventArgs = _winrt_windows_ui_input.InputActivationListenerActivationChangedEventArgs
162
+ KeyboardDeliveryInterceptor = _winrt_windows_ui_input.KeyboardDeliveryInterceptor
163
+ ManipulationCompletedEventArgs = _winrt_windows_ui_input.ManipulationCompletedEventArgs
164
+ ManipulationInertiaStartingEventArgs = _winrt_windows_ui_input.ManipulationInertiaStartingEventArgs
165
+ ManipulationStartedEventArgs = _winrt_windows_ui_input.ManipulationStartedEventArgs
166
+ ManipulationUpdatedEventArgs = _winrt_windows_ui_input.ManipulationUpdatedEventArgs
167
+ MouseWheelParameters = _winrt_windows_ui_input.MouseWheelParameters
168
+ PointerPoint = _winrt_windows_ui_input.PointerPoint
169
+ PointerPointProperties = _winrt_windows_ui_input.PointerPointProperties
170
+ PointerVisualizationSettings = _winrt_windows_ui_input.PointerVisualizationSettings
171
+ RadialController = _winrt_windows_ui_input.RadialController
172
+ RadialControllerButtonClickedEventArgs = _winrt_windows_ui_input.RadialControllerButtonClickedEventArgs
173
+ RadialControllerButtonHoldingEventArgs = _winrt_windows_ui_input.RadialControllerButtonHoldingEventArgs
174
+ RadialControllerButtonPressedEventArgs = _winrt_windows_ui_input.RadialControllerButtonPressedEventArgs
175
+ RadialControllerButtonReleasedEventArgs = _winrt_windows_ui_input.RadialControllerButtonReleasedEventArgs
176
+ RadialControllerConfiguration = _winrt_windows_ui_input.RadialControllerConfiguration
177
+ RadialControllerControlAcquiredEventArgs = _winrt_windows_ui_input.RadialControllerControlAcquiredEventArgs
178
+ RadialControllerMenu = _winrt_windows_ui_input.RadialControllerMenu
179
+ RadialControllerMenuItem = _winrt_windows_ui_input.RadialControllerMenuItem
180
+ RadialControllerRotationChangedEventArgs = _winrt_windows_ui_input.RadialControllerRotationChangedEventArgs
181
+ RadialControllerScreenContact = _winrt_windows_ui_input.RadialControllerScreenContact
182
+ RadialControllerScreenContactContinuedEventArgs = _winrt_windows_ui_input.RadialControllerScreenContactContinuedEventArgs
183
+ RadialControllerScreenContactEndedEventArgs = _winrt_windows_ui_input.RadialControllerScreenContactEndedEventArgs
184
+ RadialControllerScreenContactStartedEventArgs = _winrt_windows_ui_input.RadialControllerScreenContactStartedEventArgs
185
+ RightTappedEventArgs = _winrt_windows_ui_input.RightTappedEventArgs
186
+ SystemButtonEventController = _winrt_windows_ui_input.SystemButtonEventController
187
+ SystemFunctionButtonEventArgs = _winrt_windows_ui_input.SystemFunctionButtonEventArgs
188
+ SystemFunctionLockChangedEventArgs = _winrt_windows_ui_input.SystemFunctionLockChangedEventArgs
189
+ SystemFunctionLockIndicatorChangedEventArgs = _winrt_windows_ui_input.SystemFunctionLockIndicatorChangedEventArgs
190
+ TappedEventArgs = _winrt_windows_ui_input.TappedEventArgs
191
+ IPointerPointTransform = _winrt_windows_ui_input.IPointerPointTransform
File without changes
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Input
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: 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.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Devices.Haptics[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Devices.Input[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
23
+ Requires-Dist: winrt-Windows.UI.Core[all] ==2.2.0 ; extra == 'all'
24
+
25
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
26
+
27
+ # winrt-Windows.UI.Input
28
+
29
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Input` namespace.
30
+
31
+ This package provides the `winrt.windows.ui.input` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_input.cp313-win32.pyd,sha256=dPzcKHJLHRpka-AQNlRvQPf5M37RWJkogNBp-9n8WtI,456192
2
+ winrt/_winrt_windows_ui_input.pyi,sha256=k1ayEuNpQn8GqM5sbxzJ11LT5PvNATurWALocHWhPnM,38261
3
+ winrt/windows/ui/input/__init__.py,sha256=HbI4KZu-igYu_tB2uyfmFolmZy3Xb1jsH3KxUEuv9n4,7431
4
+ winrt/windows/ui/input/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.UI.Input-2.2.0.dist-info/METADATA,sha256=1X9Ev-bPx4l80LYWkfJA6TvADGZAHn7KvbQTNhXpxLg,1459
6
+ winrt_Windows.UI.Input-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
+ winrt_Windows.UI.Input-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.UI.Input-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win32
5
+