1
# xorg.conf (X.Org X Window System server configuration file)
2
#
3
# This file was generated by dexconf, the Debian X Configuration tool, using
4
# values from the debconf database.
5
#
6
# Edit this file with caution, and see the xorg.conf manual page.
7
# (Type "man xorg.conf" at the shell prompt.)
8
#
9
# This file is automatically updated on xserver-xorg package upgrades *only*
10
# if it has not been modified since the last upgrade of the xserver-xorg
11
# package.
12
#
13
# If you have edited this file but would like it to be automatically updated
14
# again, run the following command:
15
#   sudo dpkg-reconfigure -phigh xserver-xorg
16
17
Section "InputDevice"
18
	Driver 		"tslib"
19
	Identifier 	"touchscreen-tslib"
20
	Option "Device" "/dev/input/event0"
21
22
	Option "Width" 	"800"
23
	Option "Height" "480"
24
	Option "Rotate" "NONE"
25
	option "EmulateRightButton"	"1"
26
endsection
27
28
Section "InputDevice"
29
	Driver 		"evtouch"
30
	Identifier 	"touchscreen-evtouch"
31
32
	Option "Device" "/dev/input/event0"
33
	#Option "DeviceName" "evtouch touchscreen"
34
35
	Option "ReportingMode" 	"Raw"
36
	Option "SendCoreEvents" "On"
37
38
	#Option "Calibrate" "1"
39
        Option "MinX" "2481"
40
        Option "MinY" "5253"
41
        Option "MaxX" "14775"
42
        Option "MaxY" "12559"
43
44
	#Option "Emulate3Timeout" 	"50"
45
	#Option "Emulate3Buttons"	"true"
46
#	Option "LongTouchTimer" 	"200"
47
#	Option "TapTimer" 		"400"
48
#	Option "MoveLimit" 		"30"
49
50
#	Option "Rotate" "ccw" 	# "cw"
51
#	Option "SwapX" 	"false"
52
	Option "SwapY" 	"true"
53
54
#	Option "maybetapped_action" 	"click"
55
#	Option "maybetapped_button" 	"2"
56
#	Option "longtouch_action" 	"down"
57
#	Option "longtouch_button" 	"3"
58
EndSection
59
60
Section "InputDevice"
61
	Identifier 	"dummy"
62
	Driver 		"void"
63
	Option "Device" "/dev/input/mice"
64
EndSection
65
66
Section "InputDevice"
67
	Driver 		"evdev"
68
	Identifier 	"keyboard-evdev"
69
	Option "Device" "/dev/input/event1"
70
	Option "GrabDevice" "true"
71
endsection
72
73
Section "InputDevice"
74
	Driver 		"evdev"
75
	Identifier 	"keypwr-evdev"
76
	Option "Device" "/dev/input/event2"
77
	Option "GrabDevice" "true"
78
endsection
79
80
Section "InputDevice"
81
	Identifier	"Generic Keyboard"
82
	Driver		"kbd"
83
	Option		"XkbRules"	"xorg"
84
	Option		"XkbModel"	"pc105"
85
	Option		"XkbLayout"	"us"
86
EndSection
87
88
Section "InputDevice"
89
	Identifier	"Configured Mouse"
90
	Driver		"mouse"
91
	#Option		"CorePointer"
92
EndSection
93
94
Section "Device"
95
	Identifier	"Samsung s3c64xx Display Controller"
96
	Option "Device"         "/dev/fb0"
97
	Option "2dDevice"       "/dev/s3c-g2d"
98
	Option "XvDevice"       "/dev/s3c-pp"
99
100
	# Option "Rotate"	"90"
101
	# Option "Rotate"	"180"
102
	# Option "Rotate"	"270"
103
	# Option "NoAccel"	"TRUE"
104
	# Option "NoVideo"	"TRUE"
105
	# Option "SwCursor"	"TRUE"
106
107
	Driver		"s3c64xx"
108
	# Driver		"fbdev"
109
EndSection
110
111
Section "Monitor"
112
	Identifier	"LCD"
113
EndSection
114
115
Section "Screen"
116
	Identifier	"Main Screen"
117
	Monitor		"LCD"
118
	Device		"Samsung s3c64xx Display Controller"
119
120
 	Subsection "Display"
121
		# RANDR Virtual 800 800
122
		Virtual 800 480
123
	EndSubSection
124
EndSection
125
126
Section "ServerLayout"
127
	Identifier	"Default Layout"
128
	Screen		"Main Screen"
129
130
	#InputDevice 	"dummy"
131
	InputDevice 	"Configured Mouse"
132
	InputDevice 	"touchscreen-tslib" "CorePointer"
133
	#InputDevice 	"touchscreen-evtouch" "CorePointer"
134
135
	InputDevice 	"keyboard-evdev"
136
	InputDevice 	"keypwr-evdev"
137
EndSection