aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-xserver/xserver-xorg-conf
diff options
context:
space:
mode:
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2009-12-17 23:46:04 +0100
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2009-12-18 00:30:07 +0100
commitd4c00c4ffd291e70dd6d44372a84ec42e6e6ec1e (patch)
tree4e74f55b1a2382282eb5daf0b42c245ac5d960e1 /recipes/xorg-xserver/xserver-xorg-conf
parent502ca1bf891e562f98e5854cc71ec94c10e36a81 (diff)
downloadopenembedded-d4c00c4ffd291e70dd6d44372a84ec42e6e6ec1e.tar.gz
xserver-xorg-conf: improved buglabs's bug device's xorg.conf
*each screen has now its respective tslib input device *added usb keyboard support
Diffstat (limited to 'recipes/xorg-xserver/xserver-xorg-conf')
-rw-r--r--recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf16
1 files changed, 13 insertions, 3 deletions
diff --git a/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
index 8b6cd94ab6..cf684ec177 100644
--- a/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
+++ b/recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf
@@ -2,9 +2,10 @@
# Initial version of X11 configuration for BugLabs BUG device.
#
# Up to 2 LCD modules are supported (as DISPLAY=0.0/0.1).
-# Touchscreen on first screen works properly (req tslib 0.0.6 driver).
+# Touchscreen on both screen works properly (req tslib 0.0.6 driver).
#
-# By default software starts on 0.0 only.
+# Mouse is not supported yet because the evdev driver need a precise
+# dev node and evdev dev nodes are somewhat random
#
Section "Monitor"
@@ -45,19 +46,28 @@ Section "ServerLayout"
Identifier "Layout"
Screen "fbdev Screen 1"
Screen "fbdev Screen 2" Below "fbdev Screen 1"
- InputDevice "ts4" "CorePointer"
+ InputDevice "ts4"
+ InputDevice "ts5"
+ InputDevice "Keyboard"
EndSection
Section "InputDevice"
Identifier "ts5"
Driver "tslib"
Option "Device" "/dev/input/bmi_lcd_ts5"
+ Option "ScreenNumber" "1"
EndSection
Section "InputDevice"
Identifier "ts4"
Driver "tslib"
Option "Device" "/dev/input/bmi_lcd_ts4"
+ Option "ScreenNumber" "0"
+EndSection
+
+Section "InputDevice"
+ Identifier "Keyboard"
+ Driver "kbd"
EndSection
Section "ServerFlags"