xorg.conf.800x600-us revision 1.5 1 # $NetBSD: xorg.conf.800x600-us,v 1.5 2023/08/08 14:38:44 tsutsui 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 "ServerFlags"
16 # Explicitly prefer keyboard options defined in xorg.conf
17 Option "AutoAddDevices" "false"
18 EndSection
19
20 Section "InputDevice"
21 Identifier "Keyboard0"
22 Driver "kbd"
23 Option "XkbLayout" "us"
24 # Option "XkbLayout" "jp"
25 # Option "XkbModel" "foo"
26 EndSection
27
28 Section "InputDevice"
29 Identifier "TouchScreen0"
30 Driver "ws"
31
32 Option "Device" "/dev/wsmouse0"
33
34 Option "MinX" "0"
35 # Option "MaxX" "639"
36 Option "MaxX" "799"
37
38 Option "MinY" "0"
39 # Option "MaxY" "239"
40 # Option "MaxY" "479"
41 Option "MaxY" "599"
42
43 # Option "Rotate" "CCW"
44 EndSection
45
46 Section "InputDevice"
47 Identifier "Mouse0"
48 Driver "mouse"
49 Option "Device" "/dev/wsmouse"
50 Option "ZAxisMapping" "4 5"
51 EndSection
52
53 Section "Device"
54 Identifier "Wsdisplay0"
55 Driver "wsfb"
56
57 # Option "Rotate" "CCW"
58 EndSection
59
60 Section "Monitor"
61 Identifier "Monitor"
62 # VendorName "hpc"
63 # ModelName "lcd"
64 EndSection
65
66 Section "Screen"
67 Identifier "Screen0"
68 Device "Wsdisplay0"
69 Monitor "Monitor"
70
71 SubSection "Display"
72 Viewport 0 0
73 Depth 1
74 EndSubSection
75 SubSection "Display"
76 Viewport 0 0
77 Depth 8
78 EndSubSection
79 SubSection "Display"
80 Viewport 0 0
81 Depth 16
82 EndSubSection
83 EndSection
84