aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-xserver/xserver-xorg-conf/nexusone/xorg.conf
blob: 79d0e364e3e2d85af6331adda7ea974a27501cc7 (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
Section "Module"
        Load    "extmod"
        Load    "dbe"
        Load    "glx"
        Load    "freetype"
        Load    "type1"
        Load    "record"
        Load    "dri"
EndSection

Section "Monitor"
        Identifier      "Default Monitor"
EndSection

Section "Device"
        Identifier      "Default fbdev Device"
        Driver          "fbdev"
#        Option          "Rotate"       "CW" # uncomment that line for enabling rotation
EndSection

Section "InputDevice"
        Identifier      "Touchscreen"
        Driver          "evdev"
        Option          "Device"        "/dev/input/event3"
#        Option          "InvertY"       "1" # uncomment that line for enabling rotation
#        Option          "SwapAxes"      "1" # uncomment that line for enabling rotation
EndSection

Section "InputDevice"
        Identifier      "Keypad"
        Driver          "evdev"
        Option          "Device"        "/dev/input/event5"
EndSection

Section "InputDevice"
        Identifier      "Trackball"
        Driver          "evdev"
        Option          "Device"        "/dev/input/event6"
#        Option          "InvertY"        "1"    # uncomment that line for enabling rotation
#        Option          "SwapAxes"       "1"    # uncomment that line for enabling rotation

EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Default fbdev Device"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Touchscreen"
        InputDevice     "Keypad"
        InputDevice     "Trackball"
EndSection