winrt-Windows.System.RemoteDesktop.Input 2.2.0__tar.gz → 3.0.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-3.0.0}/PKG-INFO +3 -3
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-3.0.0}/py.Windows.System.RemoteDesktop.Input.cpp +116 -23
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-3.0.0}/pyproject.toml +2 -2
- winrt_windows_system_remotedesktop_input-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-3.0.0}/requirements.txt +2 -2
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-3.0.0}/setup.py +1 -1
- winrt_windows_system_remotedesktop_input-3.0.0/winrt/_winrt_windows_system_remotedesktop_input.pyi +43 -0
- winrt_windows_system_remotedesktop_input-3.0.0/winrt/windows/system/remotedesktop/input/__init__.py +30 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-3.0.0}/winrt_Windows.System.RemoteDesktop.Input.egg-info/PKG-INFO +3 -3
- winrt_windows_system_remotedesktop_input-3.0.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/_winrt_windows_system_remotedesktop_input.pyi +0 -32
- 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-3.0.0}/README.md +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-3.0.0}/setup.cfg +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-3.0.0}/winrt/windows/system/remotedesktop/input/py.typed +0 -0
- {winrt_windows_system_remotedesktop_input-2.2.0 → winrt_windows_system_remotedesktop_input-3.0.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-3.0.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-3.0.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:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,9 +10,9 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.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
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.RemoteDesktop.Input.h"
|
|
4
4
|
|
|
@@ -8,14 +8,31 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
8
8
|
|
|
9
9
|
static PyObject* _new_RemoteTextConnection(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
10
10
|
{
|
|
11
|
-
if (kwds
|
|
11
|
+
if (kwds)
|
|
12
12
|
{
|
|
13
13
|
py::set_invalid_kwd_args_error();
|
|
14
14
|
return nullptr;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
auto arg_count =
|
|
18
|
-
if (arg_count ==
|
|
17
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
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
|
{
|
|
@@ -48,7 +65,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
48
65
|
|
|
49
66
|
static PyObject* RemoteTextConnection_Close(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
50
67
|
{
|
|
51
|
-
auto arg_count =
|
|
68
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
52
69
|
|
|
53
70
|
if (arg_count == 0)
|
|
54
71
|
{
|
|
@@ -67,7 +84,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
67
84
|
return nullptr;
|
|
68
85
|
}
|
|
69
86
|
|
|
70
|
-
|
|
87
|
+
{
|
|
88
|
+
auto _gil = release_gil();
|
|
89
|
+
self->obj.Close();
|
|
90
|
+
}
|
|
91
|
+
|
|
71
92
|
Py_RETURN_NONE;
|
|
72
93
|
}
|
|
73
94
|
catch (...)
|
|
@@ -85,7 +106,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
85
106
|
|
|
86
107
|
static PyObject* RemoteTextConnection_RegisterThread(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
87
108
|
{
|
|
88
|
-
auto arg_count =
|
|
109
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
89
110
|
|
|
90
111
|
if (arg_count == 1)
|
|
91
112
|
{
|
|
@@ -106,7 +127,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
106
127
|
|
|
107
128
|
auto param0 = py::convert_to<uint32_t>(args, 0);
|
|
108
129
|
|
|
109
|
-
|
|
130
|
+
{
|
|
131
|
+
auto _gil = release_gil();
|
|
132
|
+
self->obj.RegisterThread(param0);
|
|
133
|
+
}
|
|
134
|
+
|
|
110
135
|
Py_RETURN_NONE;
|
|
111
136
|
}
|
|
112
137
|
catch (...)
|
|
@@ -124,7 +149,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
124
149
|
|
|
125
150
|
static PyObject* RemoteTextConnection_ReportDataReceived(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
126
151
|
{
|
|
127
|
-
auto arg_count =
|
|
152
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
128
153
|
|
|
129
154
|
if (arg_count == 1)
|
|
130
155
|
{
|
|
@@ -145,7 +170,55 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
145
170
|
|
|
146
171
|
auto param0 = py::convert_to<py::pybuf_view<uint8_t, false>>(args, 0);
|
|
147
172
|
|
|
148
|
-
|
|
173
|
+
{
|
|
174
|
+
auto _gil = release_gil();
|
|
175
|
+
self->obj.ReportDataReceived(param0);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
Py_RETURN_NONE;
|
|
179
|
+
}
|
|
180
|
+
catch (...)
|
|
181
|
+
{
|
|
182
|
+
py::to_PyErr();
|
|
183
|
+
return nullptr;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
else
|
|
187
|
+
{
|
|
188
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
189
|
+
return nullptr;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
static PyObject* RemoteTextConnection_ReportPredictedKeyEvent(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
194
|
+
{
|
|
195
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
196
|
+
|
|
197
|
+
if (arg_count == 2)
|
|
198
|
+
{
|
|
199
|
+
try
|
|
200
|
+
{
|
|
201
|
+
static std::optional<bool> is_overload_present{};
|
|
202
|
+
|
|
203
|
+
if (!is_overload_present.has_value())
|
|
204
|
+
{
|
|
205
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.RemoteDesktop.Input.RemoteTextConnection", L"ReportPredictedKeyEvent", 2);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
if (!is_overload_present.value())
|
|
209
|
+
{
|
|
210
|
+
py::set_arg_count_version_error(2);
|
|
211
|
+
return nullptr;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
auto param0 = py::convert_to<uint16_t>(args, 0);
|
|
215
|
+
auto param1 = py::convert_to<winrt::Windows::System::RemoteDesktop::Input::RemoteKeyEventAttributes>(args, 1);
|
|
216
|
+
|
|
217
|
+
{
|
|
218
|
+
auto _gil = release_gil();
|
|
219
|
+
self->obj.ReportPredictedKeyEvent(param0, param1);
|
|
220
|
+
}
|
|
221
|
+
|
|
149
222
|
Py_RETURN_NONE;
|
|
150
223
|
}
|
|
151
224
|
catch (...)
|
|
@@ -163,7 +236,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
163
236
|
|
|
164
237
|
static PyObject* RemoteTextConnection_UnregisterThread(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* args) noexcept
|
|
165
238
|
{
|
|
166
|
-
auto arg_count =
|
|
239
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
167
240
|
|
|
168
241
|
if (arg_count == 1)
|
|
169
242
|
{
|
|
@@ -184,7 +257,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
184
257
|
|
|
185
258
|
auto param0 = py::convert_to<uint32_t>(args, 0);
|
|
186
259
|
|
|
187
|
-
|
|
260
|
+
{
|
|
261
|
+
auto _gil = release_gil();
|
|
262
|
+
self->obj.UnregisterThread(param0);
|
|
263
|
+
}
|
|
264
|
+
|
|
188
265
|
Py_RETURN_NONE;
|
|
189
266
|
}
|
|
190
267
|
catch (...)
|
|
@@ -217,7 +294,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
217
294
|
return nullptr;
|
|
218
295
|
}
|
|
219
296
|
|
|
220
|
-
return py::convert(
|
|
297
|
+
return py::convert([&]()
|
|
298
|
+
{
|
|
299
|
+
auto _gil = release_gil();
|
|
300
|
+
return self->obj.IsEnabled();
|
|
301
|
+
}());
|
|
221
302
|
}
|
|
222
303
|
catch (...)
|
|
223
304
|
{
|
|
@@ -228,7 +309,7 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
228
309
|
|
|
229
310
|
static int RemoteTextConnection_put_IsEnabled(py::wrapper::Windows::System::RemoteDesktop::Input::RemoteTextConnection* self, PyObject* arg, void* /*unused*/) noexcept
|
|
230
311
|
{
|
|
231
|
-
if (arg
|
|
312
|
+
if (!arg)
|
|
232
313
|
{
|
|
233
314
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
234
315
|
return -1;
|
|
@@ -251,7 +332,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
251
332
|
|
|
252
333
|
auto param0 = py::convert_to<bool>(arg);
|
|
253
334
|
|
|
254
|
-
|
|
335
|
+
{
|
|
336
|
+
auto _gil = release_gil();
|
|
337
|
+
self->obj.IsEnabled(param0);
|
|
338
|
+
}
|
|
339
|
+
|
|
255
340
|
return 0;
|
|
256
341
|
}
|
|
257
342
|
catch (...)
|
|
@@ -294,7 +379,11 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
294
379
|
{
|
|
295
380
|
try
|
|
296
381
|
{
|
|
297
|
-
|
|
382
|
+
{
|
|
383
|
+
auto _gil = py::release_gil();
|
|
384
|
+
self->obj.Close();
|
|
385
|
+
}
|
|
386
|
+
|
|
298
387
|
Py_RETURN_FALSE;
|
|
299
388
|
}
|
|
300
389
|
catch (...)
|
|
@@ -308,26 +397,24 @@ namespace py::cpp::Windows::System::RemoteDesktop::Input
|
|
|
308
397
|
{ "close", reinterpret_cast<PyCFunction>(RemoteTextConnection_Close), METH_VARARGS, nullptr },
|
|
309
398
|
{ "register_thread", reinterpret_cast<PyCFunction>(RemoteTextConnection_RegisterThread), METH_VARARGS, nullptr },
|
|
310
399
|
{ "report_data_received", reinterpret_cast<PyCFunction>(RemoteTextConnection_ReportDataReceived), METH_VARARGS, nullptr },
|
|
400
|
+
{ "report_predicted_key_event", reinterpret_cast<PyCFunction>(RemoteTextConnection_ReportPredictedKeyEvent), METH_VARARGS, nullptr },
|
|
311
401
|
{ "unregister_thread", reinterpret_cast<PyCFunction>(RemoteTextConnection_UnregisterThread), METH_VARARGS, nullptr },
|
|
312
402
|
{ "_assign_array_", _assign_array_RemoteTextConnection, METH_O | METH_STATIC, nullptr },
|
|
313
403
|
{ "_from", reinterpret_cast<PyCFunction>(_from_RemoteTextConnection), METH_O | METH_STATIC, nullptr },
|
|
314
404
|
{ "__enter__", reinterpret_cast<PyCFunction>(_enter_RemoteTextConnection), METH_NOARGS, nullptr },
|
|
315
405
|
{ "__exit__", reinterpret_cast<PyCFunction>(_exit_RemoteTextConnection), METH_VARARGS, nullptr },
|
|
316
|
-
{ }
|
|
317
|
-
};
|
|
406
|
+
{ }};
|
|
318
407
|
|
|
319
408
|
static PyGetSetDef _getset_RemoteTextConnection[] = {
|
|
320
409
|
{ "is_enabled", reinterpret_cast<getter>(RemoteTextConnection_get_IsEnabled), reinterpret_cast<setter>(RemoteTextConnection_put_IsEnabled), nullptr, nullptr },
|
|
321
|
-
{ }
|
|
322
|
-
};
|
|
410
|
+
{ }};
|
|
323
411
|
|
|
324
412
|
static PyType_Slot _type_slots_RemoteTextConnection[] = {
|
|
325
413
|
{ Py_tp_new, reinterpret_cast<void*>(_new_RemoteTextConnection) },
|
|
326
414
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_RemoteTextConnection) },
|
|
327
415
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_RemoteTextConnection) },
|
|
328
416
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_RemoteTextConnection) },
|
|
329
|
-
{ }
|
|
330
|
-
};
|
|
417
|
+
{ }};
|
|
331
418
|
|
|
332
419
|
static PyType_Spec type_spec_RemoteTextConnection = {
|
|
333
420
|
"winrt._winrt_windows_system_remotedesktop_input.RemoteTextConnection",
|
|
@@ -368,6 +455,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_remotedesktop_input(void) noexcept
|
|
|
368
455
|
return nullptr;
|
|
369
456
|
}
|
|
370
457
|
|
|
458
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
459
|
+
if (!inspectable_meta_type)
|
|
460
|
+
{
|
|
461
|
+
return nullptr;
|
|
462
|
+
}
|
|
463
|
+
|
|
371
464
|
auto object_type = py::get_object_type();
|
|
372
465
|
if (!object_type)
|
|
373
466
|
{
|
|
@@ -381,7 +474,7 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_remotedesktop_input(void) noexcept
|
|
|
381
474
|
return nullptr;
|
|
382
475
|
}
|
|
383
476
|
|
|
384
|
-
py::pytype_handle RemoteTextConnection_type{py::register_python_type(module.get(), &type_spec_RemoteTextConnection, object_bases.get(),
|
|
477
|
+
py::pytype_handle RemoteTextConnection_type{py::register_python_type(module.get(), &type_spec_RemoteTextConnection, object_bases.get(), inspectable_meta_type)};
|
|
385
478
|
if (!RemoteTextConnection_type)
|
|
386
479
|
{
|
|
387
480
|
return nullptr;
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -33,7 +33,7 @@ dependencies = { file = "requirements.txt" }
|
|
|
33
33
|
|
|
34
34
|
[tool.cibuildwheel]
|
|
35
35
|
# use local winrt-sdk build dependency
|
|
36
|
-
environment = { PYTHONPATH="
|
|
36
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
37
37
|
# don't install winrt-sdk from PyPI
|
|
38
38
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
39
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
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 v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
winrt_windows_system_remotedesktop_input-3.0.0/winrt/_winrt_windows_system_remotedesktop_input.pyi
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.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 as windows_foundation
|
|
13
|
+
|
|
14
|
+
from winrt.windows.system.remotedesktop.input import RemoteKeyEventAttributes, RemoteTextConnectionOptions
|
|
15
|
+
from winrt.windows.system.remotedesktop.input import RemoteTextConnectionDataHandler
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class RemoteTextConnection(winrt.system.Object, windows_foundation.IClosable):
|
|
21
|
+
def __enter__(self: Self) -> Self: ...
|
|
22
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
23
|
+
@typing.overload
|
|
24
|
+
def __new__(cls: typing.Type[Self], connection_id: _uuid.UUID, pdu_forwarder: RemoteTextConnectionDataHandler, options: RemoteTextConnectionOptions) -> Self: ...
|
|
25
|
+
@typing.overload
|
|
26
|
+
def __new__(cls: typing.Type[Self], connection_id: _uuid.UUID, pdu_forwarder: RemoteTextConnectionDataHandler) -> Self: ...
|
|
27
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::Close()
|
|
28
|
+
def close(self) -> None: ...
|
|
29
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::RegisterThread(System.UInt32)
|
|
30
|
+
def register_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
|
|
31
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::ReportDataReceived(System.Byte[])
|
|
32
|
+
def report_data_received(self, pdu_data: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
|
|
33
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::ReportPredictedKeyEvent(System.UInt16,Windows.System.RemoteDesktop.Input.RemoteKeyEventAttributes)
|
|
34
|
+
def report_predicted_key_event(self, scan_code: winrt.system.UInt16, attributes: RemoteKeyEventAttributes, /) -> None: ...
|
|
35
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::UnregisterThread(System.UInt32)
|
|
36
|
+
def unregister_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
|
|
37
|
+
# System.Boolean Windows.System.RemoteDesktop.Input.RemoteTextConnection::get_IsEnabled()
|
|
38
|
+
@_property
|
|
39
|
+
def is_enabled(self) -> bool: ...
|
|
40
|
+
# System.Void Windows.System.RemoteDesktop.Input.RemoteTextConnection::put_IsEnabled(System.Boolean)
|
|
41
|
+
@is_enabled.setter
|
|
42
|
+
def is_enabled(self, value: bool) -> None: ...
|
|
43
|
+
|
winrt_windows_system_remotedesktop_input-3.0.0/winrt/windows/system/remotedesktop/input/__init__.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt._winrt_windows_system_remotedesktop_input import (
|
|
9
|
+
RemoteTextConnection,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"RemoteKeyEventAttributes",
|
|
14
|
+
"RemoteTextConnectionOptions",
|
|
15
|
+
"RemoteTextConnection",
|
|
16
|
+
"RemoteTextConnectionDataHandler",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
class RemoteKeyEventAttributes(enum.IntFlag):
|
|
20
|
+
NONE = 0x0
|
|
21
|
+
KEY_UP = 0x1
|
|
22
|
+
REPEAT = 0x2
|
|
23
|
+
EXTENDED = 0x4
|
|
24
|
+
EXTENDED1 = 0x8
|
|
25
|
+
|
|
26
|
+
class RemoteTextConnectionOptions(enum.IntFlag):
|
|
27
|
+
NONE = 0x0
|
|
28
|
+
ENABLE_PREDICTED_KEY_REPORTING = 0x1
|
|
29
|
+
|
|
30
|
+
RemoteTextConnectionDataHandler = typing.Callable[[winrt.system.Array[winrt.system.UInt8]], bool]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.RemoteDesktop.Input
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,9 +10,9 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt-runtime==3.0.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.2.0
|
winrt_windows_system_remotedesktop_input-2.2.0/winrt/_winrt_windows_system_remotedesktop_input.pyi
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
|
|
13
|
-
from winrt.windows.system.remotedesktop.input import RemoteTextConnectionDataHandler
|
|
14
|
-
|
|
15
|
-
Self = typing.TypeVar('Self')
|
|
16
|
-
|
|
17
|
-
@typing.final
|
|
18
|
-
class RemoteTextConnection(winrt.system.Object):
|
|
19
|
-
def __enter__(self: Self) -> Self: ...
|
|
20
|
-
def __exit__(self, *args) -> None: ...
|
|
21
|
-
@staticmethod
|
|
22
|
-
def _from(obj: winrt.system.Object, /) -> RemoteTextConnection: ...
|
|
23
|
-
def __new__(cls: typing.Type[RemoteTextConnection], connection_id: _uuid.UUID, pdu_forwarder: typing.Optional[RemoteTextConnectionDataHandler]) -> RemoteTextConnection: ...
|
|
24
|
-
def close(self) -> None: ...
|
|
25
|
-
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: ...
|
|
27
|
-
def unregister_thread(self, thread_id: winrt.system.UInt32, /) -> None: ...
|
|
28
|
-
@_property
|
|
29
|
-
def is_enabled(self) -> bool: ...
|
|
30
|
-
@is_enabled.setter
|
|
31
|
-
def is_enabled(self, value: bool) -> None: ...
|
|
32
|
-
|
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
|