commit | f9a8c98c32f6a8351162d643cdc0287172abd55d | [log] [tgz] |
---|---|---|
author | William Mahon <wmahon@google.com> | Thu Sep 08 20:32:38 2022 +0000 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 09 18:14:12 2022 +0000 |
tree | cd808d7f161ff098984edf7e73ef9765559b791d | |
parent | 3982ce3f2b569e44075488fd7f03717a185886ce [diff] |
20-mouse.conf: add CPI for HyperX Mice We need to hardcode the CPI values of the HyperX Pulsefire Core RGB, HyperX Pulsefire Surge RGB & HyperX Pulsefire Haste mice as it is not possible to read their CPI from their descriptors. There are two variations of each mice produced by both HP & Kingston, therefore there are two entries for each mouse with different VID:PID values. BUG=b:236222285, b:235925540, b:220991678 TEST=Do not currently have one of the mice, but was able to build & flash to device without obvious errors. Change-Id: I47811cb499bdc5ef272efaf71c0ac9245310e255 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/xorg-conf/+/3885615 Reviewed-by: Sean O'Brien <seobrien@chromium.org> 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
.