winrt-Windows.System.RemoteDesktop.Input 2.2.0__tar.gz → 2.3.0__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_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/PKG-INFO +2 -2
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/py.Windows.System.RemoteDesktop.Input.cpp +60 -2
- winrt_windows_system_remotedesktop_input-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/requirements.txt +2 -2
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/winrt/_winrt_windows_system_remotedesktop_input.pyi +7 -2
- winrt_windows_system_remotedesktop_input-2.3.0/winrt/windows/system/remotedesktop/input/__init__.py +29 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/PKG-INFO +2 -2
- winrt_windows_system_remotedesktop_input-2.3.0/winrt_Windows.System.RemoteDesktop.Input.egg-info/requires.txt +1 -0
- winrt_windows_system_remotedesktop_input-2.2.0/pywinrt-version.txt +0 -1
- winrt_windows_system_remotedesktop_input-2.2.0/winrt/windows/system/remotedesktop/input/__init__.py +0 -15
- winrt_windows_system_remotedesktop_input-2.2.0/winrt_Windows.System.RemoteDesktop.Input.egg-info/requires.txt +0 -1
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/README.md +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/pyproject.toml +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/setup.cfg +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/setup.py +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/winrt/windows/system/remotedesktop/input/py.typed +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/SOURCES.txt +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/dependency_links.txt +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-2.3.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.RemoteDesktop.Input
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.RemoteDesktop.Input.h"
|
|
4
4
|
|
|
@@ -15,7 +15,24 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
auto arg_count = PyTuple_Size(args);
|
|
18
|
-
if (arg_count ==
|
|
18
|
+
if (arg_count == 3)
|
|
19
|
+
{
|
|
20
|
+
try
|
|
21
|
+
{
|
|
22
|
+
auto param0 = py::convert_to<winrt::guid>(args, 0);
|
|
23
|
+
auto param1 = py::convert_to<winrt::Windows::System::RemoteDesktop::Input::RemoteTextConnectionDataHandler>(args, 1);
|
|
24
|
+
auto param2 = py::convert_to<winrt::Windows::System::RemoteDesktop::Input::RemoteTextConnectionOptions>(args, 2);
|
|
25
|
+
|
|
26
|
+
winrt::Windows::System::RemoteDesktop::Input::RemoteTextConnection instance{param0, param1, param2};
|
|
27
|
+
return py::wrap(instance, type);
|
|
28
|
+
}
|
|
29
|
+
catch (...)
|
|
30
|
+
{
|
|
31
|
+
py::to_PyErr();
|
|
32
|
+
return nullptr;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
else if (arg_count == 2)
|
|
19
36
|
{
|
|
20
37
|
try
|
|
21
38
|
{
|
|
@@ -161,6 +178,46 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
161
178
|
}
|
|
162
179
|
}
|
|
163
180
|
|
|
181
|
+
static PyObject* RemoteTextConnection_ReportPredictedKeyEvent(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
182
|
+
{
|
|
183
|
+
auto arg_count = PyTuple_Size(args);
|
|
184
|
+
|
|
185
|
+
if (arg_count == 2)
|
|
186
|
+
{
|
|
187
|
+
try
|
|
188
|
+
{
|
|
189
|
+
static std::optional<bool> is_overload_present{};
|
|
190
|
+
|
|
191
|
+
if (!is_overload_present.has_value())
|
|
192
|
+
{
|
|
193
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"ReportPredictedKeyEvent", 2);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
if (!is_overload_present.value())
|
|
197
|
+
{
|
|
198
|
+
py::set_arg_count_version_error(2);
|
|
199
|
+
return nullptr;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
auto param0 = py::convert_to<uint16_t>(args, 0);
|
|
203
|
+
auto param1 = py::convert_to<winrt::Windows::System::RemoteDesktop::Input::RemoteKeyEventAttributes>(args, 1);
|
|
204
|
+
|
|
205
|
+
self->obj.ReportPredictedKeyEvent(param0, param1);
|
|
206
|
+
Py_RETURN_NONE;
|
|
207
|
+
}
|
|
208
|
+
catch (...)
|
|
209
|
+
{
|
|
210
|
+
py::to_PyErr();
|
|
211
|
+
return nullptr;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
else
|
|
215
|
+
{
|
|
216
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
217
|
+
return nullptr;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
164
221
|
static PyObject* RemoteTextConnection_UnregisterThread(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
165
222
|
{
|
|
166
223
|
auto arg_count = PyTuple_Size(args);
|
|
@@ -308,6 +365,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
308
365
|
{ "close", reinterpret_cast<PyCFunction>(RemoteTextConnection_Close), METH_VARARGS, nullptr },
|
|
309
366
|
{ "register_thread", reinterpret_cast<PyCFunction>(RemoteTextConnection_RegisterThread), METH_VARARGS, nullptr },
|
|
310
367
|
{ "report_data_received", reinterpret_cast<PyCFunction>(RemoteTextConnection_ReportDataReceived), METH_VARARGS, nullptr },
|
|
368
|
+
{ "report_predicted_key_event", reinterpret_cast<PyCFunction>(RemoteTextConnection_ReportPredictedKeyEvent), METH_VARARGS, nullptr },
|
|
311
369
|
{ "unregister_thread", reinterpret_cast<PyCFunction>(RemoteTextConnection_UnregisterThread), METH_VARARGS, nullptr },
|
|
312
370
|
{ "_assign_array_", _assign_array_RemoteTextConnection, METH_O | METH_STATIC, nullptr },
|
|
313
371
|
{ "_from", reinterpret_cast<PyCFunction>(_from_RemoteTextConnection), METH_O | METH_STATIC, nullptr },
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.3.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -10,6 +10,7 @@ from builtins import property as _property
|
|
|
10
10
|
import winrt._winrt
|
|
11
11
|
import winrt.system
|
|
12
12
|
|
|
13
|
+
from winrt.windows.system.remotedesktop.input import RemoteKeyEventAttributes, RemoteTextConnectionOptions
|
|
13
14
|
from winrt.windows.system.remotedesktop.input import RemoteTextConnectionDataHandler
|
|
14
15
|
|
|
15
16
|
Self = typing.TypeVar('Self')
|
|
@@ -20,10 +21,14 @@ class RemoteTextConnection(winrt.system.Object):
|
|
|
20
21
|
def __exit__(self, *args) -> None: ...
|
|
21
22
|
@staticmethod
|
|
22
23
|
def _from(obj: winrt.system.Object, /) -> RemoteTextConnection: ...
|
|
24
|
+
@typing.overload
|
|
25
|
+
def __new__(cls: typing.Type[RemoteTextConnection], connection_id: _uuid.UUID, pdu_forwarder: typing.Optional[RemoteTextConnectionDataHandler], options: RemoteTextConnectionOptions) -> RemoteTextConnection: ...
|
|
26
|
+
@typing.overload
|
|
23
27
|
def __new__(cls: typing.Type[RemoteTextConnection], connection_id: _uuid.UUID, pdu_forwarder: typing.Optional[RemoteTextConnectionDataHandler]) -> RemoteTextConnection: ...
|
|
24
28
|
def close(self) -> None: ...
|
|
25
29
|
def register_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
|
|
26
|
-
def report_data_received(self, pdu_data: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
|
|
30
|
+
def report_data_received(self, pdu_data: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
|
|
31
|
+
def report_predicted_key_event(self, scan_code: winrt.system.UInt16, attributes: RemoteKeyEventAttributes, /) -> None: ...
|
|
27
32
|
def unregister_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
|
|
28
33
|
@_property
|
|
29
34
|
def is_enabled(self) -> bool: ...
|
winrt_windows_system_remotedesktop_input-2.3.0/winrt/windows/system/remotedesktop/input/__init__.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt import _winrt_windows_system_remotedesktop_input
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"RemoteKeyEventAttributes",
|
|
12
|
+
"RemoteTextConnectionOptions",
|
|
13
|
+
"RemoteTextConnection",
|
|
14
|
+
"RemoteTextConnectionDataHandler",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
class RemoteKeyEventAttributes(enum.IntFlag):
|
|
18
|
+
NONE = 0x0
|
|
19
|
+
KEY_UP = 0x1
|
|
20
|
+
REPEAT = 0x2
|
|
21
|
+
EXTENDED = 0x4
|
|
22
|
+
EXTENDED1 = 0x8
|
|
23
|
+
|
|
24
|
+
class RemoteTextConnectionOptions(enum.IntFlag):
|
|
25
|
+
NONE = 0x0
|
|
26
|
+
ENABLE_PREDICTED_KEY_REPORTING = 0x1
|
|
27
|
+
|
|
28
|
+
RemoteTextConnection = _winrt_windows_system_remotedesktop_input.RemoteTextConnection
|
|
29
|
+
RemoteTextConnectionDataHandler = typing.Callable[[typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer]], bool]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.RemoteDesktop.Input
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt-runtime==2.3.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.2.0
|
winrt_windows_system_remotedesktop_input-2.2.0/winrt/windows/system/remotedesktop/input/__init__.py
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
import uuid as _uuid
|
|
5
|
-
|
|
6
|
-
import winrt.system
|
|
7
|
-
from winrt import _winrt_windows_system_remotedesktop_input
|
|
8
|
-
|
|
9
|
-
__all__ = [
|
|
10
|
-
"RemoteTextConnection",
|
|
11
|
-
"RemoteTextConnectionDataHandler",
|
|
12
|
-
]
|
|
13
|
-
|
|
14
|
-
RemoteTextConnection = _winrt_windows_system_remotedesktop_input.RemoteTextConnection
|
|
15
|
-
RemoteTextConnectionDataHandler = typing.Callable[[winrt.system.Array[winrt.system.UInt8]], bool]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.2.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|