diff options
Diffstat (limited to 'recipes/xinput-calibrator')
4 files changed, 9 insertions, 1 deletions
diff --git a/recipes/xinput-calibrator/files/om-gta02/pointercal.xinput b/recipes/xinput-calibrator/files/om-gta02/pointercal.xinput new file mode 100644 index 0000000000..be25da3529 --- /dev/null +++ b/recipes/xinput-calibrator/files/om-gta02/pointercal.xinput @@ -0,0 +1,2 @@ +xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 107 918 911 98 +xinput set-int-prop "Touchscreen" "Evdev Axes Swap" 8 1 diff --git a/recipes/xinput-calibrator/files/pointercal.xinput b/recipes/xinput-calibrator/files/pointercal.xinput new file mode 100644 index 0000000000..9633fc5f32 --- /dev/null +++ b/recipes/xinput-calibrator/files/pointercal.xinput @@ -0,0 +1 @@ +# replace with valid machine specific pointercal.xinput diff --git a/recipes/xinput-calibrator/xinput-calibrator_0.6.1.bb b/recipes/xinput-calibrator/xinput-calibrator_0.6.1.bb index be03b3274e..8d0f245fe2 100644 --- a/recipes/xinput-calibrator/xinput-calibrator_0.6.1.bb +++ b/recipes/xinput-calibrator/xinput-calibrator_0.6.1.bb @@ -1,16 +1,22 @@ require xinput-calibrator.inc SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git \ + file://pointercal.xinput \ " SRCREV = "d2ce98b3f638667dd64b6d718721379b2dc750a7" +PR = "r1" S = "${WORKDIR}/git/" do_install_append() { install -d ${D}${bindir} install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh + install -d ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/pointercal.xinput ${D}${sysconfdir}/pointercal.xinput ln -s ${bindir}/xinput_calibrator_x11 ${D}${bindir}/xinput_calibrator install -d ${D}${datadir}/applications/ install -m 0755 scripts/xinput_calibrator.desktop ${D}${datadir}/applications/xinput-calibrator.desktop install -m 0755 scripts/xinput_calibrator_get_hal_calibration.sh ${D}${bindir}/xinput_calibrator_get_hal_calibration.sh } + +CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput" diff --git a/recipes/xinput-calibrator/xinput-calibrator_git.bb b/recipes/xinput-calibrator/xinput-calibrator_git.bb index 13c6a46e5b..5fceed12d8 100644 --- a/recipes/xinput-calibrator/xinput-calibrator_git.bb +++ b/recipes/xinput-calibrator/xinput-calibrator_git.bb @@ -17,4 +17,3 @@ do_install_append() { # remove this after misclick branch is well-tested and merged to master DEFAULT_PREFERENCE = "-1" -DEFAULT_PREFERENCE_shr = "1" |