commit | ee3127f4803ac14e3dd695d98f922567de70a28e | [log] [tgz] |
---|---|---|
author | Sean O'Brien <seobrien@google.com> | Thu Oct 28 00:40:53 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 29 17:23:18 2021 |
tree | d04bbeced7dbbf55aaa433047262c94ba871df8f | |
parent | 6abab868639f35ffb2399c32a80e7f7e8bb88621 [diff] |
Brya: Add initial configuration for redrix The redrix touchpad doesn't report the usual pressure value that scales with surface area, so compute touch size from touch major and touch minor instead. BUG=b:204256086 TEST=Confirm config file is built into brya image, and confirm touchpad works as expected. Change-Id: I8ce5bb40729f2f1412cadd04cbe6167c34c89765 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/xorg-conf/+/3248487 Tested-by: Sean O'Brien <seobrien@chromium.org> Auto-Submit: Sean O'Brien <seobrien@chromium.org> Reviewed-by: Harry Cutts <hcutts@chromium.org> Commit-Queue: Sean O'Brien <seobrien@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
.