From d4c00c4ffd291e70dd6d44372a84ec42e6e6ec1e Mon Sep 17 00:00:00 2001 From: Denis 'Gnutoo' Carikli Date: Thu, 17 Dec 2009 23:46:04 +0100 Subject: xserver-xorg-conf: improved buglabs's bug device's xorg.conf *each screen has now its respective tslib input device *added usb keyboard support --- recipes/xorg-xserver/xserver-xorg-conf/bug/xorg.conf | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'recipes/xorg-xserver') 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" -- cgit v1.2.3