[PATCH libinput v2 1/5] udev: mark switches as input devices

Peter Hutterer peter.hutterer at who-t.net
Thu Jan 12 03:17:56 UTC 2017


fwiw, I got the maching udev bits merged into systemd and they should be
available with the next version. So I'm mostly thinking of *not* merging
this patch and having distributions ship it as an extra patch if they want.
or the udev patch, it's only 2 lines anyway.

https://github.com/systemd/systemd/pull/5057

Cheers,
   Peter

On Tue, Jan 10, 2017 at 12:24:21PM +1100, James Ye wrote:
> Signed-off-by: James Ye <jye836 at gmail.com>
> ---
>  udev/90-libinput-model-quirks.hwdb | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb
> index eb74f61..f038144 100644
> --- a/udev/90-libinput-model-quirks.hwdb
> +++ b/udev/90-libinput-model-quirks.hwdb
> @@ -15,6 +15,12 @@
>  #	libinput:name:<name>:fwversion:<version>
>  #
>  # Sort by brand, model
> +#
> +
> +
> +# TEMPORARY UNTIL SYSTEMD HAS THIS PATCH
> +libinput:name:*Switch*
> + ID_INPUT_SWITCH=1
>  
>  ##########################################
>  # ALPS
> -- 
> 2.9.3
> 


More information about the wayland-devel mailing list