# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	Option		"RandRRotation"	"on"
	Option		"AddARGBGLXVisuals"	"True"
	Defaultdepth	24
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Boardname	"vesa"
	Busid		"PCI:0:5:0"
	Driver		"nvidia"
	Option      "AddARGBGLXVisuals" "True"
    Option      "NvAGP"       "1"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us,cz"
        Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"	"/dev/psaux"
	Option		"Protocol"	"auto-dev"
	Option		"HorizEdgeScroll"	"0"
	Option		"SHMConfig"	"true"
EndSection

# "SendCoreEvents" #
Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	Inputdevice	"Synaptics Touchpad"
	InputDevice "touchscreen" "CorePointer" 
    InputDevice "dummy"
EndSection

Section "Module"
	Load		"glx"
	Load		"GLcore"
	Load		"v4l"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Extensions"
	Option		"Composite"	"Enable"
EndSection

Section "InputDevice"
        Identifier "touchscreen"
        Driver "evtouch"
        Option "Device" "/dev/input/evtouch_event"
        Option "ReportingMode" "Raw"
        Option "Emulate3Buttons"
        Option "Emulate3Timeout" "50"
        Option "SendCoreEvents" "On"
#        Option "Calibrate" "1"
        Option "MinX"        "30"#"60"
        Option "MinY"        "100"#"142"
        Option "MaxX"        "4000"#"4001"
        Option "MaxY"        "3970"#"3969"
#   Behaviour
        Option "longtouched_action" "down"
        Option "longtouched_button" "3"
#        Option "maybetapped_action" "click"
#        Option "maybetapped_button" "1"
        Option "touched_drag" "1"
        Option "oneandahalftap_button" "0"
        Option "TapTimer" "30"
        Option "LongtouchTimer"  "500"
        Option "MoveLimit"  "3"
#        Option "Rotate"  "cw"
EndSection
Section "InputDevice"
    Identifier "dummy"
    Driver "void"
    Option "Device" "/dev/input/mice"
EndSection

#Section "InputDevice"
#	Identifier	"EETI"
#	Driver		"egalax"
#	Option		"Device"	"/dev/usb/hiddev0"
#	Option		"Parameters"	"/var/lib/egalax.cal"
#	Option		"ScreenNo"	"0"
#EndSection

