xf86config.sample

来自「Linux driver for PenMount USB touch pane」· SAMPLE 代码 · 共 91 行

SAMPLE
91
字号
# XFree86 4.0 configuration generated by Xconfigurator

Section "ServerLayout"
	Identifier "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Penmount" "AlwaysCore"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

# By default, Red Hat Linux 6.0 and later use xfs

Section "Files"
	FontPath "unix/:7100"
EndSection

# This loads all the modules...

Section "Module"
	Load  "GLcore"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "pex5"
	Load  "record"
	Load  "xie"
	Load  "v4l"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option      "XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Device" "/dev/mouse"
	Option      "Protocol" "Microsoft"
	Option      "Emulate3Buttons" "on"
	Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
	Identifier  "PenMount"
	Driver      "penmount"
	Option      "Protocol"	   "Auto"
	Option      "Device"	   "/dev/input/event0"
	Option      "PMode"        "1"
	Option	    "MinX"	   "10"
	Option	    "MaxX"	   "1000"
	Option	    "MinY"	   "10"
	Option	    "MaxY"	   "1000"
	Option      "Beep"         "1"		#  0 = no beep, 1 = beep enabled
        Option      "PressVol"     "100" 	#  volume of beep (press event)
        Option      "PressPitch"   "880" 	#  pitch of beep (press event)
        Option      "PressDur"     "15" 	#  length of beep in 10ms (press event)
        Option      "ReleaseVol"   "0"		#  volume of beep (release event)
        Option      "ReleasePitch" "1200"	#  pitch of beep (release event) 
        Option      "ReleaseDur"   "10"		#  length of beep in 10ms (release event)
EndSection

Section "Monitor"
	Identifier "ADI MicroScan 2E"
	VendorName "Unknown"
	ModelName  "Unknown"
	HorizSync 30.0-38.0
	VertRefresh 50.0-100.0
EndSection

Section "Device"
	Identifier "My Video Card"
	Driver "sis"
	BoardName "Unknown"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device "My Video Card"
	Monitor "ADI MicroScan 2E"
	DefaultDepth 24

	Subsection "Display"
		Depth 24
		Modes "800x600"
	EndSubSection
	
EndSection

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?