xserver-xorg-conf: improved buglabs's bug device's xorg.conf
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Thu, 17 Dec 2009 22:46:04 +0000 (23:46 +0100)
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Thu, 17 Dec 2009 23:30:07 +0000 (00:30 +0100)
*each screen has now its respective tslib input device
*added usb keyboard support

recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf

index 8b6cd94..cf684ec 100644 (file)
@@ -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"