commit | 3982ce3f2b569e44075488fd7f03717a185886ce | [log] [tgz] |
---|---|---|
author | William Mahon <wmahon@google.com> | Tue Aug 16 21:40:39 2022 +0000 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 06 23:31:02 2022 +0000 |
tree | ca4f7a90f8edb221e21989244459759313b97426 | |
parent | 7b597423567a1ae8c201069476c0526ba73d5ce6 [diff] |
20-mouse.conf: add CPI for Corsair Mice We need to hardcode the CPI values of the Katar Pro XT & Sabre Pro Champion (RBG & non-RBG) mice as it is not possible to read their CPI from their descriptors. BUG=b:228405623 TEST=Do not currently have one of the mice, but was able to build & flash to device without obvious errors. Change-Id: I1cd7b178bfa23bf780e9c4ffacb4606773076bcc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/xorg-conf/+/3841330 Commit-Queue: William Mahon <wmahon@google.com> Reviewed-by: Kenneth Albanowski <kenalba@google.com> Tested-by: William Mahon <wmahon@google.com>
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
.