xenocara/etc/X11.zaurus/xorg.conf

65 lines
1.4 KiB
Xorg
Raw Normal View History

Section "ServerLayout"
Identifier "wsfb"
Screen 0 "Screen0" 0 0
InputDevice "TouchScreen0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "freetype"
Load "glx"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "Protocol" "standard"
Option "XkbRules" "xorg"
Option "XkbModel" "zaurus"
Option "XkbLayout" "us"
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"
Identifier "Wsdisplay0"
Driver "wsfb"
Option "device" "/dev/ttyC0"
# Comment out to use the screen in vertical mode
Option "rotate" "CW"
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