Patchwork [1/2] pointercal-xinput: Add pointercal.xinput to mxs

login
register
mail settings
Submitter Daiane Angolini
Date April 2, 2013, 7:09 a.m.
Message ID <1364886588-25531-1-git-send-email-daiane.angolini@freescale.com>
Download mbox | patch
Permalink /patch/47273/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Daiane Angolini - April 2, 2013, 7:09 a.m.
Change-Id: I2979e14bb2f059611fe4c1b33a01a2a95573a12f
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
---
 .../pointercal-xinput/mxs/pointercal.xinput        |    2 ++
 .../pointercal-xinput_0.0.bbappend                 |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend

Patch

diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput b/recipes-graphics/xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput
new file mode 100644
index 0000000..59f7630
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput
@@ -0,0 +1,2 @@ 
+xinput set-int-prop "MXS touchscreen" "Evdev Axis Calibration" 32 194 3938 301 3878
+xinput set-int-prop "MXS touchscreen" "Evdev Axes Swap" 8 1
diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend b/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend
new file mode 100644
index 0000000..a9c60f3
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend
@@ -0,0 +1,2 @@ 
+# Append path for freescale layer to include bsp pointercal.xinput
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"