OLD | NEW |
(Empty) | |
| 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 |
| 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" "pc105" # supports volume keys; pc104 doesn't |
| 18 Option "CoreKeyboard" |
| 19 EndSection |
| 20 |
| 21 # Input device using the Synaptics driver. |
| 22 Section "InputDevice" |
| 23 Identifier "Mouse1" |
| 24 Driver "multitouch" |
| 25 Option "Device" "/tmp/syntp_mt0" |
| 26 Option "SendCoreEvents" "true" |
| 27 EndSection |
| 28 |
| 29 # Include support for USB as a secondary mouse device. |
| 30 Section "InputDevice" |
| 31 Identifier "USBMouse" |
| 32 Driver "mouse" |
| 33 Option "Device" "/dev/input/mice" # multiplexed HID mouse input device |
| 34 Option "Protocol" "IMPS/2" |
| 35 Option "ZAxisMapping" "8 9" # support a wheel as buttons 8 and 9 |
| 36 Option "Emulate3Buttons" "true" # just in case it is a 2 button |
| 37 EndSection |
| 38 |
| 39 Section "Monitor" |
| 40 Identifier "DefaultMonitor" |
| 41 EndSection |
| 42 |
| 43 Section "Device" |
| 44 Identifier "DefaultDevice" |
| 45 Option "monitor-LVDS1" "DefaultMonitor" |
| 46 EndSection |
| 47 |
| 48 Section "Screen" |
| 49 Identifier "DefaultScreen" |
| 50 Monitor "DefaultMonitor" |
| 51 Device "DefaultDevice" |
| 52 EndSection |
| 53 |
| 54 Section "ServerLayout" |
| 55 Identifier "DefaultLayout" |
| 56 Screen "DefaultScreen" |
| 57 InputDevice "Mouse1" |
| 58 InputDevice "USBMouse" "AlwaysCore" |
| 59 InputDevice "Keyboard1" "CoreKeyboard" |
| 60 EndSection |
OLD | NEW |