1# $NetBSD: xorg.conf.ws007sh,v 1.5 2023/08/08 14:38:44 tsutsui 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 "ServerFlags"
16	# Explicitly prefer keyboard options defined in xorg.conf
17	Option		"AutoAddDevices" "false"
18EndSection
19
20Section "InputDevice"
21	Identifier	"Keyboard0"
22	Driver		"kbd"
23#	Option		"XkbModel" 	  "ws003sh"
24	Option		"XkbModel" 	  "ws007sh"
25#	Option		"XkbModel" 	  "ws011sh"
26#	Option		"XkbModel" 	  "ws020sh"
27EndSection
28
29Section "InputDevice"
30	Identifier	"TouchScreen0"
31	Driver		"ws"
32
33	Option		"Device"	"/dev/wsmouse0"
34
35	Option		"MinX"		"0"
36	Option		"MaxX"		"479"
37
38
39	Option		"MinY"		"0"
40	Option		"MaxY"		"639"
41#	Option		"MaxY"		"799"
42
43	Option		"Rotate"	"CCW"
44EndSection
45
46Section "InputDevice"
47	Identifier	"Mouse0"
48	Driver		"mouse"
49	Option		"Device"	"/dev/wsmouse"
50	Option		"ZAxisMapping"	"4 5"
51EndSection
52
53Section "Device"
54	Identifier	"Wsdisplay0"
55	Driver		"wsfb"
56
57	Option		"Rotate"	"CCW"
58EndSection
59
60Section "Monitor"
61	Identifier	"Monitor"
62	VendorName	"Sharp"
63	ModelName	"W-ZERO3"
64EndSection
65
66Section "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
83EndSection
84