touch calibration on second screen impossible

Hans de Goede hdegoede at redhat.com
Wed Sep 27 15:56:28 UTC 2017


Hi,

On 25-09-17 08:08, Peter Hutterer wrote:
> On Sat, Sep 23, 2017 at 09:57:37AM +0200, Klaus Rudolph wrote:
>> With X11 ( before wayland ) I can set up my touchscreen with:
>>
>>      xinput --list
>>
>> find my device: "Advanced Silicon S.A. CoolTouch(TM) System"
>>
>> and can simply set the props I need with:
>>
>>      xinput set-prop 'Advanced Silicon S.A. CoolTouch(TM) System'
>> --type=float 'Coordinate Transformation Matrix' 0.533333333333333, 0,
>> 0.466666666666667, 0, 1, 0, 0, 0, 1
>>
>> But now, `xinput list` did not show my any real devices, only some mystery
>> generic ones as this:
>>
>>       ⎡ Virtual core pointer                     id=2    [master pointer
>> (3)]
>>       ⎜   ↳ Virtual core XTEST pointer               id=4    [slave pointer
>> (2)]
>>       ⎜   ↳ xwayland-pointer:14                      id=6    [slave pointer
>> (2)]
>>       ⎜   ↳ xwayland-relative-pointer:14             id=7    [slave pointer
>> (2)]
>>       ⎜   ↳ xwayland-touch:14                        id=9    [slave pointer
>> (2)]
>>       ⎣ Virtual core keyboard                    id=3    [master keyboard
>> (2)]
>>           ↳ Virtual core XTEST keyboard              id=5    [slave keyboard
>> (3)]
>>           ↳ xwayland-keyboard:14                     id=8    [slave keyboard
>> (3)]
>>
>> So I only see some mystery wayland pseudo devices.
> 
> https://who-t.blogspot.com.au/2017/05/xinput-list-shows-xwayland-pointer.html
> 
>> With `libinput-list-devices` I can see my touch device, but I can not find
>> any documentation how I can configure devices for libinput. All docs tell my
>> that it can be done with `xinput` with is not true for wayland on fedora.
>> Any idea?
>>
>> Q: How can I configure input devices on wayland in fedora 25.
> 
> well, there's the LIBINPUT_CALIBRATION_MATRIX but it's not actually what you
> need here since you have multiscreen mapping issue.
> https://wayland.freedesktop.org/libinput/doc/latest/udev_config.html
> 
> mutter should map the touchscreen to a single screen, does it not do that?

This might be:

https://bugzilla.gnome.org/show_bug.cgi?id=787884

Regards,

Hans


More information about the wayland-devel mailing list