blob: 19b4a1ae0bd32454db898c4b9c00ce810570afc7 [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 "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 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 "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 "USB IBM Trackpoint"
MatchUSBID "06cb:0009"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "400"
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 "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 "Riitek Rii Mote i6 (TouchPad)*"
MatchUSBID "1997:0409"
MatchDevicePath "/dev/input/event*"
Option "Mouse CPI" "800"
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