Skip to content
  • Dan Nicholson's avatar
    xfree86: Introduce InputClass configuration · 42e8c922
    Dan Nicholson authored
    
    
    Currently Xorg uses hal's fdi files to decide what configuration options
    are applied to automatically added input devices. This is sub-optimal
    since it requires users to use a new and different configuration store
    than xorg.conf.
    
    The InputClass section attempts to provide a system similar to hal where
    configuration can be applied to all devices with certain attributes. For
    now, devices can be matched to:
    
    * A substring of the product name via a MatchProduct entry
    * A substring of the vendir name via a MatchVendor entry
    * A pathname pattern of the device file via a MatchDevicePath entry
    * A device type via boolean entries for MatchIsKeyboard, MatchIsPointer,
      MatchIsJoystick, MatchIsTablet, MatchIsTouchpad and MatchIsTouchscreen
    
    See the INPUTCLASS section in xorg.conf(5) for more details.
    
    Signed-off-by: default avatarDan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    42e8c922