winrt-Windows.UI.Input.Preview.Injection 3.2.0__tar.gz → 4!10.0.28000.2705__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt_windows_ui_input_preview_injection-4!10.0.28000.2705/.gitignore +5 -0
- winrt_windows_ui_input_preview_injection-4!10.0.28000.2705/LICENSE +22 -0
- winrt_windows_ui_input_preview_injection-4!10.0.28000.2705/PKG-INFO +45 -0
- winrt_windows_ui_input_preview_injection-4!10.0.28000.2705/README.md +17 -0
- winrt_windows_ui_input_preview_injection-4!10.0.28000.2705/pyproject.toml +57 -0
- winrt_windows_ui_input_preview_injection-4!10.0.28000.2705/winrt/windows/ui/input/preview/injection/__init__.py +28 -0
- winrt_windows_ui_input_preview_injection-3.2.0/winrt/_winrt_windows_ui_input_preview_injection.pyi → winrt_windows_ui_input_preview_injection-4!10.0.28000.2705/winrt/windows/ui/input/preview/injection/__init__.pyi +138 -38
- winrt_windows_ui_input_preview_injection-4!10.0.28000.2705/winrt/windows/ui/input/preview/injection/_table.pywinrt.txt +490 -0
- winrt_windows_ui_input_preview_injection-3.2.0/PKG-INFO +0 -26
- winrt_windows_ui_input_preview_injection-3.2.0/README.md +0 -7
- winrt_windows_ui_input_preview_injection-3.2.0/all-requirements.txt +0 -4
- winrt_windows_ui_input_preview_injection-3.2.0/py.Windows.UI.Input.Preview.Injection.cpp +0 -4043
- winrt_windows_ui_input_preview_injection-3.2.0/pyproject.toml +0 -47
- winrt_windows_ui_input_preview_injection-3.2.0/pywinrt-version.txt +0 -1
- winrt_windows_ui_input_preview_injection-3.2.0/requirements.txt +0 -3
- winrt_windows_ui_input_preview_injection-3.2.0/setup.cfg +0 -4
- winrt_windows_ui_input_preview_injection-3.2.0/setup.py +0 -33
- winrt_windows_ui_input_preview_injection-3.2.0/winrt/windows/ui/input/preview/injection/__init__.py +0 -119
- winrt_windows_ui_input_preview_injection-3.2.0/winrt_Windows.UI.Input.Preview.Injection.egg-info/PKG-INFO +0 -26
- winrt_windows_ui_input_preview_injection-3.2.0/winrt_Windows.UI.Input.Preview.Injection.egg-info/SOURCES.txt +0 -15
- winrt_windows_ui_input_preview_injection-3.2.0/winrt_Windows.UI.Input.Preview.Injection.egg-info/dependency_links.txt +0 -1
- winrt_windows_ui_input_preview_injection-3.2.0/winrt_Windows.UI.Input.Preview.Injection.egg-info/requires.txt +0 -5
- winrt_windows_ui_input_preview_injection-3.2.0/winrt_Windows.UI.Input.Preview.Injection.egg-info/top_level.txt +0 -1
- {winrt_windows_ui_input_preview_injection-3.2.0 → winrt_windows_ui_input_preview_injection-4!10.0.28000.2705}/winrt/windows/ui/input/preview/injection/py.typed +0 -0
|
@@ -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
|
|
@@ -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,17 @@
|
|
|
1
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
2
|
+
|
|
3
|
+
# winrt-Windows.UI.Input.Preview.Injection
|
|
4
|
+
|
|
5
|
+
Windows Runtime (WinRT) APIs for the `Windows.UI.Input.Preview.Injection` namespace.
|
|
6
|
+
|
|
7
|
+
This package provides the `winrt.windows.ui.input.preview.injection` module.
|
|
8
|
+
|
|
9
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
10
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
pip install winrt-Windows.UI.Input.Preview.Injection
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
17
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
[build-system]
|
|
4
|
+
requires = ["hatchling", "winrt-table-compiler>=4.0.0,<5"]
|
|
5
|
+
build-backend = "hatchling.build"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "winrt-Windows.UI.Input.Preview.Injection"
|
|
9
|
+
version = "4!10.0.28000.2705"
|
|
10
|
+
description = "PyWinRT projection of the Windows.UI.Input.Preview.Injection namespace"
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
license = "MIT"
|
|
13
|
+
license-files = ["LICENSE"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Operating System :: Microsoft :: Windows",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
"Programming Language :: Python :: 3.12",
|
|
19
|
+
"Programming Language :: Python :: 3.13",
|
|
20
|
+
"Programming Language :: Python :: 3.14",
|
|
21
|
+
"Programming Language :: Python :: 3.15",
|
|
22
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
23
|
+
"Intended Audience :: Developers",
|
|
24
|
+
"Programming Language :: Python :: Free Threading :: 2 - Beta",
|
|
25
|
+
"Typing :: Typed",
|
|
26
|
+
]
|
|
27
|
+
requires-python = ">=3.11"
|
|
28
|
+
dependencies = [
|
|
29
|
+
"winrt-runtime>=4.0.0,<5",
|
|
30
|
+
"winrt-Windows.Foundation.Collections>=4!10.0.28000.2705",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[project.optional-dependencies]
|
|
34
|
+
all = [
|
|
35
|
+
"winrt-Windows.Foundation.Collections[all]>=4!10.0.28000.2705",
|
|
36
|
+
"winrt-Windows.Gaming.Input[all]>=4!10.0.28000.2705",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
[project.urls]
|
|
40
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
41
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
42
|
+
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
|
|
43
|
+
|
|
44
|
+
[tool.hatch.build.targets.sdist]
|
|
45
|
+
# The text form of the table is what the source distribution carries, and the
|
|
46
|
+
# compiled form is build output wherever it turns up. Hatchling reads no
|
|
47
|
+
# .gitignore above the package, so it has to be told about the latter.
|
|
48
|
+
only-include = ["winrt", "LICENSE", "README.md"]
|
|
49
|
+
exclude = ["**/_table.pywinrt"]
|
|
50
|
+
|
|
51
|
+
[tool.hatch.build.targets.wheel]
|
|
52
|
+
packages = ["winrt"]
|
|
53
|
+
exclude = ["**/_table.pywinrt.txt"]
|
|
54
|
+
|
|
55
|
+
# winrt.table.build_hooks in winrt-table-compiler, which compiles each table
|
|
56
|
+
# the package carries and puts the result beside the __init__.py that loads it.
|
|
57
|
+
[tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
|
|
@@ -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
|
+
|
|
@@ -1,33 +1,130 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import types
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import enum
|
|
6
5
|
import typing
|
|
7
|
-
import uuid as _uuid
|
|
8
6
|
from builtins import property as _property
|
|
9
7
|
|
|
10
|
-
import winrt._winrt
|
|
11
8
|
import winrt.system
|
|
12
9
|
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
13
10
|
import winrt.windows.gaming.input as windows_gaming_input
|
|
14
11
|
|
|
15
|
-
|
|
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
|
+
]
|
|
16
32
|
|
|
17
|
-
|
|
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
|
|
18
113
|
|
|
19
114
|
@typing.final
|
|
20
115
|
class InjectedInputPoint:
|
|
116
|
+
__match_args__ = ("position_x", "position_y")
|
|
21
117
|
@_property
|
|
22
118
|
def position_x(self) -> winrt.system.Int32: ...
|
|
23
119
|
@_property
|
|
24
120
|
def position_y(self) -> winrt.system.Int32: ...
|
|
25
|
-
def __new__(cls, position_x: winrt.system.Int32 = 0, position_y: winrt.system.Int32 = 0) -> InjectedInputPoint: ...
|
|
121
|
+
def __new__(cls, position_x: winrt.system.Int32 | typing.SupportsIndex = 0, position_y: winrt.system.Int32 | typing.SupportsIndex = 0) -> InjectedInputPoint: ...
|
|
26
122
|
def __replace__(self, /, **changes: typing.Any) -> InjectedInputPoint: ...
|
|
27
|
-
def unpack(self) ->
|
|
123
|
+
def unpack(self) -> tuple[winrt.system.Int32, winrt.system.Int32]: ...
|
|
28
124
|
|
|
29
125
|
@typing.final
|
|
30
126
|
class InjectedInputPointerInfo:
|
|
127
|
+
__match_args__ = ("pointer_id", "pointer_options", "pixel_location", "time_offset_in_milliseconds", "performance_count")
|
|
31
128
|
@_property
|
|
32
129
|
def pointer_id(self) -> winrt.system.UInt32: ...
|
|
33
130
|
@_property
|
|
@@ -38,12 +135,13 @@ class InjectedInputPointerInfo:
|
|
|
38
135
|
def time_offset_in_milliseconds(self) -> winrt.system.UInt32: ...
|
|
39
136
|
@_property
|
|
40
137
|
def performance_count(self) -> winrt.system.UInt64: ...
|
|
41
|
-
def __new__(cls, pointer_id: winrt.system.UInt32 = 0, pointer_options: InjectedInputPointerOptions =
|
|
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: ...
|
|
42
139
|
def __replace__(self, /, **changes: typing.Any) -> InjectedInputPointerInfo: ...
|
|
43
|
-
def unpack(self) ->
|
|
140
|
+
def unpack(self) -> tuple[winrt.system.UInt32, InjectedInputPointerOptions, tuple[winrt.system.Int32, winrt.system.Int32], winrt.system.UInt32, winrt.system.UInt64]: ...
|
|
44
141
|
|
|
45
142
|
@typing.final
|
|
46
143
|
class InjectedInputRectangle:
|
|
144
|
+
__match_args__ = ("left", "top", "bottom", "right")
|
|
47
145
|
@_property
|
|
48
146
|
def left(self) -> winrt.system.Int32: ...
|
|
49
147
|
@_property
|
|
@@ -52,16 +150,16 @@ class InjectedInputRectangle:
|
|
|
52
150
|
def bottom(self) -> winrt.system.Int32: ...
|
|
53
151
|
@_property
|
|
54
152
|
def right(self) -> winrt.system.Int32: ...
|
|
55
|
-
def __new__(cls, left: winrt.system.Int32 = 0, top: winrt.system.Int32 = 0, bottom: winrt.system.Int32 = 0, right: winrt.system.Int32 = 0) -> InjectedInputRectangle: ...
|
|
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: ...
|
|
56
154
|
def __replace__(self, /, **changes: typing.Any) -> InjectedInputRectangle: ...
|
|
57
|
-
def unpack(self) ->
|
|
155
|
+
def unpack(self) -> tuple[winrt.system.Int32, winrt.system.Int32, winrt.system.Int32, winrt.system.Int32]: ...
|
|
58
156
|
|
|
59
157
|
@typing.final
|
|
60
158
|
class InjectedInputGamepadInfo(winrt.system.Object):
|
|
61
159
|
@typing.overload
|
|
62
|
-
def __new__(cls
|
|
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: ...
|
|
63
161
|
@typing.overload
|
|
64
|
-
def __new__(cls
|
|
162
|
+
def __new__(cls) -> typing.Self: ...
|
|
65
163
|
# System.Double Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo::get_RightTrigger()
|
|
66
164
|
@_property
|
|
67
165
|
def right_trigger(self) -> winrt.system.Double: ...
|
|
@@ -107,19 +205,19 @@ class InjectedInputGamepadInfo(winrt.system.Object):
|
|
|
107
205
|
|
|
108
206
|
@typing.final
|
|
109
207
|
class InjectedInputKeyboardInfo(winrt.system.Object):
|
|
110
|
-
def __new__(cls
|
|
208
|
+
def __new__(cls) -> typing.Self: ...
|
|
111
209
|
# System.UInt16 Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::get_VirtualKey()
|
|
112
210
|
@_property
|
|
113
211
|
def virtual_key(self) -> winrt.system.UInt16: ...
|
|
114
212
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::put_VirtualKey(System.UInt16)
|
|
115
213
|
@virtual_key.setter
|
|
116
|
-
def virtual_key(self, value: winrt.system.UInt16) -> None: ...
|
|
214
|
+
def virtual_key(self, value: winrt.system.UInt16 | typing.SupportsIndex) -> None: ...
|
|
117
215
|
# System.UInt16 Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::get_ScanCode()
|
|
118
216
|
@_property
|
|
119
217
|
def scan_code(self) -> winrt.system.UInt16: ...
|
|
120
218
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::put_ScanCode(System.UInt16)
|
|
121
219
|
@scan_code.setter
|
|
122
|
-
def scan_code(self, value: winrt.system.UInt16) -> None: ...
|
|
220
|
+
def scan_code(self, value: winrt.system.UInt16 | typing.SupportsIndex) -> None: ...
|
|
123
221
|
# Windows.UI.Input.Preview.Injection.InjectedInputKeyOptions Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo::get_KeyOptions()
|
|
124
222
|
@_property
|
|
125
223
|
def key_options(self) -> InjectedInputKeyOptions: ...
|
|
@@ -129,13 +227,13 @@ class InjectedInputKeyboardInfo(winrt.system.Object):
|
|
|
129
227
|
|
|
130
228
|
@typing.final
|
|
131
229
|
class InjectedInputMouseInfo(winrt.system.Object):
|
|
132
|
-
def __new__(cls
|
|
230
|
+
def __new__(cls) -> typing.Self: ...
|
|
133
231
|
# System.UInt32 Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::get_TimeOffsetInMilliseconds()
|
|
134
232
|
@_property
|
|
135
233
|
def time_offset_in_milliseconds(self) -> winrt.system.UInt32: ...
|
|
136
234
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::put_TimeOffsetInMilliseconds(System.UInt32)
|
|
137
235
|
@time_offset_in_milliseconds.setter
|
|
138
|
-
def time_offset_in_milliseconds(self, value: winrt.system.UInt32) -> None: ...
|
|
236
|
+
def time_offset_in_milliseconds(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
|
|
139
237
|
# Windows.UI.Input.Preview.Injection.InjectedInputMouseOptions Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::get_MouseOptions()
|
|
140
238
|
@_property
|
|
141
239
|
def mouse_options(self) -> InjectedInputMouseOptions: ...
|
|
@@ -147,35 +245,35 @@ class InjectedInputMouseInfo(winrt.system.Object):
|
|
|
147
245
|
def mouse_data(self) -> winrt.system.UInt32: ...
|
|
148
246
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::put_MouseData(System.UInt32)
|
|
149
247
|
@mouse_data.setter
|
|
150
|
-
def mouse_data(self, value: winrt.system.UInt32) -> None: ...
|
|
248
|
+
def mouse_data(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
|
|
151
249
|
# System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::get_DeltaY()
|
|
152
250
|
@_property
|
|
153
251
|
def delta_y(self) -> winrt.system.Int32: ...
|
|
154
252
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::put_DeltaY(System.Int32)
|
|
155
253
|
@delta_y.setter
|
|
156
|
-
def delta_y(self, value: winrt.system.Int32) -> None: ...
|
|
254
|
+
def delta_y(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
|
|
157
255
|
# System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::get_DeltaX()
|
|
158
256
|
@_property
|
|
159
257
|
def delta_x(self) -> winrt.system.Int32: ...
|
|
160
258
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo::put_DeltaX(System.Int32)
|
|
161
259
|
@delta_x.setter
|
|
162
|
-
def delta_x(self, value: winrt.system.Int32) -> None: ...
|
|
260
|
+
def delta_x(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
|
|
163
261
|
|
|
164
262
|
@typing.final
|
|
165
263
|
class InjectedInputPenInfo(winrt.system.Object):
|
|
166
|
-
def __new__(cls
|
|
264
|
+
def __new__(cls) -> typing.Self: ...
|
|
167
265
|
# System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_TiltY()
|
|
168
266
|
@_property
|
|
169
267
|
def tilt_y(self) -> winrt.system.Int32: ...
|
|
170
268
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_TiltY(System.Int32)
|
|
171
269
|
@tilt_y.setter
|
|
172
|
-
def tilt_y(self, value: winrt.system.Int32) -> None: ...
|
|
270
|
+
def tilt_y(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
|
|
173
271
|
# System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_TiltX()
|
|
174
272
|
@_property
|
|
175
273
|
def tilt_x(self) -> winrt.system.Int32: ...
|
|
176
274
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_TiltX(System.Int32)
|
|
177
275
|
@tilt_x.setter
|
|
178
|
-
def tilt_x(self, value: winrt.system.Int32) -> None: ...
|
|
276
|
+
def tilt_x(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
|
|
179
277
|
# System.Double Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_Rotation()
|
|
180
278
|
@_property
|
|
181
279
|
def rotation(self) -> winrt.system.Double: ...
|
|
@@ -193,7 +291,7 @@ class InjectedInputPenInfo(winrt.system.Object):
|
|
|
193
291
|
def pointer_info(self) -> InjectedInputPointerInfo: ...
|
|
194
292
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::put_PointerInfo(Windows.UI.Input.Preview.Injection.InjectedInputPointerInfo)
|
|
195
293
|
@pointer_info.setter
|
|
196
|
-
def pointer_info(self, value:
|
|
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: ...
|
|
197
295
|
# Windows.UI.Input.Preview.Injection.InjectedInputPenParameters Windows.UI.Input.Preview.Injection.InjectedInputPenInfo::get_PenParameters()
|
|
198
296
|
@_property
|
|
199
297
|
def pen_parameters(self) -> InjectedInputPenParameters: ...
|
|
@@ -209,7 +307,7 @@ class InjectedInputPenInfo(winrt.system.Object):
|
|
|
209
307
|
|
|
210
308
|
@typing.final
|
|
211
309
|
class InjectedInputTouchInfo(winrt.system.Object):
|
|
212
|
-
def __new__(cls
|
|
310
|
+
def __new__(cls) -> typing.Self: ...
|
|
213
311
|
# Windows.UI.Input.Preview.Injection.InjectedInputTouchParameters Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::get_TouchParameters()
|
|
214
312
|
@_property
|
|
215
313
|
def touch_parameters(self) -> InjectedInputTouchParameters: ...
|
|
@@ -227,29 +325,31 @@ class InjectedInputTouchInfo(winrt.system.Object):
|
|
|
227
325
|
def pointer_info(self) -> InjectedInputPointerInfo: ...
|
|
228
326
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::put_PointerInfo(Windows.UI.Input.Preview.Injection.InjectedInputPointerInfo)
|
|
229
327
|
@pointer_info.setter
|
|
230
|
-
def pointer_info(self, value:
|
|
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: ...
|
|
231
329
|
# System.Int32 Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::get_Orientation()
|
|
232
330
|
@_property
|
|
233
331
|
def orientation(self) -> winrt.system.Int32: ...
|
|
234
332
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::put_Orientation(System.Int32)
|
|
235
333
|
@orientation.setter
|
|
236
|
-
def orientation(self, value: winrt.system.Int32) -> None: ...
|
|
334
|
+
def orientation(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
|
|
237
335
|
# Windows.UI.Input.Preview.Injection.InjectedInputRectangle Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::get_Contact()
|
|
238
336
|
@_property
|
|
239
337
|
def contact(self) -> InjectedInputRectangle: ...
|
|
240
338
|
# System.Void Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo::put_Contact(Windows.UI.Input.Preview.Injection.InjectedInputRectangle)
|
|
241
339
|
@contact.setter
|
|
242
|
-
def contact(self, value:
|
|
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: ...
|
|
243
341
|
|
|
244
342
|
@typing.final
|
|
245
|
-
class InputInjector_Static(winrt.
|
|
343
|
+
class InputInjector_Static(winrt.system.Object_Static):
|
|
246
344
|
# Windows.UI.Input.Preview.Injection.InputInjector Windows.UI.Input.Preview.Injection.InputInjector::TryCreate()
|
|
247
|
-
def try_create(cls) ->
|
|
345
|
+
def try_create(cls) -> InputInjector | None: ...
|
|
248
346
|
# Windows.UI.Input.Preview.Injection.InputInjector Windows.UI.Input.Preview.Injection.InputInjector::TryCreateForAppBroadcastOnly()
|
|
249
|
-
def try_create_for_app_broadcast_only(cls) ->
|
|
347
|
+
def try_create_for_app_broadcast_only(cls) -> InputInjector | None: ...
|
|
250
348
|
|
|
251
349
|
@typing.final
|
|
252
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."""
|
|
253
353
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::InitializeGamepadInjection()
|
|
254
354
|
def initialize_gamepad_injection(self) -> None: ...
|
|
255
355
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::InitializePenInjection(Windows.UI.Input.Preview.Injection.InjectedInputVisualizationMode)
|
|
@@ -259,15 +359,15 @@ class InputInjector(winrt.system.Object, metaclass=InputInjector_Static):
|
|
|
259
359
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectGamepadInput(Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo)
|
|
260
360
|
def inject_gamepad_input(self, input: InjectedInputGamepadInfo, /) -> None: ...
|
|
261
361
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectKeyboardInput(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo>)
|
|
262
|
-
def inject_keyboard_input(self, input:
|
|
362
|
+
def inject_keyboard_input(self, input: _cabc.Iterable[InjectedInputKeyboardInfo], /) -> None: ...
|
|
263
363
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectMouseInput(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo>)
|
|
264
|
-
def inject_mouse_input(self, input:
|
|
364
|
+
def inject_mouse_input(self, input: _cabc.Iterable[InjectedInputMouseInfo], /) -> None: ...
|
|
265
365
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectPenInput(Windows.UI.Input.Preview.Injection.InjectedInputPenInfo)
|
|
266
366
|
def inject_pen_input(self, input: InjectedInputPenInfo, /) -> None: ...
|
|
267
367
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectShortcut(Windows.UI.Input.Preview.Injection.InjectedInputShortcut)
|
|
268
368
|
def inject_shortcut(self, shortcut: InjectedInputShortcut, /) -> None: ...
|
|
269
369
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::InjectTouchInput(Windows.Foundation.Collections.IIterable`1<Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo>)
|
|
270
|
-
def inject_touch_input(self, input:
|
|
370
|
+
def inject_touch_input(self, input: _cabc.Iterable[InjectedInputTouchInfo], /) -> None: ...
|
|
271
371
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::UninitializeGamepadInjection()
|
|
272
372
|
def uninitialize_gamepad_injection(self) -> None: ...
|
|
273
373
|
# System.Void Windows.UI.Input.Preview.Injection.InputInjector::UninitializePenInjection()
|