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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "InjectedInputButtonChangeKind",
10
+ "InjectedInputKeyOptions",
11
+ "InjectedInputMouseOptions",
12
+ "InjectedInputPenButtons",
13
+ "InjectedInputPenParameters",
14
+ "InjectedInputPointerOptions",
15
+ "InjectedInputShortcut",
16
+ "InjectedInputTouchParameters",
17
+ "InjectedInputVisualizationMode",
18
+ "InjectedInputPoint",
19
+ "InjectedInputPointerInfo",
20
+ "InjectedInputRectangle",
21
+ "InjectedInputGamepadInfo",
22
+ "InjectedInputKeyboardInfo",
23
+ "InjectedInputMouseInfo",
24
+ "InjectedInputPenInfo",
25
+ "InjectedInputTouchInfo",
26
+ "InputInjector",
27
+ ]
28
+
@@ -0,0 +1,377 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+
8
+ import winrt.system
9
+ import winrt.windows.foundation.collections as windows_foundation_collections
10
+ import winrt.windows.gaming.input as windows_gaming_input
11
+
12
+ __all__ = [
13
+ "InjectedInputButtonChangeKind",
14
+ "InjectedInputKeyOptions",
15
+ "InjectedInputMouseOptions",
16
+ "InjectedInputPenButtons",
17
+ "InjectedInputPenParameters",
18
+ "InjectedInputPointerOptions",
19
+ "InjectedInputShortcut",
20
+ "InjectedInputTouchParameters",
21
+ "InjectedInputVisualizationMode",
22
+ "InjectedInputPoint",
23
+ "InjectedInputPointerInfo",
24
+ "InjectedInputRectangle",
25
+ "InjectedInputGamepadInfo",
26
+ "InjectedInputKeyboardInfo",
27
+ "InjectedInputMouseInfo",
28
+ "InjectedInputPenInfo",
29
+ "InjectedInputTouchInfo",
30
+ "InputInjector",
31
+ ]
32
+
33
+ class InjectedInputButtonChangeKind(enum.IntEnum):
34
+ NONE = 0
35
+ FIRST_BUTTON_DOWN = 1
36
+ FIRST_BUTTON_UP = 2
37
+ SECOND_BUTTON_DOWN = 3
38
+ SECOND_BUTTON_UP = 4
39
+ THIRD_BUTTON_DOWN = 5
40
+ THIRD_BUTTON_UP = 6
41
+ FOURTH_BUTTON_DOWN = 7
42
+ FOURTH_BUTTON_UP = 8
43
+ FIFTH_BUTTON_DOWN = 9
44
+ FIFTH_BUTTON_UP = 10
45
+
46
+ class InjectedInputKeyOptions(enum.IntFlag):
47
+ NONE = 0x0
48
+ EXTENDED_KEY = 0x1
49
+ KEY_UP = 0x2
50
+ SCAN_CODE = 0x8
51
+ UNICODE = 0x4
52
+
53
+ class InjectedInputMouseOptions(enum.IntFlag):
54
+ NONE = 0x0
55
+ MOVE = 0x1
56
+ LEFT_DOWN = 0x2
57
+ LEFT_UP = 0x4
58
+ RIGHT_DOWN = 0x8
59
+ RIGHT_UP = 0x10
60
+ MIDDLE_DOWN = 0x20
61
+ MIDDLE_UP = 0x40
62
+ X_DOWN = 0x80
63
+ X_UP = 0x100
64
+ WHEEL = 0x800
65
+ H_WHEEL = 0x1000
66
+ MOVE_NO_COALESCE = 0x2000
67
+ VIRTUAL_DESK = 0x4000
68
+ ABSOLUTE = 0x8000
69
+
70
+ class InjectedInputPenButtons(enum.IntFlag):
71
+ NONE = 0x0
72
+ BARREL = 0x1
73
+ INVERTED = 0x2
74
+ ERASER = 0x4
75
+
76
+ class InjectedInputPenParameters(enum.IntFlag):
77
+ NONE = 0x0
78
+ PRESSURE = 0x1
79
+ ROTATION = 0x2
80
+ TILT_X = 0x4
81
+ TILT_Y = 0x8
82
+
83
+ class InjectedInputPointerOptions(enum.IntFlag):
84
+ NONE = 0x0
85
+ NEW = 0x1
86
+ IN_RANGE = 0x2
87
+ IN_CONTACT = 0x4
88
+ FIRST_BUTTON = 0x10
89
+ SECOND_BUTTON = 0x20
90
+ PRIMARY = 0x2000
91
+ CONFIDENCE = 0x4000
92
+ CANCELED = 0x8000
93
+ POINTER_DOWN = 0x10000
94
+ UPDATE = 0x20000
95
+ POINTER_UP = 0x40000
96
+ CAPTURE_CHANGED = 0x200000
97
+
98
+ class InjectedInputShortcut(enum.IntEnum):
99
+ BACK = 0
100
+ START = 1
101
+ SEARCH = 2
102
+
103
+ class InjectedInputTouchParameters(enum.IntFlag):
104
+ NONE = 0x0
105
+ CONTACT = 0x1
106
+ ORIENTATION = 0x2
107
+ PRESSURE = 0x4
108
+
109
+ class InjectedInputVisualizationMode(enum.IntEnum):
110
+ NONE = 0
111
+ DEFAULT = 1
112
+ INDIRECT = 2
113
+
114
+ @typing.final
115
+ class InjectedInputPoint:
116
+ __match_args__ = ("position_x", "position_y")
117
+ @_property
118
+ def position_x(self) -> winrt.system.Int32: ...
119
+ @_property
120
+ def position_y(self) -> winrt.system.Int32: ...
121
+ def __new__(cls, position_x: winrt.system.Int32 | typing.SupportsIndex = 0, position_y: winrt.system.Int32 | typing.SupportsIndex = 0) -> InjectedInputPoint: ...
122
+ def __replace__(self, /, **changes: typing.Any) -> InjectedInputPoint: ...
123
+ def unpack(self) -> tuple[winrt.system.Int32, winrt.system.Int32]: ...
124
+
125
+ @typing.final
126
+ class InjectedInputPointerInfo:
127
+ __match_args__ = ("pointer_id", "pointer_options", "pixel_location", "time_offset_in_milliseconds", "performance_count")
128
+ @_property
129
+ def pointer_id(self) -> winrt.system.UInt32: ...
130
+ @_property
131
+ def pointer_options(self) -> InjectedInputPointerOptions: ...
132
+ @_property
133
+ def pixel_location(self) -> InjectedInputPoint: ...
134
+ @_property
135
+ def time_offset_in_milliseconds(self) -> winrt.system.UInt32: ...
136
+ @_property
137
+ def performance_count(self) -> winrt.system.UInt64: ...
138
+ def __new__(cls, pointer_id: winrt.system.UInt32 | typing.SupportsIndex = 0, pointer_options: InjectedInputPointerOptions = ..., pixel_location: InjectedInputPoint | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex] = ..., time_offset_in_milliseconds: winrt.system.UInt32 | typing.SupportsIndex = 0, performance_count: winrt.system.UInt64 | typing.SupportsIndex = 0) -> InjectedInputPointerInfo: ...
139
+ def __replace__(self, /, **changes: typing.Any) -> InjectedInputPointerInfo: ...
140
+ def unpack(self) -> tuple[winrt.system.UInt32, InjectedInputPointerOptions, tuple[winrt.system.Int32, winrt.system.Int32], winrt.system.UInt32, winrt.system.UInt64]: ...
141
+
142
+ @typing.final
143
+ class InjectedInputRectangle:
144
+ __match_args__ = ("left", "top", "bottom", "right")
145
+ @_property
146
+ def left(self) -> winrt.system.Int32: ...
147
+ @_property
148
+ def top(self) -> winrt.system.Int32: ...
149
+ @_property
150
+ def bottom(self) -> winrt.system.Int32: ...
151
+ @_property
152
+ def right(self) -> winrt.system.Int32: ...
153
+ def __new__(cls, left: winrt.system.Int32 | typing.SupportsIndex = 0, top: winrt.system.Int32 | typing.SupportsIndex = 0, bottom: winrt.system.Int32 | typing.SupportsIndex = 0, right: winrt.system.Int32 | typing.SupportsIndex = 0) -> InjectedInputRectangle: ...
154
+ def __replace__(self, /, **changes: typing.Any) -> InjectedInputRectangle: ...
155
+ def unpack(self) -> tuple[winrt.system.Int32, winrt.system.Int32, winrt.system.Int32, winrt.system.Int32]: ...
156
+
157
+ @typing.final
158
+ class InjectedInputGamepadInfo(winrt.system.Object):
159
+ @typing.overload
160
+ def __new__(cls, reading: windows_gaming_input.GamepadReading | tuple[winrt.system.UInt64 | typing.SupportsIndex, windows_gaming_input.GamepadButtons, winrt.system.Double, winrt.system.Double, winrt.system.Double, winrt.system.Double, winrt.system.Double, winrt.system.Double], /) -> typing.Self: ...
161
+ @typing.overload
162
+ def __new__(cls) -> typing.Self: ...
163
+ # System.Double Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::get_RightTrigger()
164
+ @_property
165
+ def right_trigger(self) -> winrt.system.Double: ...
166
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::put_RightTrigger(System.Double)
167
+ @right_trigger.setter
168
+ def right_trigger(self, value: winrt.system.Double) -> None: ...
169
+ # System.Double Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::get_RightThumbstickY()
170
+ @_property
171
+ def right_thumbstick_y(self) -> winrt.system.Double: ...
172
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::put_RightThumbstickY(System.Double)
173
+ @right_thumbstick_y.setter
174
+ def right_thumbstick_y(self, value: winrt.system.Double) -> None: ...
175
+ # System.Double Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::get_RightThumbstickX()
176
+ @_property
177
+ def right_thumbstick_x(self) -> winrt.system.Double: ...
178
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::put_RightThumbstickX(System.Double)
179
+ @right_thumbstick_x.setter
180
+ def right_thumbstick_x(self, value: winrt.system.Double) -> None: ...
181
+ # System.Double Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::get_LeftTrigger()
182
+ @_property
183
+ def left_trigger(self) -> winrt.system.Double: ...
184
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::put_LeftTrigger(System.Double)
185
+ @left_trigger.setter
186
+ def left_trigger(self, value: winrt.system.Double) -> None: ...
187
+ # System.Double Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::get_LeftThumbstickY()
188
+ @_property
189
+ def left_thumbstick_y(self) -> winrt.system.Double: ...
190
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::put_LeftThumbstickY(System.Double)
191
+ @left_thumbstick_y.setter
192
+ def left_thumbstick_y(self, value: winrt.system.Double) -> None: ...
193
+ # System.Double Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::get_LeftThumbstickX()
194
+ @_property
195
+ def left_thumbstick_x(self) -> winrt.system.Double: ...
196
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::put_LeftThumbstickX(System.Double)
197
+ @left_thumbstick_x.setter
198
+ def left_thumbstick_x(self, value: winrt.system.Double) -> None: ...
199
+ # Windows.Gaming.Input.GamepadButtons Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::get_Buttons()
200
+ @_property
201
+ def buttons(self) -> windows_gaming_input.GamepadButtons: ...
202
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::put_Buttons(Windows.Gaming.Input.GamepadButtons)
203
+ @buttons.setter
204
+ def buttons(self, value: windows_gaming_input.GamepadButtons) -> None: ...
205
+
206
+ @typing.final
207
+ class InjectedInputKeyboardInfo(winrt.system.Object):
208
+ def __new__(cls) -> typing.Self: ...
209
+ # System.UInt16 Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::get_VirtualKey()
210
+ @_property
211
+ def virtual_key(self) -> winrt.system.UInt16: ...
212
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::put_VirtualKey(System.UInt16)
213
+ @virtual_key.setter
214
+ def virtual_key(self, value: winrt.system.UInt16 | typing.SupportsIndex) -> None: ...
215
+ # System.UInt16 Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::get_ScanCode()
216
+ @_property
217
+ def scan_code(self) -> winrt.system.UInt16: ...
218
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::put_ScanCode(System.UInt16)
219
+ @scan_code.setter
220
+ def scan_code(self, value: winrt.system.UInt16 | typing.SupportsIndex) -> None: ...
221
+ # Windows.UI.Input.Preview.Injection.InjectedInputKeyOptions Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::get_KeyOptions()
222
+ @_property
223
+ def key_options(self) -> InjectedInputKeyOptions: ...
224
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::put_KeyOptions(Windows.UI.Input.Preview.Injection.InjectedInputKeyOptions)
225
+ @key_options.setter
226
+ def key_options(self, value: InjectedInputKeyOptions) -> None: ...
227
+
228
+ @typing.final
229
+ class InjectedInputMouseInfo(winrt.system.Object):
230
+ def __new__(cls) -> typing.Self: ...
231
+ # System.UInt32 Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::get_TimeOffsetInMilliseconds()
232
+ @_property
233
+ def time_offset_in_milliseconds(self) -> winrt.system.UInt32: ...
234
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::put_TimeOffsetInMilliseconds(System.UInt32)
235
+ @time_offset_in_milliseconds.setter
236
+ def time_offset_in_milliseconds(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
237
+ # Windows.UI.Input.Preview.Injection.InjectedInputMouseOptions Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::get_MouseOptions()
238
+ @_property
239
+ def mouse_options(self) -> InjectedInputMouseOptions: ...
240
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::put_MouseOptions(Windows.UI.Input.Preview.Injection.InjectedInputMouseOptions)
241
+ @mouse_options.setter
242
+ def mouse_options(self, value: InjectedInputMouseOptions) -> None: ...
243
+ # System.UInt32 Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::get_MouseData()
244
+ @_property
245
+ def mouse_data(self) -> winrt.system.UInt32: ...
246
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::put_MouseData(System.UInt32)
247
+ @mouse_data.setter
248
+ def mouse_data(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
249
+ # System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::get_DeltaY()
250
+ @_property
251
+ def delta_y(self) -> winrt.system.Int32: ...
252
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::put_DeltaY(System.Int32)
253
+ @delta_y.setter
254
+ def delta_y(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
255
+ # System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::get_DeltaX()
256
+ @_property
257
+ def delta_x(self) -> winrt.system.Int32: ...
258
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::put_DeltaX(System.Int32)
259
+ @delta_x.setter
260
+ def delta_x(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
261
+
262
+ @typing.final
263
+ class InjectedInputPenInfo(winrt.system.Object):
264
+ def __new__(cls) -> typing.Self: ...
265
+ # System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_TiltY()
266
+ @_property
267
+ def tilt_y(self) -> winrt.system.Int32: ...
268
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_TiltY(System.Int32)
269
+ @tilt_y.setter
270
+ def tilt_y(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
271
+ # System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_TiltX()
272
+ @_property
273
+ def tilt_x(self) -> winrt.system.Int32: ...
274
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_TiltX(System.Int32)
275
+ @tilt_x.setter
276
+ def tilt_x(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
277
+ # System.Double Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_Rotation()
278
+ @_property
279
+ def rotation(self) -> winrt.system.Double: ...
280
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_Rotation(System.Double)
281
+ @rotation.setter
282
+ def rotation(self, value: winrt.system.Double) -> None: ...
283
+ # System.Double Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_Pressure()
284
+ @_property
285
+ def pressure(self) -> winrt.system.Double: ...
286
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_Pressure(System.Double)
287
+ @pressure.setter
288
+ def pressure(self, value: winrt.system.Double) -> None: ...
289
+ # Windows.UI.Input.Preview.Injection.InjectedInputPointerInfo Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_PointerInfo()
290
+ @_property
291
+ def pointer_info(self) -> InjectedInputPointerInfo: ...
292
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_PointerInfo(Windows.UI.Input.Preview.Injection.InjectedInputPointerInfo)
293
+ @pointer_info.setter
294
+ def pointer_info(self, value: InjectedInputPointerInfo | tuple[winrt.system.UInt32 | typing.SupportsIndex, InjectedInputPointerOptions, InjectedInputPoint | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], winrt.system.UInt32 | typing.SupportsIndex, winrt.system.UInt64 | typing.SupportsIndex]) -> None: ...
295
+ # Windows.UI.Input.Preview.Injection.InjectedInputPenParameters Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_PenParameters()
296
+ @_property
297
+ def pen_parameters(self) -> InjectedInputPenParameters: ...
298
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_PenParameters(Windows.UI.Input.Preview.Injection.InjectedInputPenParameters)
299
+ @pen_parameters.setter
300
+ def pen_parameters(self, value: InjectedInputPenParameters) -> None: ...
301
+ # Windows.UI.Input.Preview.Injection.InjectedInputPenButtons Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_PenButtons()
302
+ @_property
303
+ def pen_buttons(self) -> InjectedInputPenButtons: ...
304
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_PenButtons(Windows.UI.Input.Preview.Injection.InjectedInputPenButtons)
305
+ @pen_buttons.setter
306
+ def pen_buttons(self, value: InjectedInputPenButtons) -> None: ...
307
+
308
+ @typing.final
309
+ class InjectedInputTouchInfo(winrt.system.Object):
310
+ def __new__(cls) -> typing.Self: ...
311
+ # Windows.UI.Input.Preview.Injection.InjectedInputTouchParameters Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::get_TouchParameters()
312
+ @_property
313
+ def touch_parameters(self) -> InjectedInputTouchParameters: ...
314
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::put_TouchParameters(Windows.UI.Input.Preview.Injection.InjectedInputTouchParameters)
315
+ @touch_parameters.setter
316
+ def touch_parameters(self, value: InjectedInputTouchParameters) -> None: ...
317
+ # System.Double Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::get_Pressure()
318
+ @_property
319
+ def pressure(self) -> winrt.system.Double: ...
320
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::put_Pressure(System.Double)
321
+ @pressure.setter
322
+ def pressure(self, value: winrt.system.Double) -> None: ...
323
+ # Windows.UI.Input.Preview.Injection.InjectedInputPointerInfo Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::get_PointerInfo()
324
+ @_property
325
+ def pointer_info(self) -> InjectedInputPointerInfo: ...
326
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::put_PointerInfo(Windows.UI.Input.Preview.Injection.InjectedInputPointerInfo)
327
+ @pointer_info.setter
328
+ def pointer_info(self, value: InjectedInputPointerInfo | tuple[winrt.system.UInt32 | typing.SupportsIndex, InjectedInputPointerOptions, InjectedInputPoint | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], winrt.system.UInt32 | typing.SupportsIndex, winrt.system.UInt64 | typing.SupportsIndex]) -> None: ...
329
+ # System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::get_Orientation()
330
+ @_property
331
+ def orientation(self) -> winrt.system.Int32: ...
332
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::put_Orientation(System.Int32)
333
+ @orientation.setter
334
+ def orientation(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
335
+ # Windows.UI.Input.Preview.Injection.InjectedInputRectangle Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::get_Contact()
336
+ @_property
337
+ def contact(self) -> InjectedInputRectangle: ...
338
+ # System.Void Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::put_Contact(Windows.UI.Input.Preview.Injection.InjectedInputRectangle)
339
+ @contact.setter
340
+ def contact(self, value: InjectedInputRectangle | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex]) -> None: ...
341
+
342
+ @typing.final
343
+ class InputInjector_Static(winrt.system.Object_Static):
344
+ # Windows.UI.Input.Preview.Injection.InputInjector Windows.UI.Input.Preview.Injection.InputInjector::TryCreate()
345
+ def try_create(cls) -> InputInjector | None: ...
346
+ # Windows.UI.Input.Preview.Injection.InputInjector Windows.UI.Input.Preview.Injection.InputInjector::TryCreateForAppBroadcastOnly()
347
+ def try_create_for_app_broadcast_only(cls) -> InputInjector | None: ...
348
+
349
+ @typing.final
350
+ class InputInjector(winrt.system.Object, metaclass=InputInjector_Static):
351
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
352
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
353
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::InitializeGamepadInjection()
354
+ def initialize_gamepad_injection(self) -> None: ...
355
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::InitializePenInjection(Windows.UI.Input.Preview.Injection.InjectedInputVisualizationMode)
356
+ def initialize_pen_injection(self, visual_mode: InjectedInputVisualizationMode, /) -> None: ...
357
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::InitializeTouchInjection(Windows.UI.Input.Preview.Injection.InjectedInputVisualizationMode)
358
+ def initialize_touch_injection(self, visual_mode: InjectedInputVisualizationMode, /) -> None: ...
359
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectGamepadInput(Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo)
360
+ def inject_gamepad_input(self, input: InjectedInputGamepadInfo, /) -> None: ...
361
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectKeyboardInput(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo>)
362
+ def inject_keyboard_input(self, input: _cabc.Iterable[InjectedInputKeyboardInfo], /) -> None: ...
363
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectMouseInput(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo>)
364
+ def inject_mouse_input(self, input: _cabc.Iterable[InjectedInputMouseInfo], /) -> None: ...
365
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectPenInput(Windows.UI.Input.Preview.Injection.InjectedInputPenInfo)
366
+ def inject_pen_input(self, input: InjectedInputPenInfo, /) -> None: ...
367
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectShortcut(Windows.UI.Input.Preview.Injection.InjectedInputShortcut)
368
+ def inject_shortcut(self, shortcut: InjectedInputShortcut, /) -> None: ...
369
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectTouchInput(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo>)
370
+ def inject_touch_input(self, input: _cabc.Iterable[InjectedInputTouchInfo], /) -> None: ...
371
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::UninitializeGamepadInjection()
372
+ def uninitialize_gamepad_injection(self) -> None: ...
373
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::UninitializePenInjection()
374
+ def uninitialize_pen_injection(self) -> None: ...
375
+ # System.Void Windows.UI.Input.Preview.Injection.InputInjector::UninitializeTouchInjection()
376
+ def uninitialize_touch_injection(self) -> None: ...
377
+
File without changes
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.UI.Input.Preview.Injection
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.UI.Input.Preview.Injection namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Provides-Extra: all
25
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
26
+ Requires-Dist: winrt-windows-gaming-input[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Description-Content-Type: text/markdown
28
+
29
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
30
+
31
+ # winrt-Windows.UI.Input.Preview.Injection
32
+
33
+ Windows Runtime (WinRT) APIs for the `Windows.UI.Input.Preview.Injection` namespace.
34
+
35
+ This package provides the `winrt.windows.ui.input.preview.injection` module.
36
+
37
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
38
+ `Microsoft.Windows.SDK.CPP` NuGet package.
39
+
40
+ ```
41
+ pip install winrt-Windows.UI.Input.Preview.Injection
42
+ ```
43
+
44
+ Other WinRT namespaces are packages of their own, so install the package of
45
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/ui/input/preview/injection/__init__.py,sha256=d86PjPSWu5TsRVSqsw9gvW7D7rT2e2_RR0Bfgu6CoAA,760
2
+ winrt/windows/ui/input/preview/injection/__init__.pyi,sha256=VrqgPcuRYGQg6tSknvEuI5RUFJHLHdiNj3z1LSrdDGQ,21252
3
+ winrt/windows/ui/input/preview/injection/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/ui/input/preview/injection/_table.pywinrt,sha256=UCfo_xHMnyscLkx4sZq2vP1aBy2a1OZy6TdxlyssQmU,17488
5
+ winrt_windows_ui_input_preview_injection-4!10.0.28000.2705.dist-info/METADATA,sha256=53bJ0eS8Uxm766kC3iiYXOUG9QIvf1Zcl__v0D-F5SQ,1956
6
+ winrt_windows_ui_input_preview_injection-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_ui_input_preview_injection-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_ui_input_preview_injection-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE