commit | 99199e091bea72095c93d05c6695a6b413807bb8 | [log] [tgz] |
---|---|---|
author | Harry Cutts <hcutts@chromium.org> | Wed Jan 05 00:06:20 2022 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 07 05:58:53 2022 |
tree | 0692b9f7f0311c60da0375a23b7bb752634e0fe4 | |
parent | ee3127f4803ac14e3dd695d98f922567de70a28e [diff] |
samus: add MatchDMIProduct and MatchUSBID The MatchDMIProduct line allows the Samus config file to be included in Reven without interfering with non-Samus touchpads. Adding MatchUSBID seems sensible too, to prevent it from applying to any external touchpads which get connected (in the unlikely event that they have "Atmel" in their name string). BUG=b:210597532 TEST=Copy the config file onto a Samus running Reven, restart, and check that the touchpad works well. Change-Id: Iba355fd4d54b40619abf3af457033b87cb61a770 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/xorg-conf/+/3367086 Reviewed-by: Sean O'Brien <seobrien@chromium.org> Reviewed-by: Alexandru Stan <amstan@chromium.org> Tested-by: Alexandru Stan <amstan@chromium.org> Commit-Queue: Alexandru Stan <amstan@chromium.org>
This repository contains configuration files that were originally for the X Windowing System (a.k.a. X11 or Xorg). CrOS moved away from using X around 2015, but these files are still used to configure input devices. Thankfully this reduction in scope greatly reduces their effect on life satisfaction.
The syntax is now a subset of Xorg's configuration syntax, and using anything outside of that subset will either cause an error or just be ignored. Specifically, only InputClass
sections are supported. Within those, the following entries are supported:
Identifier
;Match
directives (MatchProduct
, MatchDevicePath
, MatchUSBID
, MatchIsPointer
, MatchIsTouchpad
, and MatchIsTouchscreen
);Driver
, which is ignored; andOption
, which is used to specify gesture properties instead of X11 input device options (though some old X11 options may be hanging around).For more details, see the parsing code in Chromium's GesturePropertyProvider
.