Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | |
| 2 | Section "Files" |
| 3 | EndSection |
| 4 | |
| 5 | Section "InputDevice" |
| 6 | Identifier "Generic Keyboard" |
| 7 | Driver "evdev" |
| 8 | Option "CoreKeyboard" |
| 9 | Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd" |
| 10 | Option "XkbRules" "xorg" |
| 11 | Option "XkbModel" "evdev" |
| 12 | Option "XkbLayout" "us" |
| 13 | EndSection |
| 14 | |
| 15 | Section "InputDevice" |
| 16 | Identifier "Configured Mouse" |
| 17 | {{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips" or qemuarch == "mips64": }} |
| 18 | Driver "mouse" |
| 19 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} |
| 20 | Driver "vmmouse" |
| 21 | |
| 22 | Option "CorePointer" |
| 23 | Option "Device" "/dev/input/mice" |
| 24 | Option "Protocol" "ImPS/2" |
| 25 | Option "ZAxisMapping" "4 5" |
| 26 | Option "Emulate3Buttons" "true" |
| 27 | EndSection |
| 28 | |
| 29 | Section "InputDevice" |
| 30 | Identifier "Qemu Tablet" |
| 31 | Driver "evdev" |
| 32 | Option "CorePointer" |
| 33 | Option "Device" "/dev/input/touchscreen0" |
| 34 | Option "USB" "on" |
| 35 | EndSection |
| 36 | |
| 37 | Section "Device" |
| 38 | Identifier "Graphics Controller" |
| 39 | {{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips" or qemuarch == "mips64": }} |
| 40 | Driver "fbdev" |
| 41 | {{ if qemuarch == "i386" or qemuarch == "x86_64": }} |
| 42 | Driver "vmware" |
| 43 | |
| 44 | EndSection |
| 45 | |
| 46 | Section "Monitor" |
| 47 | Identifier "Generic Monitor" |
| 48 | Option "DPMS" |
| 49 | # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz |
| 50 | Modeline "1024x600_60.00" 49.00 1024 1072 1168 1312 600 603 613 624 -hsync +vsync |
| 51 | # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz |
| 52 | ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync |
| 53 | # 640x480 @ 72Hz (VESA) hsync: 37.9kHz |
| 54 | ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync |
| 55 | # 640x480 @ 75Hz (VESA) hsync: 37.5kHz |
| 56 | ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync |
| 57 | # 640x480 @ 85Hz (VESA) hsync: 43.3kHz |
| 58 | ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync |
| 59 | EndSection |
| 60 | |
| 61 | Section "Screen" |
| 62 | Identifier "Default Screen" |
| 63 | Device "Graphics Controller" |
| 64 | Monitor "Generic Monitor" |
| 65 | SubSection "Display" |
| 66 | Modes "640x480" |
| 67 | EndSubSection |
| 68 | EndSection |
| 69 | |
| 70 | Section "ServerLayout" |
| 71 | Identifier "Default Layout" |
| 72 | Screen "Default Screen" |
| 73 | InputDevice "Generic Keyboard" |
| 74 | # InputDevice "Configured Mouse" |
| 75 | InputDevice "QEMU Tablet" |
| 76 | Option "AllowEmptyInput" "no" |
| 77 | EndSection |