aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf
blob: 99d71dc72d5d303b5b63f07f4f35c15d203fb437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Section "Monitor"
	Identifier "Monitor0"
	Mode "320x480"
        	DotClock 0		
		HTimings 320 320 320 320
		VTimings 480 480 480 480
		Flags    "-HSync" "-VSync"
	EndMode
EndSection    

Section "Device"                                  
        Identifier      "fbdev"
        Driver  "fbdev"
	Option "ShadowFB" "on" 
	Option "Rotate" "CW" # comment for disabling rotation
EndSection                                                

Section "Screen"
        Identifier "Framebuffer"
        Device  "fbdev"
        Monitor "Monitor"
        DefaultFbBpp 16
        SubSection "Display"
                Depth 16
                Modes "320x480"
        EndSubSection
EndSection


Section "ServerLayout"                                 
        Identifier      "Builtin Default Layout"                                     
        Screen  "Framebuffer"        
	InputDevice "Trackball"
	InputDevice "Touchscreen"
        InputDevice "Keyboard"
EndSection        

Section "InputDevice"
    Identifier "Trackball"
    Driver     "evdev"
    Option     "Device"            "/dev/input/event2"
    Option     "ScreenNumber"      "0"
    Option     "ReportingMode"     "Raw"
    Option     "SwapAxes"          "True" # comment for disabling rotation
    Option     "InvertY"           "True" # comment for disabling rotation
EndSection


Section "InputDevice"
	Identifier 	"Touchscreen"
	Driver     	"evdev"
	Option     	"Device"        	"/dev/input/event1"
	Option		"SwapAxes" 		"True"                  # comment for disabling rotation
	Option		"InvertY" 		"True"			# comment for disabling rotation
	Option		"ReportingMode"		"Raw"
	Option 		"Calibration" 		"63 5371 110 3473"	#comment for disabling rotation
EndSection

Section "InputDevice"
        Identifier  "Keyboard"
        Driver      "kbd"
        Option      "XkbLayout" "en_US"
EndSection


Section "ServerFlags"
	Option "AutoAddDevices" "false"
EndSection