On Sun, Nov 23, 2014 at 02:13:30PM +0100, Pali Rohár wrote:

> When I enable or disable this switch it correctly enable or 
> disable devices (and also hard rfkill status is set correctly).

If the switch changes the rfkill state, you shouldn't be emitting any 
presses - the rfkill state change will notify userspace. Consume the 
event in the filter and don't pass it through.

-- 
Matthew Garrett | [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to