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