summaryrefslogtreecommitdiff
path: root/recipes/xorg-xserver/xserver-xorg-conf/htcleo/xorg.conf
blob: 4153a2628151126d4142a1e0350787ceef1e3c52 (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
70
71
72
73
Section "Monitor"
	Identifier "Monitor0"
	Mode "480x800"
        	DotClock 0		
		HTimings 480 480 480 480
		VTimings 800 800 800 800
		Flags    "-HSync" "-VSync"
	EndMode
EndSection    



Section "Device"                                  
        Identifier      "fbdev"
        Driver  "fbdev"
	Option "ShadowFB" "on" 
	#Option "Rotate" "CW" 
EndSection                                                


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

Section "Screen"
        Identifier "480x800x16"
        Device  "fbdev"
        Monitor "Monitor"
        DefaultFbBpp 16
        SubSection "Display"
                Depth 16
                Modes "480x800"
        EndSubSection
EndSection


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

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection


Section "InputDevice"
    Identifier     "Touchscreen"
    Driver         "tslib"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/event0"
    Option         "CorePointer"    "true"
EndSection

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