Re: [PATCH libinput 1/3] core: Add internal event notification mechanism

2014-09-21 Thread Peter Hutterer
On Thu, Sep 18, 2014 at 01:11:03PM +0200, Hans de Goede wrote: > For features like e.g. disable-touchpad-while-typing, it is necessary for one > device to be able to listen into another device's events. > > It is tempting to use the existing device_added / device_removed mechanism > to give e.g. t

[PATCH libinput 1/3] core: Add internal event notification mechanism

2014-09-18 Thread Hans de Goede
For features like e.g. disable-touchpad-while-typing, it is necessary for one device to be able to listen into another device's events. It is tempting to use the existing device_added / device_removed mechanism to give e.g. the keyboard a link to the touchpad, and make the keyboard code disable /