| 1 |
Changelog |
| 2 |
--------- |
| 3 |
|
| 4 |
2.0.0 (Aug 23, 2026) |
| 5 |
==================== |
| 6 |
|
| 7 |
- ``upload_effect()`` now writes the generated effect id back to the effect struct. |
| 8 |
This can be controlled with the `writeback_id` argument (:issue:`250`):: |
| 9 |
|
| 10 |
>>> effect = Effect(id=-1, ...) |
| 11 |
>>> dev.upload_effect(effect) |
| 12 |
1 |
| 13 |
>>> effect.id |
| 14 |
1 |
| 15 |
|
| 16 |
>>> effect = Effect(id=-1, ...) |
| 17 |
>>> dev.upload_effect(effect, writeback_id=False) |
| 18 |
1 |
| 19 |
>>> effect.id |
| 20 |
-1 |
| 21 |
|
| 22 |
- Add the ``readonly`` parameter to ``InputDevice``, which opens the device without |
| 23 |
attempting ``O_RDWR`` first, avoiding firmware side-effects on some hardware (:pr:`251`). |
| 24 |
|
| 25 |
- Add the ``writable`` parameter to ``list_devices()`` and ``is_device()`` (:pr:`251`). |
| 26 |
|
| 27 |
- Support for Python free-threaded mode (:pr:`257`). |
| 28 |
|
| 29 |
- Fix asyncio deprecations: use ``asyncio.get_running_loop()`` instead of |
| 30 |
``asyncio.get_event_loop()`` and ``loop.create_future()`` instead of |
| 31 |
``asyncio.Future()`` (:pr:`229`). |
| 32 |
|
| 33 |
- Raise the minimum supported Python version to 3.11. |
| 34 |
|
| 35 |
- Allow ``UInput`` event types without event codes, such as ``EV_REP`` (:pr:`260`). |
| 36 |
|
| 37 |
|
| 38 |
1.9.3 (Feb 05, 2025) |
| 39 |
==================== |
| 40 |
|
| 41 |
- Fix several memory leaks in ``input.c``. |
| 42 |
|
| 43 |
- Raise the minimum supported Python version to 3.9 and the setuptools version to 77.0. |
| 44 |
|
| 45 |
|
| 46 |
1.9.2 (May 01, 2025) |
| 47 |
==================== |
| 48 |
|
| 49 |
- Add the "--reproducible" build option which removes the build date and used headers from the |
| 50 |
generated ``ecodes.c``. Example usage:: |
| 51 |
|
| 52 |
python -m build --config-setting=--build-option='build_ecodes --reproducible' -n |
| 53 |
|
| 54 |
- Use ``Generic`` to set precise type for ``InputDevice.path``. |
| 55 |
|
| 56 |
|
| 57 |
1.9.1 (Feb 22, 2025) |
| 58 |
==================== |
| 59 |
|
| 60 |
- Fix for missing ``UI_FF`` constants in generated ``ecodes.py``. |
| 61 |
|
| 62 |
- More type annotations. |
| 63 |
|
| 64 |
|
| 65 |
1.9.0 (Feb 08, 2025) |
| 66 |
==================== |
| 67 |
|
| 68 |
- Fix for ``CPATH/C_INCLUDE_PATH`` being ignored during build. |
| 69 |
|
| 70 |
- Slightly faster reading of events in ``device.read()`` and ``device.read_one()``. |
| 71 |
|
| 72 |
- Fix FreeBSD support. |
| 73 |
|
| 74 |
- Drop deprecated ``InputDevice.fn`` (use ``InputDevice.path`` instead). |
| 75 |
|
| 76 |
- Improve type hint coverage and add a ``py.typed`` file to the sdist. |
| 77 |
|
| 78 |
|
| 79 |
1.8.0 (Jan 25, 2025) |
| 80 |
==================== |
| 81 |
|
| 82 |
- Binary wheels are now provided by the `evdev-binary <http://pypi.python.org/pypi/evdev-binary>`_ package. |
| 83 |
The package is compiled on manylinux_2_28 against kernel 4.18. |
| 84 |
|
| 85 |
- The ``evdev.ecodes`` module is now generated at install time and contains only constants. This allows type |
| 86 |
checking and introspection of the ``evdev.ecodes`` module, without having to execute it first. The old |
| 87 |
module is available as ``evdev.ecodes_runtime``. In case generation of the static ``ecodes.py`` fails, the |
| 88 |
install process falls back to using ``ecodes_runtime.py`` as ``ecodes.py``. |
| 89 |
|
| 90 |
- Reverse mappings in ``evdev.ecodes`` that point to more than one value are now tuples instead of lists. For example:: |
| 91 |
|
| 92 |
>>> ecodes.KEY[153] |
| 93 |
("KEY_DIRECTION", "KEY_ROTATE_DISPLAY") |
| 94 |
|
| 95 |
- Raise the minimum supported Python version to 3.8. |
| 96 |
|
| 97 |
- Fix keyboard delay and repeat being swapped (:pr:`227`). |
| 98 |
|
| 99 |
- Move the ``syn()`` convenience method from ``InputDevice`` to ``EventIO`` (:pr:`224`). |
| 100 |
|
| 101 |
|
| 102 |
1.7.1 (May 8, 2024) |
| 103 |
==================== |
| 104 |
|
| 105 |
- Provide fallback value for ``FF_MAX_EFFECTS``, which fixes the build on EL 7 (:pr:`219`). |
| 106 |
|
| 107 |
- Add ``#ifdef`` guards around ``UI_GET_SYSNAME`` to improve kernel compatibility (:pr:`218`). |
| 108 |
|
| 109 |
- Wait up to two seconds for uinput devices to appear (:pr:`215`). |
| 110 |
|
| 111 |
|
| 112 |
1.7.0 (Feb 18, 2024) |
| 113 |
==================== |
| 114 |
|
| 115 |
- Respect the ``CPATH/C_INCLUDE_PATH`` environment variables during install. |
| 116 |
|
| 117 |
- Add the uniq address to the string representation of ``InputDevice``. |
| 118 |
|
| 119 |
- Improved method for finding the device node corresponding to a uinput device (:pr:`206`). |
| 120 |
|
| 121 |
- Repository TLC (reformatted with ruff, fixed linting warnings, moved packaging metadata to ``pyproject.toml`` etc.). |
| 122 |
|
| 123 |
|
| 124 |
1.6.1 (Jan 20, 2023) |
| 125 |
==================== |
| 126 |
|
| 127 |
- Fix generation of ``ecodes.c`` when the path to ``sys.executable`` contains spaces. |
| 128 |
|
| 129 |
|
| 130 |
1.6.0 (Jul 17, 2022) |
| 131 |
==================== |
| 132 |
|
| 133 |
- Fix Python 3.11 compatibility (:pr:`174`). |
| 134 |
|
| 135 |
|
| 136 |
1.5.0 (Mar 24, 2022) |
| 137 |
==================== |
| 138 |
|
| 139 |
- Fix documentation (:pr:`163`, :pr:`160`). |
| 140 |
|
| 141 |
- Re-enable TTY echo at evtest exit (:pr:`155`). |
| 142 |
|
| 143 |
- Fix ``ImportError: sys.meta_path is None, Python is likely shutting down`` (:pr:`154`). |
| 144 |
|
| 145 |
- Closing the input device file descriptor in ``InputDevice.close()`` now |
| 146 |
happens in the main thread, instead of in a new thread (reverts :pr:`146`). |
| 147 |
|
| 148 |
- Fix ``util.find_ecodes_by_regex`` not working across all supported Python versions (:pr:`152`). |
| 149 |
|
| 150 |
|
| 151 |
|
| 152 |
1.4.0 (Jan 16, 2021) |
| 153 |
==================== |
| 154 |
|
| 155 |
- Fix ``InputDevice.set_absinfo`` to allow setting parameters to zero. |
| 156 |
|
| 157 |
- Fix off-by-one in ``ioctl_EVIOCG_bits``, which causes value at the end of the |
| 158 |
list to not be reported back (:pr:`131`). |
| 159 |
|
| 160 |
- Fix ``set_absinfo`` to allow setting parameters to zero (:pr:`128`). |
| 161 |
|
| 162 |
- Fix leak when returning ``BlockingIOError`` from a read (:pr:`143`). |
| 163 |
|
| 164 |
- Fix "There is no current event loop in thread" error for non asyncio code |
| 165 |
(:pr:`146`). |
| 166 |
|
| 167 |
- Prevent ``InputDevice`` destructor from blocking (:pr:`145`). |
| 168 |
|
| 169 |
- Add missing return codes to ``os.strerror()`` calls and fix force feedback |
| 170 |
example in docs (:pr:`137`). |
| 171 |
|
| 172 |
- Add the ``util.find_ecodes_by_regex()`` helper function. |
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
1.3.0 (Jan 12, 2020) |
| 177 |
==================== |
| 178 |
|
| 179 |
- Fix build on 32bit arches with 64bit time_t |
| 180 |
|
| 181 |
- Add functionality to query device properties. See ``InputDevice.input_props`` |
| 182 |
and the ``input_props`` argument to ``Uinput``. |
| 183 |
|
| 184 |
- ``KeyEvent`` received an ``allow_unknown`` constructor argument, which |
| 185 |
determines what will happen when an event code cannot be mapped to a keycode. |
| 186 |
The default and behavior so far has been to raise ``KeyError``. If set to |
| 187 |
``True``, the keycode will be set to the event code formatted as a hex number. |
| 188 |
|
| 189 |
- Add ``InputDevice.set_absinfo()`` and ``InputDevice.absinfo()``. |
| 190 |
|
| 191 |
- Instruct the asyncio event loop to stop monitoring the fd of the input device |
| 192 |
when the device is closed. |
| 193 |
|
| 194 |
|
| 195 |
1.2.0 (Apr 7, 2019) |
| 196 |
==================== |
| 197 |
|
| 198 |
- Add UInput support for the resolution parameter in AbsInfo. This brings |
| 199 |
support for the new method of uinput device setup, which was `introduced in |
| 200 |
Linux 4.5`_ (thanks to :ghuser:`LinusCDE`). |
| 201 |
|
| 202 |
- Vendor and product identifiers can be greater or equal to `0x8000` (thanks to the contributor of :pr:`104`). |
| 203 |
|
| 204 |
|
| 205 |
1.1.2 (Sep 1, 2018) |
| 206 |
==================== |
| 207 |
|
| 208 |
- Fix installation on kernels <= 4.4. |
| 209 |
|
| 210 |
- Fix uinput creation ignoring absinfo settings. |
| 211 |
|
| 212 |
|
| 213 |
1.1.0 (Aug 27, 2018) |
| 214 |
==================== |
| 215 |
|
| 216 |
- Add support for handling force-feedback effect uploads (many thanks to :ghuser:`ndreys`). |
| 217 |
|
| 218 |
- Fix typo preventing ff effects that need left coefficients from working. |
| 219 |
|
| 220 |
|
| 221 |
1.0.0 (Jun 02, 2018) |
| 222 |
==================== |
| 223 |
|
| 224 |
- Prevent ``Uinput`` device creation raising ``Objects/longobject.c:415: bad |
| 225 |
argument to internal function`` when a non-complete ``AbsInfo`` structure is |
| 226 |
passed. All missing ``AbsInfo`` fields are set to 0. |
| 227 |
|
| 228 |
- Fix ``Uinput`` device creation raising ``KeyError`` when a capability filtered |
| 229 |
by default is not present. |
| 230 |
|
| 231 |
- The ``InputDevice.fn`` attribute was deprecated in favor of ``InputDevice.path``. |
| 232 |
Using the former will show a ``DeprecationWarning``, but would otherwise continue |
| 233 |
working as before. |
| 234 |
|
| 235 |
- Fix ``InputDevice`` comparison raising ``AttributeError`` due to a nonexistent |
| 236 |
``path`` attribute. |
| 237 |
|
| 238 |
- Fix asyncio support in Python 3.5+. |
| 239 |
|
| 240 |
- Uploading FF effect now works both on Python 2.7 and Python 3+. |
| 241 |
|
| 242 |
- Remove the ``asyncore`` example from the tutorial. |
| 243 |
|
| 244 |
|
| 245 |
0.8.1 (Mar 24, 2018) |
| 246 |
==================== |
| 247 |
|
| 248 |
- Fix Python 2 compatibility issue in ``Uinput.from_device``. |
| 249 |
|
| 250 |
- Fix minor `evdev.evtest` formatting issue. |
| 251 |
|
| 252 |
|
| 253 |
0.8.0 (Mar 22, 2018) |
| 254 |
==================== |
| 255 |
|
| 256 |
- Fix ``InputDevice`` comparison on Python 2. |
| 257 |
|
| 258 |
- The device path is now considered when comparing two devices. |
| 259 |
|
| 260 |
- Fix ``UInput.from_device`` not correctly merging the capabilities of |
| 261 |
selected devices. |
| 262 |
|
| 263 |
- The list of excluded event types in ``UInput.from_device`` is now |
| 264 |
configurable. For example:: |
| 265 |
|
| 266 |
UInput.from_device(dev, filtered_types=(EV_SYN, EV_FF)) |
| 267 |
|
| 268 |
In addition, ``ecodes.EV_FF`` is now excluded by default. |
| 269 |
|
| 270 |
- Add a context manager for grabbing access to a device - |
| 271 |
``InputDevice.grab_context``. For example:: |
| 272 |
|
| 273 |
with dev.grab_context(): |
| 274 |
pass |
| 275 |
|
| 276 |
- Add the ``InputDevice.uniq`` attribute, which contains the unique identifier |
| 277 |
of the device. As with ``phys``, this attribute may be empty (i.e. `''`). |
| 278 |
|
| 279 |
|
| 280 |
0.7.0 (Jun 16, 2017) |
| 281 |
==================== |
| 282 |
|
| 283 |
- ``InputDevice`` now accepts objects that support the path protocol. |
| 284 |
For example:: |
| 285 |
|
| 286 |
pth = pathlib.Path("/dev/input/event0") |
| 287 |
dev = evdev.InputDevice(pth) |
| 288 |
|
| 289 |
- Support path protocol in ``InputDevice``. This means that ``InputDevice`` |
| 290 |
instances can be passed to callers that expect a ``os.PathLike`` object. |
| 291 |
|
| 292 |
- Exceptions raised during ``InputDevice.async_read()`` (and similar) are now |
| 293 |
handled properly (i.e. an exception is set on the returned future instead of |
| 294 |
leaking that exception into the event loop) (Fixes :issue:`67`). |
| 295 |
|
| 296 |
|
| 297 |
0.6.4 (Oct 07, 2016) |
| 298 |
==================== |
| 299 |
|
| 300 |
- Exclude ``ecodes.c`` from source distribution (Fixes :issue:`63`). |
| 301 |
|
| 302 |
|
| 303 |
0.6.3 (Oct 06, 2016) |
| 304 |
==================== |
| 305 |
|
| 306 |
- Add the ``UInput.from_device`` class method, which allows uinput device to be |
| 307 |
created with the capabilities of one or more existing input devices:: |
| 308 |
|
| 309 |
ui = UInput.from_device("/dev/input1", "/dev/input2", **constructor_kwargs) |
| 310 |
|
| 311 |
- Add the ``build_ecodes`` distutils command, which generates the ``ecodes.c`` |
| 312 |
extension module. The new way of overwriting the evdev header locations is:: |
| 313 |
|
| 314 |
python setup.py build \ |
| 315 |
build_ecodes --evdev-headers path/input.h:path/input-event-codes.h \ |
| 316 |
build_ext --include-dirs path/ \ |
| 317 |
install |
| 318 |
|
| 319 |
The ``build*`` and ``install`` commands no longer have to be part of the same |
| 320 |
command-line (i.e. running ``install`` will reuse the outputs of the last |
| 321 |
``build``). |
| 322 |
|
| 323 |
|
| 324 |
0.6.1 (Jun 04, 2016) |
| 325 |
==================== |
| 326 |
|
| 327 |
- Disable tty echoing while evtest is running. |
| 328 |
- Allow evtest to listen to more than one device. |
| 329 |
|
| 330 |
- The setup.py script now allows the location of the input header files to be |
| 331 |
overwritten. For example:: |
| 332 |
|
| 333 |
python setup.py build_ext \ |
| 334 |
--evdev-headers path/input.h:path/input-event-codes.h \ |
| 335 |
--include-dirs path/ \ |
| 336 |
install |
| 337 |
|
| 338 |
|
| 339 |
0.6.0 (Feb 14, 2016) |
| 340 |
==================== |
| 341 |
|
| 342 |
- Asyncio and async/await support (many thanks to :ghuser:`paulo-raca`). |
| 343 |
- Add the ability to set the `phys` property of uinput devices (thanks :ghuser:`paulo-raca`). |
| 344 |
- Add a generic :func:`InputDevice.set` method (thanks :ghuser:`paulo-raca`). |
| 345 |
- Distribute the evtest script along with evdev. |
| 346 |
- Fix issue with generating :mod:`ecodes.c` in recent kernels (``>= 4.4.0``). |
| 347 |
- Fix absinfo item indexes in :func:`UInput.uinput_create()` (thanks :ghuser:`forsenonlhaimaisentito`). |
| 348 |
- More robust comparison of :class:`InputDevice` objects (thanks :ghuser:`isia`). |
| 349 |
|
| 350 |
|
| 351 |
0.5.0 (Jun 16, 2015) |
| 352 |
==================== |
| 353 |
|
| 354 |
- Write access to the input device is no longer mandatory. Evdev will |
| 355 |
first try to open the device for reading and writing and fallback to |
| 356 |
read-only. Methods that require write access (e.g. :func:`set_led()`) |
| 357 |
will raise :class:`EvdevError` if the device is open only for reading. |
| 358 |
|
| 359 |
|
| 360 |
0.4.7 (Oct 07, 2014) |
| 361 |
==================== |
| 362 |
|
| 363 |
- Fallback to distutils if setuptools is not available. |
| 364 |
|
| 365 |
|
| 366 |
0.4.6 (Oct 07, 2014) |
| 367 |
==================== |
| 368 |
|
| 369 |
- Rework documentation and docstrings once more. |
| 370 |
|
| 371 |
- Fix install on Python 3.4 (works around issue21121_). |
| 372 |
|
| 373 |
- Fix :func:`ioctl()` requested buffer size (thanks Jakub Wojciech Klama). |
| 374 |
|
| 375 |
|
| 376 |
0.4.5 (Jul 06, 2014) |
| 377 |
==================== |
| 378 |
|
| 379 |
- Add method for returning a list of the currently active keys - |
| 380 |
:func:`InputDevice.active_keys()` (thanks :ghuser:`spasche`). |
| 381 |
|
| 382 |
- Fix a potential buffer overflow in :func:`ioctl_capabilities()` (thanks :ghuser:`spasche`). |
| 383 |
|
| 384 |
|
| 385 |
0.4.4 (Jun 04, 2014) |
| 386 |
==================== |
| 387 |
|
| 388 |
- Calling :func:`InputDevice.read_one()` should always return ``None``, |
| 389 |
when there is nothing to be read, even in case of an ``EAGAIN`` errno |
| 390 |
(thanks JPP). |
| 391 |
|
| 392 |
|
| 393 |
0.4.3 (Dec 19, 2013) |
| 394 |
==================== |
| 395 |
|
| 396 |
- Silence :class:`OSError` in destructor (thanks :ghuser:`polyphemus`). |
| 397 |
|
| 398 |
- Make :func:`InputDevice.close()` work in cases in which stdin (fd 0) |
| 399 |
has been closed (thanks :ghuser:`polyphemus`). |
| 400 |
|
| 401 |
|
| 402 |
0.4.2 (Dec 13, 2013) |
| 403 |
==================== |
| 404 |
|
| 405 |
- Rework documentation and docstrings. |
| 406 |
|
| 407 |
- Call :func:`InputDevice.close()` from :func:`InputDevice.__del__()`. |
| 408 |
|
| 409 |
|
| 410 |
0.4.1 (Jul 24, 2013) |
| 411 |
==================== |
| 412 |
|
| 413 |
- Fix reference counting in :func:`InputDevice.device_read()`, |
| 414 |
:func:`InputDevice.device_read_many()` and :func:`ioctl_capabilities`. |
| 415 |
|
| 416 |
|
| 417 |
0.4.0 (Jul 01, 2013) |
| 418 |
==================== |
| 419 |
|
| 420 |
- Add ``FF_*`` and ``FF_STATUS`` codes to :func:`ecodes` (thanks :ghuser:`bgilbert`). |
| 421 |
|
| 422 |
- Reverse event code mappings (``ecodes.{KEY,FF,REL,ABS}`` and etc.) |
| 423 |
will now map to a list of codes, whenever a value corresponds to |
| 424 |
multiple codes:: |
| 425 |
|
| 426 |
>>> ecodes.KEY[152] |
| 427 |
... ["KEY_COFFEE", "KEY_SCREENLOCK"] |
| 428 |
>>> ecodes.KEY[30] |
| 429 |
... "KEY_A" |
| 430 |
|
| 431 |
- Set the state of a LED through :func:`InputDevice.set_led()` (thanks |
| 432 |
:ghuser:`accek`). |
| 433 |
|
| 434 |
- Open :attr:`InputDevice.fd` in ``O_RDWR`` mode from now on. |
| 435 |
|
| 436 |
- Fix segfault in :func:`InputDevice.device_read_many()` (thanks :ghuser:`bgilbert`). |
| 437 |
|
| 438 |
|
| 439 |
0.3.3 (May 29, 2013) |
| 440 |
==================== |
| 441 |
|
| 442 |
- Raise :class:`IOError` from :func:`InputDevice.device_read()` and |
| 443 |
:func:`InputDevice.device_read_many()` when :func:`InputDevice.read()` |
| 444 |
fails. |
| 445 |
|
| 446 |
- Several stability and style changes (thank you debian code reviewers). |
| 447 |
|
| 448 |
|
| 449 |
0.3.2 (Apr 05, 2013) |
| 450 |
==================== |
| 451 |
|
| 452 |
- Fix vendor id and product id order in :func:`DeviceInfo` (thanks :ghuser:`kived`). |
| 453 |
|
| 454 |
|
| 455 |
0.3.1 (Nov 23, 2012) |
| 456 |
==================== |
| 457 |
|
| 458 |
- :func:`InputDevice.read()` will return an empty tuple if the device |
| 459 |
has nothing to offer (instead of segfaulting). |
| 460 |
|
| 461 |
- Exclude unnecessary package data in sdist and bdist. |
| 462 |
|
| 463 |
|
| 464 |
0.3.0 (Nov 06, 2012) |
| 465 |
==================== |
| 466 |
|
| 467 |
- Add ability to set/get auto-repeat settings with ``EVIOC{SG}REP``. |
| 468 |
|
| 469 |
- Add :func:`InputDevice.version` - the value of ``EVIOCGVERSION``. |
| 470 |
|
| 471 |
- Add :func:`InputDevice.read_loop()`. |
| 472 |
|
| 473 |
- Add :func:`InputDevice.grab()` and :func:`InputDevice.ungrab()` - |
| 474 |
exposes ``EVIOCGRAB``. |
| 475 |
|
| 476 |
- Add :func:`InputDevice.leds` - exposes ``EVIOCGLED``. |
| 477 |
|
| 478 |
- Replace :class:`DeviceInfo` class with a namedtuple. |
| 479 |
|
| 480 |
- Prevent :func:`InputDevice.read_one()` from skipping events. |
| 481 |
|
| 482 |
- Rename :class:`AbsData` to :class:`AbsInfo` (as in ``struct input_absinfo``). |
| 483 |
|
| 484 |
|
| 485 |
0.2.0 (Aug 22, 2012) |
| 486 |
==================== |
| 487 |
|
| 488 |
- Add the ability to set arbitrary device capabilities on uinput |
| 489 |
devices (defaults to all ``EV_KEY`` ecodes). |
| 490 |
|
| 491 |
- Add :attr:`UInput.device` which is an open :class:`InputDevice` to |
| 492 |
the input device that uinput 'spawns'. |
| 493 |
|
| 494 |
- Add :func:`UInput.capabilities()` which is just a shortcut to |
| 495 |
:func:`UInput.device.capabilities()`. |
| 496 |
|
| 497 |
- Rename :func:`UInput.write()` to :func:`UInput.write_event()`. |
| 498 |
|
| 499 |
- Add a simpler :func:`UInput.write(type, code, value)` method. |
| 500 |
|
| 501 |
- Make all :func:`UInput` constructor arguments optional (default |
| 502 |
device name is now ``py-evdev-uinput``). |
| 503 |
|
| 504 |
- Add the ability to set ``absmin``, ``absmax``, ``absfuzz`` and |
| 505 |
``absflat`` when specifying the uinput device's capabilities. |
| 506 |
|
| 507 |
- Remove the ``nophys`` argument - if a device fails the |
| 508 |
``EVIOCGPHYS`` ioctl, phys will equal the empty string. |
| 509 |
|
| 510 |
- Make :func:`InputDevice.capabilities()` perform a ``EVIOCGABS`` |
| 511 |
ioctl for devices that support ``EV_ABS`` and return that info |
| 512 |
wrapped in an ``AbsData`` namedtuple. |
| 513 |
|
| 514 |
- Split ``ioctl_devinfo`` into ``ioctl_devinfo`` and |
| 515 |
``ioctl_capabilities``. |
| 516 |
|
| 517 |
- Split :func:`UInput.uinput_open()` into :func:`UInput.uinput_open()` |
| 518 |
and :func:`UInput.uinput_create()` |
| 519 |
|
| 520 |
- Add more uinput usage examples and documentation. |
| 521 |
|
| 522 |
- Rewrite uinput tests. |
| 523 |
|
| 524 |
- Remove ``mouserel`` and ``mouseabs`` from :class:`UInput`. |
| 525 |
|
| 526 |
- Tie the sphinx version and release to the distutils version. |
| 527 |
|
| 528 |
- Set 'methods-before-attributes' sorting in the docs. |
| 529 |
|
| 530 |
- Remove ``KEY_CNT`` and ``KEY_MAX`` from :func:`ecodes.keys`. |
| 531 |
|
| 532 |
|
| 533 |
0.1.1 (May 18, 2012) |
| 534 |
==================== |
| 535 |
|
| 536 |
- Add ``events.keys``, which is a combination of all ``BTN_`` and |
| 537 |
``KEY_`` event codes. |
| 538 |
|
| 539 |
- ``ecodes.c`` was not generated when installing through ``pip``. |
| 540 |
|
| 541 |
|
| 542 |
0.1.0 (May 17, 2012) |
| 543 |
==================== |
| 544 |
|
| 545 |
*Initial Release* |
| 546 |
|
| 547 |
.. _`introduced in Linux 4.5`: https://github.com/torvalds/linux/commit/052876f8e5aec887d22c4d06e54aa5531ffcec75 |
| 548 |
.. _issue21121: http://bugs.python.org/issue21121 |