• Tony Novak's avatar
    input-settings: detect trackball using udev ID_INPUT_TRACKBALL · 8685de96
    Tony Novak authored
    Previously, trackballs were detected based on the presence of the
    substring "trackball" in the device name. This had the downside of
    missing devices, such as the Kensington Expert Mouse, which don't have
    "trackball" in their names.
    
    Rather than depending on the device name, use the ID_INPUT_TRACKBALL
    property from udev to determine whether or not to treat a device as a
    trackball.
    
    This adds a new function, `is_trackball_device`, to MetaInputEvents, and
    eliminates the `meta_input_device_is_trackball` function.
    
    Fixes: #258
    8685de96
Name
Last commit
Last update
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...