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

Unified Diff: chromeos-base/xorg-conf/files/xorg.conf-multitouch-0.0.4

Issue 6657039: fix build Base URL: ssh://git@gitrw.chromium.org:9222/chromiumos-overlay.git@master
Patch Set: Created 9 years, 9 months 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 | « no previous file | chromeos-base/xorg-conf/xorg-conf-0.0.1.ebuild » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos-base/xorg-conf/files/xorg.conf-multitouch-0.0.4
diff --git a/chromeos-base/xorg-conf/files/xorg.conf-multitouch-0.0.4 b/chromeos-base/xorg-conf/files/xorg.conf-multitouch-0.0.4
new file mode 100644
index 0000000000000000000000000000000000000000..a99d029a15bf33b7a24727d22306d59f26617a8b
--- /dev/null
+++ b/chromeos-base/xorg-conf/files/xorg.conf-multitouch-0.0.4
@@ -0,0 +1,60 @@
+# Copyright (c) 2010 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" "pc105" # supports volume keys; pc104 doesn't
+ Option "CoreKeyboard"
+EndSection
+
+# Input device using the Synaptics driver.
+Section "InputDevice"
+ Identifier "Mouse1"
+ Driver "multitouch"
+ Option "Device" "/tmp/syntp_mt0"
+ Option "SendCoreEvents" "true"
+EndSection
+
+# 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" "8 9" # support a wheel as buttons 8 and 9
+ Option "Emulate3Buttons" "true" # just in case it is a 2 button
+EndSection
+
+Section "Monitor"
+ Identifier "DefaultMonitor"
+EndSection
+
+Section "Device"
+ Identifier "DefaultDevice"
+ Option "monitor-LVDS1" "DefaultMonitor"
+EndSection
+
+Section "Screen"
+ Identifier "DefaultScreen"
+ Monitor "DefaultMonitor"
+ Device "DefaultDevice"
+EndSection
+
+Section "ServerLayout"
+ Identifier "DefaultLayout"
+ Screen "DefaultScreen"
+ InputDevice "Mouse1"
+ InputDevice "USBMouse" "AlwaysCore"
+ InputDevice "Keyboard1" "CoreKeyboard"
+EndSection
« no previous file with comments | « no previous file | chromeos-base/xorg-conf/xorg-conf-0.0.1.ebuild » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698