evdev 1.9.1__tar.gz → 1.9.3__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.
- evdev-1.9.3/PKG-INFO +48 -0
- {evdev-1.9.1 → evdev-1.9.3}/pyproject.toml +5 -6
- {evdev-1.9.1 → evdev-1.9.3}/setup.py +10 -3
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/device.py +6 -4
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/genecodes_c.py +11 -6
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/input.c +25 -24
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/util.py +2 -2
- evdev-1.9.3/src/evdev.egg-info/PKG-INFO +48 -0
- evdev-1.9.1/PKG-INFO +0 -77
- evdev-1.9.1/src/evdev.egg-info/PKG-INFO +0 -77
- {evdev-1.9.1 → evdev-1.9.3}/LICENSE +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/MANIFEST.in +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/README.md +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/setup.cfg +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/__init__.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/ecodes.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/ecodes_runtime.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/eventio.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/eventio_async.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/events.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/evtest.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/ff.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/genecodes_py.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/py.typed +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/uinput.c +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev/uinput.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev.egg-info/SOURCES.txt +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev.egg-info/dependency_links.txt +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/src/evdev.egg-info/top_level.txt +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/tests/test_ecodes.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/tests/test_events.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/tests/test_uinput.py +0 -0
- {evdev-1.9.1 → evdev-1.9.3}/tests/test_util.py +0 -0
evdev-1.9.3/PKG-INFO
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: evdev
|
|
3
|
+
Version: 1.9.3
|
|
4
|
+
Summary: Bindings to the Linux input handling subsystem
|
|
5
|
+
Author-email: Georgi Valkov <georgi.t.valkov@gmail.com>
|
|
6
|
+
Maintainer-email: Tobi <proxima@sezanzeb.de>
|
|
7
|
+
License-Expression: BSD-3-Clause
|
|
8
|
+
Project-URL: Homepage, https://github.com/gvalkov/python-evdev
|
|
9
|
+
Keywords: evdev,input,uinput
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
15
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
16
|
+
Requires-Python: >=3.9
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Dynamic: license-file
|
|
20
|
+
|
|
21
|
+
# evdev
|
|
22
|
+
|
|
23
|
+
<p>
|
|
24
|
+
<a href="https://pypi.python.org/pypi/evdev"><img alt="pypi version" src="https://img.shields.io/pypi/v/evdev.svg"></a>
|
|
25
|
+
<a href="https://github.com/gvalkov/python-evdev/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/pypi/l/evdev"></a>
|
|
26
|
+
<a href="https://repology.org/project/python:evdev/versions"><img alt="Packaging status" src="https://repology.org/badge/tiny-repos/python:evdev.svg"></a>
|
|
27
|
+
</p>
|
|
28
|
+
|
|
29
|
+
This package provides bindings to the generic input event interface in Linux.
|
|
30
|
+
The *evdev* interface serves the purpose of passing events generated in the
|
|
31
|
+
kernel directly to userspace through character devices that are typically
|
|
32
|
+
located in `/dev/input/`.
|
|
33
|
+
|
|
34
|
+
This package also comes with bindings to *uinput*, the userspace input
|
|
35
|
+
subsystem. *Uinput* allows userspace programs to create and handle input devices
|
|
36
|
+
that can inject events directly into the input subsystem.
|
|
37
|
+
|
|
38
|
+
***Documentation:***
|
|
39
|
+
https://python-evdev.readthedocs.io/en/latest/
|
|
40
|
+
|
|
41
|
+
***Development:***
|
|
42
|
+
https://github.com/gvalkov/python-evdev
|
|
43
|
+
|
|
44
|
+
***Package:***
|
|
45
|
+
https://pypi.python.org/pypi/evdev
|
|
46
|
+
|
|
47
|
+
***Changelog:***
|
|
48
|
+
https://python-evdev.readthedocs.io/en/latest/changelog.html
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools>=
|
|
2
|
+
requires = ["setuptools>=77.0"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "evdev"
|
|
7
|
-
version = "1.9.
|
|
7
|
+
version = "1.9.3"
|
|
8
8
|
description = "Bindings to the Linux input handling subsystem"
|
|
9
9
|
keywords = ["evdev", "input", "uinput"]
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
12
|
-
requires-python = ">=3.
|
|
11
|
+
license = "BSD-3-Clause"
|
|
12
|
+
requires-python = ">=3.9"
|
|
13
13
|
authors = [
|
|
14
14
|
{ name="Georgi Valkov", email="georgi.t.valkov@gmail.com" },
|
|
15
15
|
]
|
|
@@ -22,7 +22,6 @@ classifiers = [
|
|
|
22
22
|
"Operating System :: POSIX :: Linux",
|
|
23
23
|
"Intended Audience :: Developers",
|
|
24
24
|
"Topic :: Software Development :: Libraries",
|
|
25
|
-
"License :: OSI Approved :: BSD License",
|
|
26
25
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
27
26
|
]
|
|
28
27
|
|
|
@@ -36,7 +35,7 @@ line-length = 120
|
|
|
36
35
|
ignore = ["E265", "E241", "F403", "F401", "E401", "E731"]
|
|
37
36
|
|
|
38
37
|
[tool.bumpversion]
|
|
39
|
-
current_version = "1.9.
|
|
38
|
+
current_version = "1.9.3"
|
|
40
39
|
commit = true
|
|
41
40
|
tag = true
|
|
42
41
|
allow_dirty = true
|
|
@@ -14,7 +14,7 @@ curdir = Path(__file__).resolve().parent
|
|
|
14
14
|
ecodes_c_path = curdir / "src/evdev/ecodes.c"
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
def create_ecodes(headers=None):
|
|
17
|
+
def create_ecodes(headers=None, reproducible=False):
|
|
18
18
|
if not headers:
|
|
19
19
|
include_paths = set()
|
|
20
20
|
cpath = os.environ.get("CPATH", "").strip()
|
|
@@ -65,7 +65,10 @@ def create_ecodes(headers=None):
|
|
|
65
65
|
|
|
66
66
|
print("writing %s (using %s)" % (ecodes_c_path, " ".join(headers)))
|
|
67
67
|
with ecodes_c_path.open("w") as fh:
|
|
68
|
-
cmd = [sys.executable, "src/evdev/genecodes_c.py"
|
|
68
|
+
cmd = [sys.executable, "src/evdev/genecodes_c.py"]
|
|
69
|
+
if reproducible:
|
|
70
|
+
cmd.append("--reproducible")
|
|
71
|
+
cmd.extend(["--ecodes", *headers])
|
|
69
72
|
run(cmd, check=True, stdout=fh)
|
|
70
73
|
|
|
71
74
|
|
|
@@ -74,17 +77,21 @@ class build_ecodes(Command):
|
|
|
74
77
|
|
|
75
78
|
user_options = [
|
|
76
79
|
("evdev-headers=", None, "colon-separated paths to input subsystem headers"),
|
|
80
|
+
("reproducible", None, "hide host details (host/paths) to create a reproducible output"),
|
|
77
81
|
]
|
|
78
82
|
|
|
79
83
|
def initialize_options(self):
|
|
80
84
|
self.evdev_headers = None
|
|
85
|
+
self.reproducible = False
|
|
81
86
|
|
|
82
87
|
def finalize_options(self):
|
|
83
88
|
if self.evdev_headers:
|
|
84
89
|
self.evdev_headers = self.evdev_headers.split(":")
|
|
90
|
+
if self.reproducible is None:
|
|
91
|
+
self.reproducible = False
|
|
85
92
|
|
|
86
93
|
def run(self):
|
|
87
|
-
create_ecodes(self.evdev_headers)
|
|
94
|
+
create_ecodes(self.evdev_headers, reproducible=self.reproducible)
|
|
88
95
|
|
|
89
96
|
|
|
90
97
|
class build_ext(_build_ext.build_ext):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import contextlib
|
|
2
2
|
import os
|
|
3
|
-
from typing import Dict, Iterator, List, Literal, NamedTuple, Tuple, Union, overload
|
|
3
|
+
from typing import Dict, Generic, Iterator, List, Literal, NamedTuple, Tuple, TypeVar, Union, overload
|
|
4
4
|
|
|
5
5
|
from . import _input, ecodes, util
|
|
6
6
|
|
|
@@ -9,6 +9,8 @@ try:
|
|
|
9
9
|
except ImportError:
|
|
10
10
|
from .eventio import EvdevError, EventIO
|
|
11
11
|
|
|
12
|
+
_AnyStr = TypeVar("_AnyStr", str, bytes)
|
|
13
|
+
|
|
12
14
|
|
|
13
15
|
class AbsInfo(NamedTuple):
|
|
14
16
|
"""Absolute axis information.
|
|
@@ -100,14 +102,14 @@ class DeviceInfo(NamedTuple):
|
|
|
100
102
|
return msg.format(*self) # pylint: disable=not-an-iterable
|
|
101
103
|
|
|
102
104
|
|
|
103
|
-
class InputDevice(EventIO):
|
|
105
|
+
class InputDevice(EventIO, Generic[_AnyStr]):
|
|
104
106
|
"""
|
|
105
107
|
A linux input device from which input events can be read.
|
|
106
108
|
"""
|
|
107
109
|
|
|
108
110
|
__slots__ = ("path", "fd", "info", "name", "phys", "uniq", "_rawcapabilities", "version", "ff_effects_count")
|
|
109
111
|
|
|
110
|
-
def __init__(self, dev: Union[
|
|
112
|
+
def __init__(self, dev: Union[_AnyStr, "os.PathLike[_AnyStr]"]):
|
|
111
113
|
"""
|
|
112
114
|
Arguments
|
|
113
115
|
---------
|
|
@@ -116,7 +118,7 @@ class InputDevice(EventIO):
|
|
|
116
118
|
"""
|
|
117
119
|
|
|
118
120
|
#: Path to input device.
|
|
119
|
-
self.path = dev if not hasattr(dev, "__fspath__") else dev.__fspath__()
|
|
121
|
+
self.path: _AnyStr = dev if not hasattr(dev, "__fspath__") else dev.__fspath__()
|
|
120
122
|
|
|
121
123
|
# Certain operations are possible only when the device is opened in read-write mode.
|
|
122
124
|
try:
|
|
@@ -15,22 +15,27 @@ headers = [
|
|
|
15
15
|
"/usr/include/linux/uinput.h",
|
|
16
16
|
]
|
|
17
17
|
|
|
18
|
-
opts, args = getopt.getopt(sys.argv[1:], "", ["ecodes", "stubs"])
|
|
18
|
+
opts, args = getopt.getopt(sys.argv[1:], "", ["ecodes", "stubs", "reproducible"])
|
|
19
19
|
if not opts:
|
|
20
|
-
print("usage: genecodes.py [--ecodes|--stubs] <headers>")
|
|
20
|
+
print("usage: genecodes.py [--ecodes|--stubs] [--reproducible] <headers>")
|
|
21
21
|
exit(2)
|
|
22
22
|
|
|
23
23
|
if args:
|
|
24
24
|
headers = args
|
|
25
25
|
|
|
26
|
+
reproducible = ("--reproducible", "") in opts
|
|
27
|
+
|
|
26
28
|
|
|
27
29
|
# -----------------------------------------------------------------------------
|
|
28
30
|
macro_regex = r"#define\s+((?:KEY|ABS|REL|SW|MSC|LED|BTN|REP|SND|ID|EV|BUS|SYN|FF|UI_FF|INPUT_PROP)_\w+)"
|
|
29
31
|
macro_regex = re.compile(macro_regex)
|
|
30
32
|
|
|
31
|
-
|
|
32
|
-
uname =
|
|
33
|
-
|
|
33
|
+
if reproducible:
|
|
34
|
+
uname = "hidden for reproducibility"
|
|
35
|
+
else:
|
|
36
|
+
# Uname without hostname.
|
|
37
|
+
uname = list(os.uname())
|
|
38
|
+
uname = " ".join((uname[0], *uname[2:]))
|
|
34
39
|
|
|
35
40
|
|
|
36
41
|
# -----------------------------------------------------------------------------
|
|
@@ -138,5 +143,5 @@ elif ("--stubs", "") in opts:
|
|
|
138
143
|
template = template_stubs
|
|
139
144
|
|
|
140
145
|
body = os.linesep.join(body)
|
|
141
|
-
text = template % (uname, headers, body)
|
|
146
|
+
text = template % (uname, headers if not reproducible else ["hidden for reproducibility"], body)
|
|
142
147
|
print(text.strip())
|
|
@@ -63,12 +63,12 @@ device_read(PyObject *self, PyObject *args)
|
|
|
63
63
|
return NULL;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
PyObject*
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
PyObject *py_input_event = PyTuple_New(5);
|
|
67
|
+
PyTuple_SET_ITEM(py_input_event, 0, PyLong_FromLong(event.input_event_sec));
|
|
68
|
+
PyTuple_SET_ITEM(py_input_event, 1, PyLong_FromLong(event.input_event_usec));
|
|
69
|
+
PyTuple_SET_ITEM(py_input_event, 2, PyLong_FromLong(event.type));
|
|
70
|
+
PyTuple_SET_ITEM(py_input_event, 3, PyLong_FromLong(event.code));
|
|
71
|
+
PyTuple_SET_ITEM(py_input_event, 4, PyLong_FromLong(event.value));
|
|
72
72
|
|
|
73
73
|
return py_input_event;
|
|
74
74
|
}
|
|
@@ -81,14 +81,6 @@ device_read_many(PyObject *self, PyObject *args)
|
|
|
81
81
|
// get device file descriptor (O_RDONLY|O_NONBLOCK)
|
|
82
82
|
int fd = (int)PyLong_AsLong(PyTuple_GET_ITEM(args, 0));
|
|
83
83
|
|
|
84
|
-
PyObject* py_input_event = NULL;
|
|
85
|
-
PyObject* events = NULL;
|
|
86
|
-
PyObject* sec = NULL;
|
|
87
|
-
PyObject* usec = NULL;
|
|
88
|
-
PyObject* val = NULL;
|
|
89
|
-
PyObject* type = NULL;
|
|
90
|
-
PyObject* code = NULL;
|
|
91
|
-
|
|
92
84
|
struct input_event event[64];
|
|
93
85
|
|
|
94
86
|
size_t event_size = sizeof(struct input_event);
|
|
@@ -101,15 +93,15 @@ device_read_many(PyObject *self, PyObject *args)
|
|
|
101
93
|
|
|
102
94
|
// Construct a tuple of event tuples. Each tuple is the arguments to InputEvent.
|
|
103
95
|
size_t num_events = nread / event_size;
|
|
104
|
-
events = PyTuple_New(num_events);
|
|
105
|
-
for (size_t i = 0 ; i < num_events; i++) {
|
|
106
|
-
sec = PyLong_FromLong(event[i].input_event_sec);
|
|
107
|
-
usec = PyLong_FromLong(event[i].input_event_usec);
|
|
108
|
-
val = PyLong_FromLong(event[i].value);
|
|
109
|
-
type = PyLong_FromLong(event[i].type);
|
|
110
|
-
code = PyLong_FromLong(event[i].code);
|
|
111
96
|
|
|
112
|
-
|
|
97
|
+
PyObject* events = PyTuple_New(num_events);
|
|
98
|
+
for (size_t i = 0 ; i < num_events; i++) {
|
|
99
|
+
PyObject *py_input_event = PyTuple_New(5);
|
|
100
|
+
PyTuple_SET_ITEM(py_input_event, 0, PyLong_FromLong(event[i].input_event_sec));
|
|
101
|
+
PyTuple_SET_ITEM(py_input_event, 1, PyLong_FromLong(event[i].input_event_usec));
|
|
102
|
+
PyTuple_SET_ITEM(py_input_event, 2, PyLong_FromLong(event[i].type));
|
|
103
|
+
PyTuple_SET_ITEM(py_input_event, 3, PyLong_FromLong(event[i].code));
|
|
104
|
+
PyTuple_SET_ITEM(py_input_event, 4, PyLong_FromLong(event[i].value));
|
|
113
105
|
PyTuple_SET_ITEM(events, i, py_input_event);
|
|
114
106
|
}
|
|
115
107
|
|
|
@@ -200,6 +192,11 @@ ioctl_capabilities(PyObject *self, PyObject *args)
|
|
|
200
192
|
return capabilities;
|
|
201
193
|
|
|
202
194
|
on_err:
|
|
195
|
+
Py_XDECREF(capabilities);
|
|
196
|
+
Py_XDECREF(eventcodes);
|
|
197
|
+
Py_XDECREF(capability);
|
|
198
|
+
Py_XDECREF(py_absinfo);
|
|
199
|
+
Py_XDECREF(absitem);
|
|
203
200
|
PyErr_SetFromErrno(PyExc_OSError);
|
|
204
201
|
return NULL;
|
|
205
202
|
}
|
|
@@ -408,7 +405,9 @@ ioctl_EVIOCG_bits(PyObject *self, PyObject *args)
|
|
|
408
405
|
PyObject* res = PyList_New(0);
|
|
409
406
|
for (int i=0; i<=max; i++) {
|
|
410
407
|
if (test_bit(bytes, i)) {
|
|
411
|
-
|
|
408
|
+
PyObject *val = PyLong_FromLong(i);
|
|
409
|
+
PyList_Append(res, val);
|
|
410
|
+
Py_DECREF(val);
|
|
412
411
|
}
|
|
413
412
|
}
|
|
414
413
|
|
|
@@ -523,7 +522,9 @@ ioctl_EVIOCGPROP(PyObject *self, PyObject *args)
|
|
|
523
522
|
PyObject* res = PyList_New(0);
|
|
524
523
|
for (int i=0; i<INPUT_PROP_MAX; i++) {
|
|
525
524
|
if (test_bit(bytes, i)) {
|
|
526
|
-
|
|
525
|
+
PyObject *val = PyLong_FromLong(i);
|
|
526
|
+
PyList_Append(res, val);
|
|
527
|
+
Py_DECREF(val);
|
|
527
528
|
}
|
|
528
529
|
}
|
|
529
530
|
|
|
@@ -6,7 +6,7 @@ import stat
|
|
|
6
6
|
from typing import Union, List
|
|
7
7
|
|
|
8
8
|
from . import ecodes
|
|
9
|
-
from .events import InputEvent, event_factory
|
|
9
|
+
from .events import InputEvent, event_factory, KeyEvent, RelEvent, AbsEvent, SynEvent
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
def list_devices(input_device_dir: Union[str, bytes, os.PathLike] = "/dev/input") -> List[str]:
|
|
@@ -32,7 +32,7 @@ def is_device(fn: Union[str, bytes, os.PathLike]) -> bool:
|
|
|
32
32
|
return True
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
def categorize(event: InputEvent) -> InputEvent:
|
|
35
|
+
def categorize(event: InputEvent) -> Union[InputEvent, KeyEvent, RelEvent, AbsEvent, SynEvent]:
|
|
36
36
|
"""
|
|
37
37
|
Categorize an event according to its type.
|
|
38
38
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: evdev
|
|
3
|
+
Version: 1.9.3
|
|
4
|
+
Summary: Bindings to the Linux input handling subsystem
|
|
5
|
+
Author-email: Georgi Valkov <georgi.t.valkov@gmail.com>
|
|
6
|
+
Maintainer-email: Tobi <proxima@sezanzeb.de>
|
|
7
|
+
License-Expression: BSD-3-Clause
|
|
8
|
+
Project-URL: Homepage, https://github.com/gvalkov/python-evdev
|
|
9
|
+
Keywords: evdev,input,uinput
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
15
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
16
|
+
Requires-Python: >=3.9
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Dynamic: license-file
|
|
20
|
+
|
|
21
|
+
# evdev
|
|
22
|
+
|
|
23
|
+
<p>
|
|
24
|
+
<a href="https://pypi.python.org/pypi/evdev"><img alt="pypi version" src="https://img.shields.io/pypi/v/evdev.svg"></a>
|
|
25
|
+
<a href="https://github.com/gvalkov/python-evdev/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/pypi/l/evdev"></a>
|
|
26
|
+
<a href="https://repology.org/project/python:evdev/versions"><img alt="Packaging status" src="https://repology.org/badge/tiny-repos/python:evdev.svg"></a>
|
|
27
|
+
</p>
|
|
28
|
+
|
|
29
|
+
This package provides bindings to the generic input event interface in Linux.
|
|
30
|
+
The *evdev* interface serves the purpose of passing events generated in the
|
|
31
|
+
kernel directly to userspace through character devices that are typically
|
|
32
|
+
located in `/dev/input/`.
|
|
33
|
+
|
|
34
|
+
This package also comes with bindings to *uinput*, the userspace input
|
|
35
|
+
subsystem. *Uinput* allows userspace programs to create and handle input devices
|
|
36
|
+
that can inject events directly into the input subsystem.
|
|
37
|
+
|
|
38
|
+
***Documentation:***
|
|
39
|
+
https://python-evdev.readthedocs.io/en/latest/
|
|
40
|
+
|
|
41
|
+
***Development:***
|
|
42
|
+
https://github.com/gvalkov/python-evdev
|
|
43
|
+
|
|
44
|
+
***Package:***
|
|
45
|
+
https://pypi.python.org/pypi/evdev
|
|
46
|
+
|
|
47
|
+
***Changelog:***
|
|
48
|
+
https://python-evdev.readthedocs.io/en/latest/changelog.html
|
evdev-1.9.1/PKG-INFO
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.2
|
|
2
|
-
Name: evdev
|
|
3
|
-
Version: 1.9.1
|
|
4
|
-
Summary: Bindings to the Linux input handling subsystem
|
|
5
|
-
Author-email: Georgi Valkov <georgi.t.valkov@gmail.com>
|
|
6
|
-
Maintainer-email: Tobi <proxima@sezanzeb.de>
|
|
7
|
-
License: Copyright (c) 2012-2025 Georgi Valkov. All rights reserved.
|
|
8
|
-
|
|
9
|
-
Redistribution and use in source and binary forms, with or without
|
|
10
|
-
modification, are permitted provided that the following conditions are
|
|
11
|
-
met:
|
|
12
|
-
|
|
13
|
-
1. Redistributions of source code must retain the above copyright
|
|
14
|
-
notice, this list of conditions and the following disclaimer.
|
|
15
|
-
|
|
16
|
-
2. Redistributions in binary form must reproduce the above copyright
|
|
17
|
-
notice, this list of conditions and the following disclaimer in
|
|
18
|
-
the documentation and/or other materials provided with the
|
|
19
|
-
distribution.
|
|
20
|
-
|
|
21
|
-
3. Neither the name of author nor the names of its contributors may
|
|
22
|
-
be used to endorse or promote products derived from this software
|
|
23
|
-
without specific prior written permission.
|
|
24
|
-
|
|
25
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
26
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
27
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
28
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
|
|
29
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
30
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
31
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
32
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
33
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
34
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
35
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
36
|
-
|
|
37
|
-
Project-URL: Homepage, https://github.com/gvalkov/python-evdev
|
|
38
|
-
Keywords: evdev,input,uinput
|
|
39
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
40
|
-
Classifier: Programming Language :: Python :: 3
|
|
41
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
42
|
-
Classifier: Intended Audience :: Developers
|
|
43
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
44
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
45
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
46
|
-
Requires-Python: >=3.8
|
|
47
|
-
Description-Content-Type: text/markdown
|
|
48
|
-
License-File: LICENSE
|
|
49
|
-
|
|
50
|
-
# evdev
|
|
51
|
-
|
|
52
|
-
<p>
|
|
53
|
-
<a href="https://pypi.python.org/pypi/evdev"><img alt="pypi version" src="https://img.shields.io/pypi/v/evdev.svg"></a>
|
|
54
|
-
<a href="https://github.com/gvalkov/python-evdev/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/pypi/l/evdev"></a>
|
|
55
|
-
<a href="https://repology.org/project/python:evdev/versions"><img alt="Packaging status" src="https://repology.org/badge/tiny-repos/python:evdev.svg"></a>
|
|
56
|
-
</p>
|
|
57
|
-
|
|
58
|
-
This package provides bindings to the generic input event interface in Linux.
|
|
59
|
-
The *evdev* interface serves the purpose of passing events generated in the
|
|
60
|
-
kernel directly to userspace through character devices that are typically
|
|
61
|
-
located in `/dev/input/`.
|
|
62
|
-
|
|
63
|
-
This package also comes with bindings to *uinput*, the userspace input
|
|
64
|
-
subsystem. *Uinput* allows userspace programs to create and handle input devices
|
|
65
|
-
that can inject events directly into the input subsystem.
|
|
66
|
-
|
|
67
|
-
***Documentation:***
|
|
68
|
-
https://python-evdev.readthedocs.io/en/latest/
|
|
69
|
-
|
|
70
|
-
***Development:***
|
|
71
|
-
https://github.com/gvalkov/python-evdev
|
|
72
|
-
|
|
73
|
-
***Package:***
|
|
74
|
-
https://pypi.python.org/pypi/evdev
|
|
75
|
-
|
|
76
|
-
***Changelog:***
|
|
77
|
-
https://python-evdev.readthedocs.io/en/latest/changelog.html
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.2
|
|
2
|
-
Name: evdev
|
|
3
|
-
Version: 1.9.1
|
|
4
|
-
Summary: Bindings to the Linux input handling subsystem
|
|
5
|
-
Author-email: Georgi Valkov <georgi.t.valkov@gmail.com>
|
|
6
|
-
Maintainer-email: Tobi <proxima@sezanzeb.de>
|
|
7
|
-
License: Copyright (c) 2012-2025 Georgi Valkov. All rights reserved.
|
|
8
|
-
|
|
9
|
-
Redistribution and use in source and binary forms, with or without
|
|
10
|
-
modification, are permitted provided that the following conditions are
|
|
11
|
-
met:
|
|
12
|
-
|
|
13
|
-
1. Redistributions of source code must retain the above copyright
|
|
14
|
-
notice, this list of conditions and the following disclaimer.
|
|
15
|
-
|
|
16
|
-
2. Redistributions in binary form must reproduce the above copyright
|
|
17
|
-
notice, this list of conditions and the following disclaimer in
|
|
18
|
-
the documentation and/or other materials provided with the
|
|
19
|
-
distribution.
|
|
20
|
-
|
|
21
|
-
3. Neither the name of author nor the names of its contributors may
|
|
22
|
-
be used to endorse or promote products derived from this software
|
|
23
|
-
without specific prior written permission.
|
|
24
|
-
|
|
25
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
26
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
27
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
28
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR
|
|
29
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
30
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
31
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
32
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
33
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
34
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
35
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
36
|
-
|
|
37
|
-
Project-URL: Homepage, https://github.com/gvalkov/python-evdev
|
|
38
|
-
Keywords: evdev,input,uinput
|
|
39
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
40
|
-
Classifier: Programming Language :: Python :: 3
|
|
41
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
42
|
-
Classifier: Intended Audience :: Developers
|
|
43
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
44
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
45
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
46
|
-
Requires-Python: >=3.8
|
|
47
|
-
Description-Content-Type: text/markdown
|
|
48
|
-
License-File: LICENSE
|
|
49
|
-
|
|
50
|
-
# evdev
|
|
51
|
-
|
|
52
|
-
<p>
|
|
53
|
-
<a href="https://pypi.python.org/pypi/evdev"><img alt="pypi version" src="https://img.shields.io/pypi/v/evdev.svg"></a>
|
|
54
|
-
<a href="https://github.com/gvalkov/python-evdev/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/pypi/l/evdev"></a>
|
|
55
|
-
<a href="https://repology.org/project/python:evdev/versions"><img alt="Packaging status" src="https://repology.org/badge/tiny-repos/python:evdev.svg"></a>
|
|
56
|
-
</p>
|
|
57
|
-
|
|
58
|
-
This package provides bindings to the generic input event interface in Linux.
|
|
59
|
-
The *evdev* interface serves the purpose of passing events generated in the
|
|
60
|
-
kernel directly to userspace through character devices that are typically
|
|
61
|
-
located in `/dev/input/`.
|
|
62
|
-
|
|
63
|
-
This package also comes with bindings to *uinput*, the userspace input
|
|
64
|
-
subsystem. *Uinput* allows userspace programs to create and handle input devices
|
|
65
|
-
that can inject events directly into the input subsystem.
|
|
66
|
-
|
|
67
|
-
***Documentation:***
|
|
68
|
-
https://python-evdev.readthedocs.io/en/latest/
|
|
69
|
-
|
|
70
|
-
***Development:***
|
|
71
|
-
https://github.com/gvalkov/python-evdev
|
|
72
|
-
|
|
73
|
-
***Package:***
|
|
74
|
-
https://pypi.python.org/pypi/evdev
|
|
75
|
-
|
|
76
|
-
***Changelog:***
|
|
77
|
-
https://python-evdev.readthedocs.io/en/latest/changelog.html
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|