blob: fa421526ffd6505b72279e0f9468de2a75d4f851 [file] [log] [blame]
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
Section "InputClass"
Identifier "generic mouse for Chromium OS"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "cmt"
Option "Mouse Accel Curves" "1"
Option "Mouse Scroll Curves" "1"
# CMT devices potentially process keyboard events
Option "XkbModel" "pc"
Option "XkbLayout" "us"
Option "Accel Min dt" "0.0001"
EndSection
Section "InputClass"
Identifier "Evdev for 3M Touchscreen"
MatchUSBID "0596:0001"
MatchDevicePath "/dev/input/event*"
MatchProduct "3M USB Touchscreen - EX II"
Driver "evdev"
Option "Calibration" "2384 14000 2945 13817"
Option "InvertX" "1"
EndSection
# Prevent ABS_MISC messages from going to Chrome. These contain battery
# status, but currently look like mouse movement to Chrome.
# There are two remotes, so we block ABS_MISC from both.
Section "InputClass"
Identifier "Evdev for GVC Remote 0471:21cc"
MatchUSBID "0471:21cc"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "IgnoreAbsoluteAxes" "true"
EndSection
Section "InputClass"
Identifier "Evdev for GVC Remote 0471:20d9"
MatchUSBID "0471:20d9"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "IgnoreAbsoluteAxes" "true"
EndSection
Section "InputClass"
Identifier "Odie Gamepad should be ignored"
MatchUSBID "18d1:2c40"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "true"
EndSection
Section "InputClass"
Identifier "Thinkpad Compact USB Keyboard"
MatchUSBID "17ef:6047"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "400"
Option "Device Touchpad" "0"
EndSection
Section "InputClass"
Identifier "Thinkpad Compact USB Keyboard - Bluetooth"
MatchUSBID "17ef:6048"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "400"
Option "Device Touchpad" "0"
EndSection
# The following sections are mouse CPI settings for various mice that has a CPI
# value significantly different from our default (1000).
#
# WARNING: Sections that match a more general class of devices should be placed
# in front of narrower ones, especially if they may both match a specific
# device. This is because conf files are parsed and matched from top to bottom.
# Property values in sections that appear later will override ones that appear
# earlier.
Section "InputClass"
Identifier "PS/2 IBM Trackpoint"
MatchUSBID "0002:000a"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "400"
EndSection
Section "InputClass"
Identifier "HP HyperX Pulsefire Surge RGB"
MatchUSBID "03f0:0490"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "HP HyperX Pulsefire Core RGB"
MatchUSBID "03f0:0d8f"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "HP HyperX Pulsefire Haste"
MatchUSBID "03f0:0f8f"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "HyperX Pulsefire Haste 2"
MatchUSBID "03f0:0b97"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "Microsoft Corp. Trackball Explorer*"
MatchUSBID "045e:0024"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "Microsoft Corp. Wheel Mouse Optical"
MatchUSBID "045e:0040"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "416"
EndSection
Section "InputClass"
Identifier "Standard Dell"
MatchUSBID "0461:4d22"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "474"
EndSection
Section "InputClass"
Identifier "Old Logitech Mice (copying 0xc00f setting)"
MatchUSBID "046d:c00*"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "385"
EndSection
Section "InputClass"
Identifier "Logitech Trackballs*"
MatchUSBID "046d:c40*"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "600"
EndSection
Section "InputClass"
Identifier "M570 trackball[u]"
MatchUSBID "046d:1028"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1200"
EndSection
Section "InputClass"
Identifier "K400 touchpad[u]"
MatchUSBID "046d:400e"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "K400r touchpad[u]"
MatchUSBID "046d:4024"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "Logitech M650"
MatchUSBID "046d:b02a"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1000"
EndSection
Section "InputClass"
Identifier "Logitech M550"
MatchUSBID "046d:b02b"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1000"
EndSection
Section "InputClass"
Identifier "Logitech M750"
MatchUSBID "046d:b02c"
MatchDevicePath "/dev/input/event*"
# The M750 has a switch that toggles between 1000 and 1600 CPI. 1000 is the
# default, so we use it here.
Option "Mouse CPI" "1000"
EndSection
Section "InputClass"
Identifier "Logitech LIFT"
MatchUSBID "046d:b031"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1000"
EndSection
Section "InputClass"
Identifier "Logitech LIFT B2B"
MatchUSBID "046d:b033"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1000"
EndSection
Section "InputClass"
Identifier "Logitech M650 For Business"
MatchUSBID "046d:b032"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1000"
EndSection
Section "InputClass"
Identifier "Logitech BOLT Receiver"
MatchUSBID "046d:b36f"
MatchDevicePath "/dev/input/event*"
# Due to technical limitations of the BOLT receiver, it doesn't expose the
# product ID(s) of mice connected to it except through a vendor-specific
# protocol, so we can only set one CPI value for all mice connected this
# way. Thankfully they all seem to be 1000 CPI at the time of writing, at
# least by default.
Option "Mouse CPI" "1000"
EndSection
Section "InputClass"
Identifier "Logitech MouseMan Traveler/Mobile"
MatchUSBID "046d:c00f"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "385"
EndSection
Section "InputClass"
Identifier "HP branded - Logitech Optical USB Mouse"
MatchUSBID "046d:c014"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "425"
EndSection
Section "InputClass"
Identifier "HP branded - Logitech, Inc. Optical Wheel Mouse"
MatchUSBID "046d:c016"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "377"
EndSection
Section "InputClass"
Identifier "Logitech, Inc. Optical Wheel Mouse - model M-UAE96"
MatchUSBID "046d:c018"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "530"
EndSection
Section "InputClass"
Identifier "Logitech M-BT96a Pilot Optical Mouse"
MatchUSBID "046d:c03d"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "434"
EndSection
Section "InputClass"
Identifier "Logitech Premium Optical Wheel Mouse (M-BT58)"
MatchUSBID "046d:c03e"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "464"
EndSection
Section "InputClass"
Identifier "Cordless Trackball"
MatchUSBID "046d:c508"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "600"
EndSection
Section "InputClass"
Identifier "Kensington Turbo Mouse Pro (trackball)*"
MatchUSBID "047d:1002"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "600"
EndSection
Section "InputClass"
Identifier "Kensington Orbit TrackBall (trackball)*"
MatchUSBID "047d:1003"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "600"
EndSection
Section "InputClass"
Identifier "Kensington TurboBall (trackball)*"
MatchUSBID "047d:1005"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "600"
EndSection
Section "InputClass"
Identifier "Kensington TurboRing (trackball)*"
MatchUSBID "047d:1006"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "600"
EndSection
Section "InputClass"
Identifier "Kensington Orbit TrackBall for Mac (trackball)*"
MatchUSBID "047d:1009"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "600"
EndSection
Section "InputClass"
Identifier "Kensington Expert Mouse (trackball)*"
MatchUSBID "047d:1020"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "600"
EndSection
Section "InputClass"
Identifier "Kensington SlimBlade Trackball (trackball)*"
MatchUSBID "047d:2041"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "600"
EndSection
Section "InputClass"
Identifier "FAVI Wireless Keyboard (TouchPad)*"
MatchUSBID "04d9:2519"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "Elecom EX-G Blue LED Wireless Mouse"
MatchUSBID "056e:00e4"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1575"
EndSection
Section "InputClass"
Identifier "Elecom EX-G Blue LED Wired Mouse (2021)"
MatchUSBID "056e:011a"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "2100"
EndSection
Section "InputClass"
Identifier "Elecom EPRIM Blue LED 5 Button Mouse 228"
MatchUSBID "056e:0141"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1700"
EndSection
Section "InputClass"
Identifier "Elecom EPRIM Blue LED 3 Button Mouse 542 (2020)"
MatchUSBID "056e:0145"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1400"
EndSection
Section "InputClass"
Identifier "Elecom M Size Mouse Black 227"
MatchUSBID "056e:0158"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1700"
EndSection
Section "InputClass"
Identifier "Elecom M Size Blue LED Mouse 203"
MatchUSBID "056e:0159"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1800"
EndSection
Section "InputClass"
Identifier "Elecom EPRIM Blue LED 3 Button Mouse 542 (2021)"
MatchUSBID "056e:0171"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1700"
EndSection
Section "InputClass"
Identifier "Apple mice (other)"
MatchUSBID "05ac:*"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "373"
EndSection
Section "InputClass"
Identifier "Apple USB Optical Mouse (Mighty Mouse)"
MatchUSBID "05ac:0304"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "400"
EndSection
Section "InputClass"
Identifier "Apple BT Optical Mouse (Mighty Mouse)"
MatchUSBID "05ac:030c"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "400"
EndSection
Section "InputClass"
Identifier "Apple magicmouse (BT)"
MatchUSBID "05ac:030d"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1780"
EndSection
Section "InputClass"
Identifier "Apple magicmouse 2"
MatchUSBID "004c:0269"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1780"
EndSection
Section "InputClass"
Identifier "USB IBM Trackpoint"
MatchUSBID "06cb:0009"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "400"
EndSection
Section "InputClass"
Identifier "Kingston HyperX Pulsefire Surge RGB"
MatchUSBID "0951:16d3"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "Kingston HyperX Pulsefire Core RGB"
MatchUSBID "0951:16de"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "Kingston HyperX Pulsefire Haste"
MatchUSBID "0951:1727"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "PixArt Optical Mouse"
MatchUSBID "093a:2510"
MatchDevicePath "/dev/input/event*"
# DPI measured on an Elecom BlueLED 3 Button Mouse (2021)
Option "Mouse CPI" "1600"
EndSection
Section "InputClass"
Identifier "FAVI Wireless Keyboard (TouchPad), Bluetooth*"
MatchUSBID "0a5c:8502"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "FAVI Entertainment Wireless Keyboard (TouchPad)*"
MatchUSBID "0c45:7000"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "SteelSeries Sensei Raw"
MatchUSBID "1038:1369"
MatchDevicePath "/dev/input/event*"
# This mouse has two CPIs, chosen with a button below the wheel. We're
# assuming the lower one is the default.
Option "Mouse CPI" "1620"
EndSection
Section "InputClass"
Identifier "SteelSeries Rival 3 Wireless"
MatchUSBID "1038:1830"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1250"
EndSection
Section "InputClass"
Identifier "Razer USA, Ltd DeathAdder RZ01-0015"
MatchUSBID "1532:0016"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1714"
EndSection
Section "InputClass"
Identifier "Razer USA, Ltd Mamba"
MatchUSBID "1532:0045"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "4280"
EndSection
Section "InputClass"
Identifier "Lenovo ThinkPad Keyboard w/ TrackPoint"
MatchUSBID "17ef:6009"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "400"
EndSection
Section "InputClass"
Identifier "Lenovo N5901 multimedia keyboard/trackball*"
MatchUSBID "17ef:6014"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "Lenovo N5902 multimedia keyboard/OFN*"
MatchUSBID "17ef:602b"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "Lenovo Compact Keyboard Trackpoint"
MatchUSBID "17ef:6047"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "400"
EndSection
Section "InputClass"
Identifier "Lenovo YOGA Mouse"
MatchUSBID "17ef:608a"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1600"
EndSection
Section "InputClass"
Identifier "Lenovo Essential USB Mouse 4Y50R20863"
MatchUSBID "17ef:608d"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1750"
EndSection
Section "InputClass"
Identifier "Riitek Rii Mote i6 (TouchPad)*"
MatchUSBID "1997:0409"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
EndSection
Section "InputClass"
Identifier "Corsair Sabre Pro RGB Champion Wired"
MatchUSBID "1b1c:1b79"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1200"
EndSection
Section "InputClass"
Identifier "Corsair Sabre Pro Champion Wired"
MatchUSBID "1b1c:1b7a"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1200"
EndSection
Section "InputClass"
Identifier "Corsair Katar Pro XT Wired"
MatchUSBID "1b1c:1bac"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "1500"
EndSection
Section "InputClass"
Identifier "Dell Computer Corp. Optical Wheel Mouse"
MatchUSBID "413c:3012"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "502"
EndSection
Section "InputClass"
Identifier "3M Ergonomic Wireless Mouse EM550GPS"
MatchUSBID "25a7:2410"
MatchDevicePath "/dev/input/event*"
# This mouse doesn't have a scroll wheel, but pretends to have one, so we
# have to force wheel emulation.
Option "Force Scroll Wheel Emulation" "true"
EndSection