Strona 1 z 1

Panel dotykowy + TouchKit i odwrotne działanie kursora góra-dół

: 07 lut 2011, 03:12
autor: nisiek
Po zainstalowaniu TouchKit'a działa mi wreszcie panel dotykowy, ale odwrotnie odczytuje pion, tzn. dotyk góry ekranu interpretuje jako dotyk dołu i na odwrót.
Czy ktoś mógłby coś podpowiedzieć, jak to można poprawić?

xorg.conf wygląda tak:

Kod: Zaznacz cały

Section "ServerLayout"
        InputDevice "TouchKIt" "SendCoreEvents"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "kt"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "glx"
	Load  "dri"
	Load  "dri2"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

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

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 945GME Express Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
#	SubSection "Display"
#		Viewport   0 0
#		Depth     1
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     4
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     8
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     15
#	EndSubSection
#	SubSection "Display"
#		Viewport   0 0
#		Depth     16
#	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

### TouchUSB Configuration Begin ###
Section "InputDevice"
    Identifier  "kt"
    Driver 	       "evtouch"
    Option 	       "Device" "/dev/input/ktusb"
    Option 	       "DeviceName"	"KTUSB"

    Option "MinX" "3805"
    Option "MaxX" "2470"
    Option "MinY" "1165"
    Option "MaxY" "470"

    Option             "MoveLimit"      "10"
    Option 	       "ReportingMode"	"Raw"
    Option	       "Emulate3Buttons"
    Option	       "Emulate3Timeout" "50"
    Option 	       "SendCoreEvents" "On"
EndSection 
### TouchUSB Configuration End ###

### Touch Configuration Beginning ###
Section "InputDevice"
        Identifier "TouchKIt"
        Driver "egalax"
        Option "Device" "usbauto"
        Option "Parameters" "/var/lib/TouchKit.param"
        Option "ScreenNo" "0"
        Option "SkipClick" "1"
EndSection
### Touch Configuration End ###