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