[PATCH 0/2] Input filters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The following 2 patches implement a limited version of input filters
which allow suppressing certain events from reaching regular input
handlers/user space.

The name inspired by the recent patch from Matthew, although
implementation and intended usage quite different - Matthew needs to
filter non-input (battery, wlan, AC adapter state) from the raw data
stream emitted by i8042 whereas input filters are supposed to filter
(and maybe replace) _input_ events, most likely without regard as to
which device emitted them.

The first (and quite possible only) user of the filter facility is
Mac mouse button emulation which user to be hacked into the keyboard
driver. The setup worked until keyboard was the sole source of key
events but now that X is switching to evdev (which is completely
ignorant of mac emulation) user space started getting the original
key presses along with the emulated buttons. Input filters solve the
issue while encapsulating everything in drivers/macintosh and
removing dependencies between mac_hid, keyboard and evdev.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux