View Single Post
Old 11-28-2014, 03:50 PM   #101
vilsax
Greenhorn
vilsax began at the beginning.
 
vilsax's Avatar
 
Posts: 4
Karma: 10
Join Date: Aug 2014
Device: Kobo Mini
Hi paulz_fr!
It is not so hard as it would look...
I only replaced every "kobomultitouch" (or whatever was there, I don't remember) with "evdev" (the last one just for case)
I higlighted it for you here:


Code:
Section "ServerLayout"
    Identifier    "Layout0"
    Screen        "Screen0"
    InputDevice   "Buttons" "CoreKeyboard"
    InputDevice   "MultiTouch" "CorePointer"
EndSection

Section "InputDevice"
    Identifier    "Buttons"
    Driver        "evdev"
    Option        "Device" "/dev/input/event0"
    # code 102 (KEY_HOME)
    # code 116 (KEY_POWER)
EndSection

Section "InputDevice"
    Identifier "MultiTouch"
    Driver "evdev"
    #Driver "kobomultitouch"
    #Driver "mtrack"
    Option "Device" "/dev/input/event1"
    Option "AccelerationScheme" "none"
EndSection

Section "InputDevice"
    Identifier "MultiTouchEV"
    Driver "evdev"
    Option "Device" "/dev/input/event1"
#    Option "EmulateThirdButton" "True"
#    Option "Emulate3Buttons" "True"
#    Option "SwapAxes" "True"
#    Option "InvertX" "True"
EndSection

#Section "InputDevice"
#    Identifier "Touch"
#    Driver "evdev"
#    Option "Device" "/dev/input/event1"
#    Option "EmulateThirdButton" "True"
#    Option "Calibration" "0 799 0 599"
##    Option "SwapAxes" "True"
##    Option "InvertX" "True"
##    Option "Calibration" "-599 500 0 999"
##    Option "Coordinate Transformation Matrix" "0, -1, 1, 1, 0, 0, 0, 0, 1"
#EndSection

Section "Device"
    Identifier    "Card0"
    Driver        "fbdev"
    Option        "fbdev" "/dev/fb0"
#    Option        "Rotate" "CCW" # CW=90 UD=180 CCW=270
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Card0"
EndSection
I am not any programmer, so I maybe did something wrong, but it woks and that's important Let me know if that works for you too.
vilsax is offline   Reply With Quote