Commit 6f4c7d66 authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Carlos Garnacho

x11: Check wacom button flags to determine whether button is mode switch

Checking the leds is not really accurate, since some devices have mode
switch buttons without leds. Check in the button flags whether they are
mode switch buttons for any of ring/ring2/strip/strip2, and return the
appropriate group.

parent c843102e
Pipeline #134535 passed with stages
in 5 minutes and 23 seconds