imx8x yocto waylan qt touchscreen

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8x yocto waylan qt touchscreen

1,185 Views
songhongliang
Contributor II

HI 

      My touch screen driver has been debugged, and I can calibrate normally using ts_calibrate. But in the xwayland window, I can't use the touch function, what configuration do I need, so that I can use the touch screen normally in the QT application based on xwayland. 

Thanks

0 Kudos
Reply
2 Replies

1,176 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Do you config touch section in weston.ini? 

0 Kudos
Reply

1,169 Views
songhongliang
Contributor II

HI 

my weston.ini 

[core]
#gbm-format=argb8888
idle-time=0
#use-g2d=1
xwayland=true
repaint-window=16
#enable-overlay-view=1

[shell]
size=1280x720
panel-position=none
background-image=/home/root/bin/windows.png

[libinput]
touchscreen_calibrator=true

[output]
name=LVDS-1
mode=1280x720@60
#transform=rotate-90

#[output]
#name=HDMI-A-2
#mode=off
# WIDTHxHEIGHT Resolution size width and height in pixels
# off Disables the output
# preferred Uses the preferred mode
# current Uses the current crt controller mode
#transform=rotate-90

[screen-share]
command=@bindir@/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize

*****************************************************************

What parameters do I need to set to use touchscreen. of my touch device.

0 Kudos
Reply