Evdev

Latest version: v1.9.1

Safety actively analyzes 722631 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

1.9.1

====================

- Fix fox missing ``UI_FF`` constants in generated ``ecodes.py``.

- More type annotations.

1.9.0

====================

- Fix for ``CPATH/C_INCLUDE_PATH`` being ignored during build.

- Slightly faster reading of events in ``device.read()`` and ``device.read_one()``.

- Fix FreeBSD support.

- Drop deprecated ``InputDevice.fn`` (use ``InputDevice.path`` instead).

- Improve type hint coverage and add a ``py.typed`` file to the sdist.

1.8.0

====================

- Binary wheels are now provided by the `evdev-binary <http://pypi.python.org/pypi/evdev-binary>`_ package.
The package is compiled on manylinux_2_28 against kernel 4.18.

- The ``evdev.ecodes`` module is now generated at install time and contains only constants. This allows type
checking and introspection of the ``evdev.ecodes`` module, without having to execute it first. The old
module is available as ``evdev.ecodes_runtime``. In case generation of the static ``ecodes.py`` fails, the
install process falls back to using ``ecodes_runtime.py`` as ``ecodes.py``.

- Reverse mappings in ``evdev.ecodes`` that point to more than one value are now tuples instead of lists. For example::

>>> ecodes.KEY[153]
('KEY_DIRECTION', 'KEY_ROTATE_DISPLAY')

- Raise the minimum supported Python version to 3.8.

- Fix keyboard delay and repeat being swapped (227).

- Move the ``syn()`` convenience method from ``InputDevice`` to ``EventIO`` (224).

1.7.1

====================

- Provide fallback value for ``FF_MAX_EFFECTS``, which fixes the build on EL 7 (219).

- Add ``ifdef`` guards around ``UI_GET_SYSNAME`` to improve kernel compatibility (218) .

- Wait up to two seconds for uinput devices to appear. (215)

1.7.0

====================

- Respect the ``CPATH/C_INCLUDE_PATH`` environment variables during install.

- Add the uniq address to the string representation of ``InputDevice``.

- Improved method for finding the device node corresponding to a uinput device (`206 <https://github.com/gvalkov/python-evdev/pull/206>`_).

- Repository TLC (reformatted with ruff, fixed linting warnings, moved packaging metadata to ``pyproject.toml`` etc.).

1.6.1

====================

- Fix generation of ``ecodes.c`` when the path to ``sys.executable`` contains spaces.

Page 1 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.