winrt-Windows.UI.Input.Preview.Injection 2.2.0__cp313-cp313-win_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,204 @@
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.foundation.collections as windows_foundation_collections
13
+ import winrt.windows.gaming.input as windows_gaming_input
14
+
15
+ from winrt.windows.ui.input.preview.injection import InjectedInputButtonChangeKind, InjectedInputKeyOptions, InjectedInputMouseOptions, InjectedInputPenButtons, InjectedInputPenParameters, InjectedInputPointerOptions, InjectedInputShortcut, InjectedInputTouchParameters, InjectedInputVisualizationMode
16
+
17
+ Self = typing.TypeVar('Self')
18
+
19
+ @typing.final
20
+ class InjectedInputPoint:
21
+ position_x: winrt.system.Int32
22
+ position_y: winrt.system.Int32
23
+ def __init__(self, position_x: winrt.system.Int32, position_y: winrt.system.Int32) -> None: ...
24
+
25
+ @typing.final
26
+ class InjectedInputPointerInfo:
27
+ pointer_id: winrt.system.UInt32
28
+ pointer_options: InjectedInputPointerOptions
29
+ pixel_location: InjectedInputPoint
30
+ time_offset_in_milliseconds: winrt.system.UInt32
31
+ performance_count: winrt.system.UInt64
32
+ def __init__(self, pointer_id: winrt.system.UInt32, pointer_options: InjectedInputPointerOptions, pixel_location: InjectedInputPoint, time_offset_in_milliseconds: winrt.system.UInt32, performance_count: winrt.system.UInt64) -> None: ...
33
+
34
+ @typing.final
35
+ class InjectedInputRectangle:
36
+ left: winrt.system.Int32
37
+ top: winrt.system.Int32
38
+ bottom: winrt.system.Int32
39
+ right: winrt.system.Int32
40
+ def __init__(self, left: winrt.system.Int32, top: winrt.system.Int32, bottom: winrt.system.Int32, right: winrt.system.Int32) -> None: ...
41
+
42
+ @typing.final
43
+ class InjectedInputGamepadInfo(winrt.system.Object):
44
+ @staticmethod
45
+ def _from(obj: winrt.system.Object, /) -> InjectedInputGamepadInfo: ...
46
+ @typing.overload
47
+ def __new__(cls: typing.Type[InjectedInputGamepadInfo], reading: windows_gaming_input.GamepadReading) -> InjectedInputGamepadInfo: ...
48
+ @typing.overload
49
+ def __new__(cls: typing.Type[InjectedInputGamepadInfo]) -> InjectedInputGamepadInfo: ...
50
+ @_property
51
+ def right_trigger(self) -> winrt.system.Double: ...
52
+ @right_trigger.setter
53
+ def right_trigger(self, value: winrt.system.Double) -> None: ...
54
+ @_property
55
+ def right_thumbstick_y(self) -> winrt.system.Double: ...
56
+ @right_thumbstick_y.setter
57
+ def right_thumbstick_y(self, value: winrt.system.Double) -> None: ...
58
+ @_property
59
+ def right_thumbstick_x(self) -> winrt.system.Double: ...
60
+ @right_thumbstick_x.setter
61
+ def right_thumbstick_x(self, value: winrt.system.Double) -> None: ...
62
+ @_property
63
+ def left_trigger(self) -> winrt.system.Double: ...
64
+ @left_trigger.setter
65
+ def left_trigger(self, value: winrt.system.Double) -> None: ...
66
+ @_property
67
+ def left_thumbstick_y(self) -> winrt.system.Double: ...
68
+ @left_thumbstick_y.setter
69
+ def left_thumbstick_y(self, value: winrt.system.Double) -> None: ...
70
+ @_property
71
+ def left_thumbstick_x(self) -> winrt.system.Double: ...
72
+ @left_thumbstick_x.setter
73
+ def left_thumbstick_x(self, value: winrt.system.Double) -> None: ...
74
+ @_property
75
+ def buttons(self) -> windows_gaming_input.GamepadButtons: ...
76
+ @buttons.setter
77
+ def buttons(self, value: windows_gaming_input.GamepadButtons) -> None: ...
78
+
79
+ @typing.final
80
+ class InjectedInputKeyboardInfo(winrt.system.Object):
81
+ @staticmethod
82
+ def _from(obj: winrt.system.Object, /) -> InjectedInputKeyboardInfo: ...
83
+ def __new__(cls: typing.Type[InjectedInputKeyboardInfo]) -> InjectedInputKeyboardInfo: ...
84
+ @_property
85
+ def virtual_key(self) -> winrt.system.UInt16: ...
86
+ @virtual_key.setter
87
+ def virtual_key(self, value: winrt.system.UInt16) -> None: ...
88
+ @_property
89
+ def scan_code(self) -> winrt.system.UInt16: ...
90
+ @scan_code.setter
91
+ def scan_code(self, value: winrt.system.UInt16) -> None: ...
92
+ @_property
93
+ def key_options(self) -> InjectedInputKeyOptions: ...
94
+ @key_options.setter
95
+ def key_options(self, value: InjectedInputKeyOptions) -> None: ...
96
+
97
+ @typing.final
98
+ class InjectedInputMouseInfo(winrt.system.Object):
99
+ @staticmethod
100
+ def _from(obj: winrt.system.Object, /) -> InjectedInputMouseInfo: ...
101
+ def __new__(cls: typing.Type[InjectedInputMouseInfo]) -> InjectedInputMouseInfo: ...
102
+ @_property
103
+ def time_offset_in_milliseconds(self) -> winrt.system.UInt32: ...
104
+ @time_offset_in_milliseconds.setter
105
+ def time_offset_in_milliseconds(self, value: winrt.system.UInt32) -> None: ...
106
+ @_property
107
+ def mouse_options(self) -> InjectedInputMouseOptions: ...
108
+ @mouse_options.setter
109
+ def mouse_options(self, value: InjectedInputMouseOptions) -> None: ...
110
+ @_property
111
+ def mouse_data(self) -> winrt.system.UInt32: ...
112
+ @mouse_data.setter
113
+ def mouse_data(self, value: winrt.system.UInt32) -> None: ...
114
+ @_property
115
+ def delta_y(self) -> winrt.system.Int32: ...
116
+ @delta_y.setter
117
+ def delta_y(self, value: winrt.system.Int32) -> None: ...
118
+ @_property
119
+ def delta_x(self) -> winrt.system.Int32: ...
120
+ @delta_x.setter
121
+ def delta_x(self, value: winrt.system.Int32) -> None: ...
122
+
123
+ @typing.final
124
+ class InjectedInputPenInfo(winrt.system.Object):
125
+ @staticmethod
126
+ def _from(obj: winrt.system.Object, /) -> InjectedInputPenInfo: ...
127
+ def __new__(cls: typing.Type[InjectedInputPenInfo]) -> InjectedInputPenInfo: ...
128
+ @_property
129
+ def tilt_y(self) -> winrt.system.Int32: ...
130
+ @tilt_y.setter
131
+ def tilt_y(self, value: winrt.system.Int32) -> None: ...
132
+ @_property
133
+ def tilt_x(self) -> winrt.system.Int32: ...
134
+ @tilt_x.setter
135
+ def tilt_x(self, value: winrt.system.Int32) -> None: ...
136
+ @_property
137
+ def rotation(self) -> winrt.system.Double: ...
138
+ @rotation.setter
139
+ def rotation(self, value: winrt.system.Double) -> None: ...
140
+ @_property
141
+ def pressure(self) -> winrt.system.Double: ...
142
+ @pressure.setter
143
+ def pressure(self, value: winrt.system.Double) -> None: ...
144
+ @_property
145
+ def pointer_info(self) -> InjectedInputPointerInfo: ...
146
+ @pointer_info.setter
147
+ def pointer_info(self, value: InjectedInputPointerInfo) -> None: ...
148
+ @_property
149
+ def pen_parameters(self) -> InjectedInputPenParameters: ...
150
+ @pen_parameters.setter
151
+ def pen_parameters(self, value: InjectedInputPenParameters) -> None: ...
152
+ @_property
153
+ def pen_buttons(self) -> InjectedInputPenButtons: ...
154
+ @pen_buttons.setter
155
+ def pen_buttons(self, value: InjectedInputPenButtons) -> None: ...
156
+
157
+ @typing.final
158
+ class InjectedInputTouchInfo(winrt.system.Object):
159
+ @staticmethod
160
+ def _from(obj: winrt.system.Object, /) -> InjectedInputTouchInfo: ...
161
+ def __new__(cls: typing.Type[InjectedInputTouchInfo]) -> InjectedInputTouchInfo: ...
162
+ @_property
163
+ def touch_parameters(self) -> InjectedInputTouchParameters: ...
164
+ @touch_parameters.setter
165
+ def touch_parameters(self, value: InjectedInputTouchParameters) -> None: ...
166
+ @_property
167
+ def pressure(self) -> winrt.system.Double: ...
168
+ @pressure.setter
169
+ def pressure(self, value: winrt.system.Double) -> None: ...
170
+ @_property
171
+ def pointer_info(self) -> InjectedInputPointerInfo: ...
172
+ @pointer_info.setter
173
+ def pointer_info(self, value: InjectedInputPointerInfo) -> None: ...
174
+ @_property
175
+ def orientation(self) -> winrt.system.Int32: ...
176
+ @orientation.setter
177
+ def orientation(self, value: winrt.system.Int32) -> None: ...
178
+ @_property
179
+ def contact(self) -> InjectedInputRectangle: ...
180
+ @contact.setter
181
+ def contact(self, value: InjectedInputRectangle) -> None: ...
182
+
183
+ @typing.final
184
+ class InputInjector_Static(type):
185
+ def try_create(cls) -> typing.Optional[InputInjector]: ...
186
+ def try_create_for_app_broadcast_only(cls) -> typing.Optional[InputInjector]: ...
187
+
188
+ @typing.final
189
+ class InputInjector(winrt.system.Object, metaclass=InputInjector_Static):
190
+ @staticmethod
191
+ def _from(obj: winrt.system.Object, /) -> InputInjector: ...
192
+ def initialize_gamepad_injection(self) -> None: ...
193
+ def initialize_pen_injection(self, visual_mode: InjectedInputVisualizationMode, /) -> None: ...
194
+ def initialize_touch_injection(self, visual_mode: InjectedInputVisualizationMode, /) -> None: ...
195
+ def inject_gamepad_input(self, input: typing.Optional[InjectedInputGamepadInfo], /) -> None: ...
196
+ def inject_keyboard_input(self, input: typing.Iterable[InjectedInputKeyboardInfo], /) -> None: ...
197
+ def inject_mouse_input(self, input: typing.Iterable[InjectedInputMouseInfo], /) -> None: ...
198
+ def inject_pen_input(self, input: typing.Optional[InjectedInputPenInfo], /) -> None: ...
199
+ def inject_shortcut(self, shortcut: InjectedInputShortcut, /) -> None: ...
200
+ def inject_touch_input(self, input: typing.Iterable[InjectedInputTouchInfo], /) -> None: ...
201
+ def uninitialize_gamepad_injection(self) -> None: ...
202
+ def uninitialize_pen_injection(self) -> None: ...
203
+ def uninitialize_touch_injection(self) -> None: ...
204
+
@@ -0,0 +1,118 @@
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_preview_injection
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
+
29
+ class InjectedInputButtonChangeKind(enum.IntEnum):
30
+ NONE = 0
31
+ FIRST_BUTTON_DOWN = 1
32
+ FIRST_BUTTON_UP = 2
33
+ SECOND_BUTTON_DOWN = 3
34
+ SECOND_BUTTON_UP = 4
35
+ THIRD_BUTTON_DOWN = 5
36
+ THIRD_BUTTON_UP = 6
37
+ FOURTH_BUTTON_DOWN = 7
38
+ FOURTH_BUTTON_UP = 8
39
+ FIFTH_BUTTON_DOWN = 9
40
+ FIFTH_BUTTON_UP = 10
41
+
42
+ class InjectedInputKeyOptions(enum.IntFlag):
43
+ NONE = 0x0
44
+ EXTENDED_KEY = 0x1
45
+ KEY_UP = 0x2
46
+ SCAN_CODE = 0x8
47
+ UNICODE = 0x4
48
+
49
+ class InjectedInputMouseOptions(enum.IntFlag):
50
+ NONE = 0x0
51
+ MOVE = 0x1
52
+ LEFT_DOWN = 0x2
53
+ LEFT_UP = 0x4
54
+ RIGHT_DOWN = 0x8
55
+ RIGHT_UP = 0x10
56
+ MIDDLE_DOWN = 0x20
57
+ MIDDLE_UP = 0x40
58
+ X_DOWN = 0x80
59
+ X_UP = 0x100
60
+ WHEEL = 0x800
61
+ H_WHEEL = 0x1000
62
+ MOVE_NO_COALESCE = 0x2000
63
+ VIRTUAL_DESK = 0x4000
64
+ ABSOLUTE = 0x8000
65
+
66
+ class InjectedInputPenButtons(enum.IntFlag):
67
+ NONE = 0x0
68
+ BARREL = 0x1
69
+ INVERTED = 0x2
70
+ ERASER = 0x4
71
+
72
+ class InjectedInputPenParameters(enum.IntFlag):
73
+ NONE = 0x0
74
+ PRESSURE = 0x1
75
+ ROTATION = 0x2
76
+ TILT_X = 0x4
77
+ TILT_Y = 0x8
78
+
79
+ class InjectedInputPointerOptions(enum.IntFlag):
80
+ NONE = 0x0
81
+ NEW = 0x1
82
+ IN_RANGE = 0x2
83
+ IN_CONTACT = 0x4
84
+ FIRST_BUTTON = 0x10
85
+ SECOND_BUTTON = 0x20
86
+ PRIMARY = 0x2000
87
+ CONFIDENCE = 0x4000
88
+ CANCELED = 0x8000
89
+ POINTER_DOWN = 0x10000
90
+ UPDATE = 0x20000
91
+ POINTER_UP = 0x40000
92
+ CAPTURE_CHANGED = 0x200000
93
+
94
+ class InjectedInputShortcut(enum.IntEnum):
95
+ BACK = 0
96
+ START = 1
97
+ SEARCH = 2
98
+
99
+ class InjectedInputTouchParameters(enum.IntFlag):
100
+ NONE = 0x0
101
+ CONTACT = 0x1
102
+ ORIENTATION = 0x2
103
+ PRESSURE = 0x4
104
+
105
+ class InjectedInputVisualizationMode(enum.IntEnum):
106
+ NONE = 0
107
+ DEFAULT = 1
108
+ INDIRECT = 2
109
+
110
+ InjectedInputPoint = _winrt_windows_ui_input_preview_injection.InjectedInputPoint
111
+ InjectedInputPointerInfo = _winrt_windows_ui_input_preview_injection.InjectedInputPointerInfo
112
+ InjectedInputRectangle = _winrt_windows_ui_input_preview_injection.InjectedInputRectangle
113
+ InjectedInputGamepadInfo = _winrt_windows_ui_input_preview_injection.InjectedInputGamepadInfo
114
+ InjectedInputKeyboardInfo = _winrt_windows_ui_input_preview_injection.InjectedInputKeyboardInfo
115
+ InjectedInputMouseInfo = _winrt_windows_ui_input_preview_injection.InjectedInputMouseInfo
116
+ InjectedInputPenInfo = _winrt_windows_ui_input_preview_injection.InjectedInputPenInfo
117
+ InjectedInputTouchInfo = _winrt_windows_ui_input_preview_injection.InjectedInputTouchInfo
118
+ InputInjector = _winrt_windows_ui_input_preview_injection.InputInjector
File without changes
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Input.Preview.Injection
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.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Gaming.Input[all] ==2.2.0 ; extra == 'all'
19
+
20
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
21
+
22
+ # winrt-Windows.UI.Input.Preview.Injection
23
+
24
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Input.Preview.Injection` namespace.
25
+
26
+ This package provides the `winrt.windows.ui.input.preview.injection` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_input_preview_injection.cp313-win_arm64.pyd,sha256=ZGE_uaqyn4bqqxEGJFIFenBeU-mBZp7hihPg6RrRF6I,193536
2
+ winrt/_winrt_windows_ui_input_preview_injection.pyi,sha256=eiEwQrsl9PK26DlJmf0mCqDN3Y5ELF7kY46A1iUvvUQ,9014
3
+ winrt/windows/ui/input/preview/injection/__init__.py,sha256=C0ua6laPhUzvTHXg3xW2mGYjvdzI9qwHYfN1yVCNrRw,3261
4
+ winrt/windows/ui/input/preview/injection/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.UI.Input.Preview.Injection-2.2.0.dist-info/METADATA,sha256=bmYi0n9pc_UJymX9vEP1MzpsHXg4siEMTYK84GCn_Ho,1172
6
+ winrt_Windows.UI.Input.Preview.Injection-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.UI.Input.Preview.Injection-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.UI.Input.Preview.Injection-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-win_arm64
5
+