Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: src/rootfs_static_data/common/etc/X11/xorg.conf

Issue 424011: build: Update fontconfig to fall back on Droid. (Closed)
Patch Set: update usernames Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/rootfs_static_data/README ('k') | src/rootfs_static_data/common/etc/fonts/local.conf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/rootfs_static_data/common/etc/X11/xorg.conf
diff --git a/src/rootfs_static_data/common/etc/X11/xorg.conf b/src/rootfs_static_data/common/etc/X11/xorg.conf
new file mode 100644
index 0000000000000000000000000000000000000000..7accc8dccaea0e0b6fc02cf97a35a3a683842b6d
--- /dev/null
+++ b/src/rootfs_static_data/common/etc/X11/xorg.conf
@@ -0,0 +1,61 @@
+# Copyright (c) 2009 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.
+
+# Setting up things manually here lets us avoid HAL overhead.
+# TODO: Per-device xorg.conf rather than this one generic version.
+Section "ServerFlags"
+ Option "AutoAddDevices" "false"
+ Option "DontZap" "false"
+EndSection
+
+Section "InputDevice"
+ Identifier "Keyboard1"
+ Driver "kbd"
+ Option "AutoRepeat" "250 30"
+ Option "XkbRules" "xorg"
+ Option "XkbModel" "pc104"
+ Option "CoreKeyboard"
+EndSection
+
+Section "InputDevice"
+ Identifier "Mouse1"
+ Driver "synaptics"
+ Option "SendCoreEvents" "true"
+ Option "Protocol" "auto-dev"
+ Option "SHMConfig" "on"
+ Option "CorePointer"
+ Option "MinSpeed" "0.2"
+ Option "MaxSpeed" "0.5"
+ Option "AccelFactor" "0.002"
+ Option "HorizScrollDelta" "100"
+ Option "VertScrollDelta" "100"
+ Option "HorizEdgeScroll" "0"
+ Option "VertEdgeScroll" "1"
+ Option "TapButton1" "1"
+ Option "TapButton2" "2"
+ Option "MaxTapTime" "180"
+ Option "FingerLow" "24"
+ Option "FingerHigh" "50"
+EndSection
+
+# Everything after this point was added to include support for USB as a
+# secondary mouse device.
+Section "InputDevice"
+ Identifier "USBMouse"
+ Driver "mouse"
+ Option "Device" "/dev/input/mice" # multiplexed HID mouse input device
+ Option "Protocol" "IMPS/2"
+ Option "ZAxisMapping" "4 5" # support a wheel as buttons 4 and 5
+ Option "Emulate3Buttons" "true" # just in case it is a 2 button
+EndSection
+
+# Defines a non-default server layout which pulls in the USB Mouse as a
+# secondary input device.
+Section "ServerLayout"
+ Identifier "DefaultLayout"
+ # Screen "DefaultScreen"
+ InputDevice "Mouse1" "CorePointer"
+ InputDevice "USBMouse" "AlwaysCore"
+ InputDevice "Keyboard1" "CoreKeyboard"
+EndSection
« no previous file with comments | « src/rootfs_static_data/README ('k') | src/rootfs_static_data/common/etc/fonts/local.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698