File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,33 @@ Changelog
22---------
33
44
5+ 0.8.0 (Mar 22, 2018)
6+ ====================
7+
8+ - Fix ``InputDevice `` comparison on Python 2.
9+
10+ - The device path is now considered when comparing two devices.
11+
12+ - Fix ``UInput.from_device `` not correctly merging the capabilities of
13+ selected devices.
14+
15+ - The list of excluded event types in ``UInput.from_device `` is now
16+ configurable. For example::
17+
18+ UInput.from_device(dev, filtered_types=(EV_SYN, EV_FF))
19+
20+ In addition, ``ecodes.EV_FF `` is now excluded by default.
21+
22+ - Add a context manager for grabbing access to a device -
23+ ``InputDevice.grab_context ``. For example::
24+
25+ with dev.grab_context():
26+ pass
27+
28+ - Add the ``InputDevice.uniq `` attribute, which contains the unique identifier
29+ of the device. As with ``phys ``, this attribute may be empty (i.e. `'' `).
30+
31+
5320.7.0 (Jun 16, 2017)
633====================
734
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ ioctl_devinfo(PyObject *self, PyObject *args)
229229 // Some devices do not have a physical topology associated with them
230230 ioctl (fd , EVIOCGPHYS (sizeof (phys )), phys );
231231
232- // Some kernels have started reporting bluetooth controller MAC as phys.
232+ // Some kernels have started reporting bluetooth controller MACs as phys.
233233 // This lets us get the real physical address. As with phys, it may be blank.
234234 ioctl (fd , EVIOCGUNIQ (sizeof (uniq )), uniq );
235235
You can’t perform that action at this time.
0 commit comments