Evdev

Latest version: v1.7.1

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

Scan your dependencies

Page 5 of 6

0.4.2

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

- Rework documentation and docstrings.

- Call :func:`InputDevice.close()` from :func:`InputDevice.__del__()`.

0.4.1

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

- Fix reference counting in :func:`InputDevice.device_read()`,
:func:`InputDevice.device_read_many()` and :func:`ioctl_capabilities`.

0.4.0

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

- Add ``FF_*`` and ``FF_STATUS`` codes to :func:`ecodes` (thanks `bgilbert`_).

- Reverse event code mappings (``ecodes.{KEY,FF,REL,ABS}`` and etc.)
will now map to a list of codes, whenever a value corresponds to
multiple codes::

>>> ecodes.KEY[152]
... ['KEY_COFFEE', 'KEY_SCREENLOCK']
>>> ecodes.KEY[30]
... 'KEY_A'

- Set the state of a LED through :func:`InputDevice.set_led()` (thanks
`accek`_).

- Open :attr:`InputDevice.fd` in ``O_RDWR`` mode from now on.

- Fix segfault in :func:`InputDevice.device_read_many()` (thanks `bgilbert`_).

0.3.3

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

- Raise :class:`IOError` from :func:`InputDevice.device_read()` and
:func:`InputDevice.device_read_many()` when :func:`InputDevice.read()`
fails.

- Several stability and style changes (thank you debian code reviewers).

0.3.2

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

- Fix vendor id and product id order in :func:`DeviceInfo` (thanks `kived`_).

0.3.1

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

- :func:`InputDevice.read()` will return an empty tuple if the device
has nothing to offer (instead of segfaulting).

- Exclude unnecessary package data in sdist and bdist.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.