1# $NetBSD: xorg.conf.640x240-us,v 1.2 2011/05/20 16:35:38 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/lib/X11/fonts/TTF/"
13EndSection
14
15Section "InputDevice"
16	Identifier	"Keyboard0"
17	Driver		"kbd"
18	Option		"XkbLayout"       "us"
19#	Option		"XkbLayout"       "jp"
20#	Option		"XkbModel" 	  "foo"
21EndSection
22
23Section "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"
38EndSection
39
40Section "InputDevice"
41	Identifier	"Mouse0"
42	Driver		"mouse"
43	Option		"Device"	"/dev/wsmouse"
44	Option		"ZAxisMapping"	"4 5"
45EndSection
46
47Section "Device"
48	Identifier	"Wsdisplay0"
49	Driver		"wsfb"
50
51#	Option		"Rotate"	"CCW"
52EndSection
53
54Section "Monitor"
55	Identifier	"Monitor"
56#	VendorName	"hpc"
57#	ModelName	"lcd"
58EndSection
59
60Section "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
77EndSection
78