diff options
author | Ming Liu <ming.liu@toradex.com> | 2022-09-06 13:56:46 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-09-26 13:45:02 +0000 |
commit | a89c5d34160fd16bfbc434b231200636cd0782b0 (patch) | |
tree | 44b2d9283a67b616829f17d9864b9a3b6d7c34a8 /recipes-graphics/xinput-calibrator | |
parent | 0f90271d9148a6413d665cf4a83c168c3059cecb (diff) |
weston-init: support weston touch calibration
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>
Diffstat (limited to 'recipes-graphics/xinput-calibrator')
0 files changed, 0 insertions, 0 deletions