Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # Setting up things manually here lets us avoid HAL overhead. | 5 # Setting up things manually here lets us avoid HAL overhead. |
| 6 # TODO: Per-device xorg.conf rather than this one generic version. | 6 # TODO: Per-device xorg.conf rather than this one generic version. |
| 7 Section "ServerFlags" | 7 Section "ServerFlags" |
| 8 Option "AutoAddDevices" "false" | 8 Option "AutoAddDevices" "false" |
| 9 Option "DontZap" "false" | 9 Option "DontZap" "false" |
| 10 EndSection | 10 EndSection |
| 11 | 11 |
| 12 Section "InputDevice" | 12 Section "InputDevice" |
| 13 Identifier "Keyboard1" | 13 Identifier "Keyboard1" |
| 14 Driver "kbd" | 14 Driver "kbd" |
| 15 Option "AutoRepeat" "250 30" | 15 Option "AutoRepeat" "250 30" |
| 16 Option "XkbRules" "xorg" | 16 Option "XkbRules" "xorg" |
| 17 Option "XkbModel" "pc105" # supports volume keys; pc104 doesn't | 17 Option "XkbModel" "pc105" # supports volume keys; pc104 doesn't |
| 18 Option "CoreKeyboard" | 18 Option "CoreKeyboard" |
| 19 EndSection | 19 EndSection |
| 20 | 20 |
| 21 Section "InputDevice" | 21 Section "InputDevice" |
| 22 Identifier "Mouse1" | 22 Identifier "Mouse1" |
| 23 Driver "synaptics" | 23 Driver "synaptics" |
| 24 Option "SendCoreEvents" "true" | 24 Option "SendCoreEvents" "true" |
| 25 Option "Protocol" "auto-dev" | 25 Option "Protocol" "auto-dev" |
| 26 Option "SHMConfig" "on" | 26 Option "SHMConfig" "on" |
| 27 Option "CorePointer" | 27 Option "CorePointer" |
| 28 Option "MinSpeed" "0.4" | 28 |
| 29 Option "MaxSpeed" "1.0" | 29 Option "FingerLow" "40" |
| 30 Option "AccelFactor" "0.0035" | 30 Option "FingerHigh" "43" |
| 31 Option "MaxTapTime" "150" | |
| 32 Option "MaxTapMove" "50" | |
| 33 Option "MaxDoubleTapTime" "150" | |
| 34 Option "SingleTapTimeout" "150" | |
| 35 Option "EmulateTwoFingerMinZ" "50" | |
|
tv
2011/02/22 22:52:35
If this behavior is desired, this value seems a li
| |
| 36 Option "VertScrollDelta" "7" | |
| 31 Option "HorizScrollDelta" "6" | 37 Option "HorizScrollDelta" "6" |
| 32 Option "VertScrollDelta" "18" | |
| 33 Option "HorizEdgeScroll" "0" | 38 Option "HorizEdgeScroll" "0" |
| 34 Option "VertEdgeScroll" "0" | 39 Option "VertEdgeScroll" "0" |
| 40 Option "VertTwoFingerScroll" "1" | |
| 41 Option "HorizTwoFingerScroll" "0" | |
| 42 Option "MinSpeed" "0.4" | |
| 43 Option "MaxSpeed" "1.9" | |
|
tv
2011/02/27 00:39:36
This is definitely much more usable than the defau
| |
| 44 Option "AccelFactor" "0.045" | |
| 45 Option "EdgeMotionMaxSpeed" "1" | |
| 35 Option "TapButton1" "1" | 46 Option "TapButton1" "1" |
| 36 Option "TapButton2" "3" | 47 Option "TapButton2" "3" |
| 37 Option "TapButton3" "2" | 48 Option "TapButton3" "2" |
| 38 Option "MaxTapTime" "180" | 49 Option "PalmDetect" "1" |
| 39 Option "FingerLow" "40" | 50 Option "PalmMinWidth" "5" |
|
tv
2011/02/22 22:52:35
The palm detection seems to work OK from a few hou
| |
| 40 Option "FingerHigh" "43" | 51 Option "PalmMinZ" "120" |
| 41 Option "EmulateTwoFingerMinZ" "32" | 52 Option "CoastingSpeed" "255" |
| 42 Option "VertTwoFingerScroll" "1" | 53 Option "CoastingFriction" "50" |
| 43 # Horizontal scrolling is disabled for now as it interferes w/ vertical. | 54 Option "AreaLeftEdge" "1375" |
| 44 Option "HorizTwoFingerScroll" "0" | 55 Option "AreaRightEdge" "5550" |
| 45 # The resolutions were balanced for the Dell Latitudes | 56 Option "AreaTopEdge" "1250" |
| 46 Option "HorizResolution" "75" | 57 Option "AreaBottomEdge" "4600" |
| 47 Option "VertResolution" "108" | |
| 48 EndSection | 58 EndSection |
| 49 | 59 |
| 50 # Include support for USB as a secondary mouse device. | 60 # Include support for USB as a secondary mouse device. |
| 51 Section "InputDevice" | 61 Section "InputDevice" |
| 52 Identifier "USBMouse" | 62 Identifier "USBMouse" |
| 53 Driver "mouse" | 63 Driver "mouse" |
| 54 Option "Device" "/dev/input/mice" # multiplexed HID mouse input device | 64 Option "Device" "/dev/input/mice" # multiplexed HID mouse input device |
| 55 Option "Protocol" "IMPS/2" | 65 Option "Protocol" "IMPS/2" |
| 56 Option "ZAxisMapping" "8 9" # support a wheel as buttons 8 and 9 | 66 Option "ZAxisMapping" "8 9" # support a wheel as buttons 8 and 9 |
| 57 Option "Emulate3Buttons" "true" # just in case it is a 2 button | 67 Option "Emulate3Buttons" "true" # just in case it is a 2 button |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 72 Device "DefaultDevice" | 82 Device "DefaultDevice" |
| 73 EndSection | 83 EndSection |
| 74 | 84 |
| 75 Section "ServerLayout" | 85 Section "ServerLayout" |
| 76 Identifier "DefaultLayout" | 86 Identifier "DefaultLayout" |
| 77 Screen "DefaultScreen" | 87 Screen "DefaultScreen" |
| 78 InputDevice "Mouse1" "CorePointer" | 88 InputDevice "Mouse1" "CorePointer" |
| 79 InputDevice "USBMouse" "AlwaysCore" | 89 InputDevice "USBMouse" "AlwaysCore" |
| 80 InputDevice "Keyboard1" "CoreKeyboard" | 90 InputDevice "Keyboard1" "CoreKeyboard" |
| 81 EndSection | 91 EndSection |
| OLD | NEW |