xorg.conf.640x240-us revision 1.1 1 Section "ServerLayout"
2 Identifier "wsfb"
3 Screen 0 "Screen0" 0 0
4 InputDevice "TouchScreen0" "CorePointer"
5 InputDevice "Mouse0"
6 InputDevice "Keyboard0" "CoreKeyboard"
7 EndSection
8
9 Section "Files"
10 # FontPath "/usr/pkg/lib/X11/fonts/TTF/"
11 EndSection
12
13 Section "InputDevice"
14 Identifier "Keyboard0"
15 Driver "kbd"
16 Option "XkbLayout" "us"
17 # Option "XkbLayout" "jp"
18 # Option "XkbModel" "foo"
19 EndSection
20
21 Section "InputDevice"
22 Identifier "TouchScreen0"
23 Driver "ws"
24
25 Option "Device" "/dev/wsmouse0"
26
27 Option "MinX" "0"
28 Option "MaxX" "639"
29 # Option "MaxX" "799"
30
31 Option "MinY" "0"
32 Option "MaxY" "239"
33 # Option "MaxY" "479"
34
35 # Option "Rotate" "CCW"
36 EndSection
37
38 Section "InputDevice"
39 Identifier "Mouse0"
40 Driver "mouse"
41 Option "Device" "/dev/wsmouse"
42 Option "ZAxisMapping" "4 5"
43 EndSection
44
45 Section "Device"
46 Identifier "Wsdisplay0"
47 Driver "wsfb"
48
49 # Option "Rotate" "CCW"
50 EndSection
51
52 Section "Monitor"
53 Identifier "Monitor"
54 # VendorName "hpc"
55 # ModelName "lcd"
56 EndSection
57
58 Section "Screen"
59 Identifier "Screen0"
60 Device "Wsdisplay0"
61 Monitor "Monitor"
62
63 SubSection "Display"
64 Viewport 0 0
65 Depth 1
66 EndSubSection
67 SubSection "Display"
68 Viewport 0 0
69 Depth 8
70 EndSubSection
71 SubSection "Display"
72 Viewport 0 0
73 Depth 16
74 EndSubSection
75 EndSection
76