Results 1 to 3 of 3

Thread: touchscreen coordination error when using with 2nd display

  1. #1

    Default touchscreen coordination error when using with 2nd display

    Having a machine with a touchscreen as primary display and a normal display as 2nd display. They have same resolution and 2nd display is extended to 1st display. The Xorg seems think the touch area controls both screens area. The hardware using xfhiddrv driver. I just want the touch area controls the pointer in touchscreen only. Try using the command, xinput set-float-prop "device name" "Coordinate Transformation Matrix"0.5 0 0 0 1 0 0 0 1 but no luck. Seems xinput in SUSE have difference from ubuntu. Anyone has solution for my case? and why the xinput's behavior is much different to other distribution?

  2. #2
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: touchscreen coordination error when using with 2nd display

    Quote Originally Posted by aryin View Post
    Having a machine with a touchscreen as primary display and a normal display as 2nd display. They have same resolution and 2nd display is extended to 1st display. The Xorg seems think the touch area controls both screens area. The hardware using xfhiddrv driver. I just want the touch area controls the pointer in touchscreen only. Try using the command, xinput set-float-prop "device name" "Coordinate Transformation Matrix"0.5 0 0 0 1 0 0 0 1 but no luck. Seems xinput in SUSE have difference from ubuntu. Anyone has solution for my case? and why the xinput's behavior is much different to other distribution?
    Check input list first
    Code:
    $xinput --list
    ⎡ Virtual core pointer                        id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
    ⎜   ↳ USB Optical Mouse                           id=8    [slave  pointer  (2)]
    ⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
        ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
        ↳ Power Button                                id=6    [slave  keyboard (3)]
        ↳ Power Button                                id=7    [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard                id=9    [slave  keyboard (3)]
    $
    Then try it again. Replace "device name" with "device id" . If your device id is 8 then
    Code:
    xinput set-float-prop 8 "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  3. #3

    Default Re: touchscreen coordination error when using with 2nd display

    Have tried this before. The property has added to my "HID TOUCH" device that I can find it using xinput list-props. however seems no effect to Xorg. SUSE's xinput seems has different behavior compared to other distribution such as ubuntu I try. Is there any module/package needed to be enable/install?


    Quote Originally Posted by vazhavandan View Post
    Check input list first
    Code:
    $xinput --list
    ⎡ Virtual core pointer                        id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
    ⎜   ↳ USB Optical Mouse                           id=8    [slave  pointer  (2)]
    ⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
        ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
        ↳ Power Button                                id=6    [slave  keyboard (3)]
        ↳ Power Button                                id=7    [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard                id=9    [slave  keyboard (3)]
    $
    Then try it again. Replace "device name" with "device id" . If your device id is 8 then
    Code:
    xinput set-float-prop 8 "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •