Simplify zaurus xorg.conf now that input devices are auto-configured.

This commit is contained in:
matthieu 2011-07-04 19:49:01 +00:00
parent 759486bcc4
commit 3ba9f42376

View File

@ -1,32 +1,4 @@
Section "ServerLayout" # $OpenBSD: xorg.conf,v 1.4 2011/07/04 19:49:01 matthieu Exp $
Identifier "wsfb"
Screen 0 "Screen0" 0 0
InputDevice "TouchScreen0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/OTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "zaurus"
EndSection
Section "InputDevice"
Identifier "TouchScreen0"
Driver "ws"
Option "device" "/dev/wsmouse"
Option "ZAxisMapping" "4 5"
# this can be used to use the screen in vertical mode
# Option "Rotate" "CCW"
EndSection
Section "Device" Section "Device"
Identifier "Wsdisplay0" Identifier "Wsdisplay0"
@ -35,21 +7,3 @@ Section "Device"
# Comment out to use the screen in vertical mode # Comment out to use the screen in vertical mode
Option "rotate" "CW" Option "rotate" "CW"
EndSection EndSection
Section "Monitor"
Identifier "Monitor"
VendorName "Sharp"
ModelName "Zaurus"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Wsdisplay0"
Monitor "Monitor"
DefaultDepth 16
SubSectionSub "Display"
Depth 16
EndSubSection
EndSection