summaryrefslogtreecommitdiff
path: root/recipes-graphics/wayland
AgeCommit message (Collapse)Author
2022-12-07weston-init: shore up touch calibrator installationMing Liu
- Avoid use INI_UNCOMMENT_ASSIGNMENTS to handle [libinput] section, since that's done in meta-freescale layer which can create a race condiction depending on the order of meta-freescale and meta-toradex-demos in BBLAYERS. - Add a sanity check to ensure "calibration_helper" and "touchscreen_calibrator" to be added to weston.ini only when they are not already in it by deleteting them in advance. This can prevent a force do_install (bitbake install -f) to add them in more than once. Related-to: ELB-4570 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 3e7226afbfd01187f13f8b6e4b0ae7996844ebe7) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-09-26weston-init: support weston touch calibrationMing Liu
Add a new PACKAGECONFIG touchscreen-calibration, when it's enabled, add the following fields in weston.ini: ``` [libinput] enable_tap=true touchscreen_calibrator=true calibration_helper=/usr/bin/toradex-save-touchscreen-calibration ``` When weston-touch-calibrator is called by an end user, /usr/bin/toradex-save-touchscreen-calibration will be triggered to create a udev rule to export LIBINPUT_CALIBRATION_MATRIX then trigger that udev rule. The end users need to restart weston to let the new calibration matrix to take effect. Related-to: ELB-4570 Signed-off-by: Ming Liu <ming.liu@toradex.com>