OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # Setting up things manually here lets us avoid HAL overhead. |
| 6 # TODO: Per-device xorg.conf rather than this one generic version. |
| 7 Section "ServerFlags" |
| 8 Option "AutoAddDevices" "false" |
| 9 Option "DontZap" "false" |
| 10 EndSection |
| 11 |
| 12 Section "InputDevice" |
| 13 Identifier "Keyboard1" |
| 14 Driver "kbd" |
| 15 Option "AutoRepeat" "250 30" |
| 16 Option "XkbRules" "xorg" |
| 17 Option "XkbModel" "pc104" |
| 18 Option "CoreKeyboard" |
| 19 EndSection |
| 20 |
| 21 Section "InputDevice" |
| 22 Identifier "Mouse1" |
| 23 Driver "synaptics" |
| 24 Option "SendCoreEvents" "true" |
| 25 Option "Protocol" "auto-dev" |
| 26 Option "SHMConfig" "on" |
| 27 Option "CorePointer" |
| 28 Option "MinSpeed" "0.2" |
| 29 Option "MaxSpeed" "0.5" |
| 30 Option "AccelFactor" "0.002" |
| 31 Option "HorizScrollDelta" "100" |
| 32 Option "VertScrollDelta" "100" |
| 33 Option "HorizEdgeScroll" "0" |
| 34 Option "VertEdgeScroll" "1" |
| 35 Option "TapButton1" "1" |
| 36 Option "TapButton2" "2" |
| 37 Option "MaxTapTime" "180" |
| 38 Option "FingerLow" "24" |
| 39 Option "FingerHigh" "50" |
| 40 EndSection |
| 41 |
| 42 # Everything after this point was added to include support for USB as a |
| 43 # secondary mouse device. |
| 44 Section "InputDevice" |
| 45 Identifier "USBMouse" |
| 46 Driver "mouse" |
| 47 Option "Device" "/dev/input/mice" # multiplexed HID mouse input device |
| 48 Option "Protocol" "IMPS/2" |
| 49 Option "ZAxisMapping" "4 5" # support a wheel as buttons 4 and 5 |
| 50 Option "Emulate3Buttons" "true" # just in case it is a 2 button |
| 51 EndSection |
| 52 |
| 53 # Defines a non-default server layout which pulls in the USB Mouse as a |
| 54 # secondary input device. |
| 55 Section "ServerLayout" |
| 56 Identifier "DefaultLayout" |
| 57 # Screen "DefaultScreen" |
| 58 InputDevice "Mouse1" "CorePointer" |
| 59 InputDevice "USBMouse" "AlwaysCore" |
| 60 InputDevice "Keyboard1" "CoreKeyboard" |
| 61 EndSection |
OLD | NEW |