- Update to 1.8.0
* 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.
* Reverse mappings in evdev.ecodes that point to more than one
value are now tuples instead of lists.
* Fix keyboard delay and repeat being swapped.
* Move the syn() convenience method from InputDevice to EventIO.
- Add fix-tests.patch to pull in test fixes that upstream only
included after tagging their release.
- Switch source download during packaging from disabledrun to
manualrun.
OBS-URL: https://build.opensuse.org/request/show/1241259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=16
* 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.
* Reverse mappings in evdev.ecodes that point to more than one
value are now tuples instead of lists.
* Fix keyboard delay and repeat being swapped.
* Move the syn() convenience method from InputDevice to EventIO.
- Add fix-tests.patch to pull in test fixes that upstream only
included after tagging their release.
- Switch source download during packaging from disabledrun to
manualrun.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=34
* Add the uniq address to the string representation of InputDevice.
* Improved method for finding the device node corresponding to a
uinput device
- Adjust package build to upstream's switch to pyproject.toml.
- Switch package to modern Python
* On Python 3.6 there is no new enough setuptools anyhow.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=29
- Fix ``InputDevice.set_absinfo`` to allow setting parameters to zero.
- Fix off-by-one in ``ioctl_EVIOCG_bits``, which causes value at the end of the
list to not be reported back
- Fix ``set_absinfo`` to allow setting parameters to zero
- Fix leak when returning ``BlockingIOError`` from a read
- Fix "There is no current event loop in thread" error for non asyncio code
- Prevent ``InputDevice`` destructor from blocking
- Add missing return codes to ``os.strerror()`` calls and fix force feedback
- Add the ``util.find_ecodes_by_regex()`` helper function.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=16
- Update to 1.3.0
* Fix build on 32bit arches with 64bit time_t.
* Add functionality to query device properties. See
InputDevice.input_props and the input_props argument to Uinput.
* KeyEvent received an allow_unknown constructor argument, which
determines what will happen when an event code cannot be mapped
to a keycode. The default and behavior so far has been to raise
KeyError. If set to True, the keycode will be set to the event
code formatted as a hex number.
* Add InputDevice.set_absinfo() and InputDevice.absinfo().
* Instruct the asyncio event loop to stop monitoring the fd of
the input device when the device is closed.
OBS-URL: https://build.opensuse.org/request/show/763675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=12
- Run tests during packaging.
- Changed to source taken directly from Git instead of PyPI.
(PyPI tarballs don't carry tests)
- Update to version 1.0.0
* Fixed asyncio support in Python 3.5+.
* Fixed handling of missing data.
* Fixed device comparison.
* Deprecated the InputDevice.fn attribute in favour of
InputDevice.path
* Add a context manager for grabbing access to a device -
InputDevice.grab_context.
* Add the InputDevice.uniq attribute, which contains the unique
identifier of the device.
OBS-URL: https://build.opensuse.org/request/show/619208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=2
- Run tests during packaging.
* This runs only those tests which do not require /dev/uinput.
- Changed to source taken directly from Git instead of PyPI.
- Update to version 1.0.0
* Fixed asyncio support in Python 3.5+.
* Fixed handling of missing data.
* Fixed device comparison.
* Deprecated the InputDevice.fn attribute in favour of
InputDevice.path
* Add a context manager for grabbing access to a device -
InputDevice.grab_context.
* Add the InputDevice.uniq attribute, which contains the unique
identifier of the device.
OBS-URL: https://build.opensuse.org/request/show/614382
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=3