| commit | 6abab868639f35ffb2399c32a80e7f7e8bb88621 | [log] [tgz] |
|---|---|---|
| author | Harry Cutts <[email protected]> | Thu Sep 30 12:54:54 2021 |
| committer | Commit Bot <[email protected]> | Mon Oct 04 23:29:14 2021 |
| tree | 6b68efa2d8200a54d7bc083d9100de106e8c22b9 | |
| parent | b59a4ef10d20d4d99bee902cecc390f7770dc863 [diff] |
20-mouse.conf: add CPIs for Logitech M650 and M750
Logitech is modifying the HID descriptors of these mice to include their
CPIs over Bluetooth, but since we don't have the infrastructure to read
that yet we need overrides for them for now.
The BOLT receiver cannot reflect anything specific about the device(s)
connected to it, not even a product ID, except over a vendor-specific
protocol, so we have to set one CPI for all mice connected that way.
Thankfully they all appear to have the same (default) CPI so far.
BUG=b:198637081
TEST=copy 20-mouse.conf to a test device and check it doesn't cause
any obvious errors (I don't have the mice to test)
Change-Id: I2f83274f22d996b37d89191bcbcc6f203a97534b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/xorg-conf/+/3196570
Tested-by: Harry Cutts <[email protected]>
Auto-Submit: Harry Cutts <[email protected]>
Reviewed-by: Sean O'Brien <[email protected]>
Commit-Queue: Harry Cutts <[email protected]>
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.