Patchwork [meta-fsl-arm] pointercal-xinput: Move from meta-fsl-demos

login
register
mail settings
Submitter Otavio Salvador
Date Sept. 6, 2013, 3:35 p.m.
Message ID <1378481709-24240-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/57569/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Sept. 6, 2013, 3:35 p.m.
The pointercal-xinput is not included in OE-Core so we ought to
include it in the BSP instead of having it in meta-fsl-demos layer.

Change-Id: I27dbc31aeb321609cac6a2e757742b83d609033a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../xinput-calibrator/pointercal-xinput/imx28evk/pointercal.xinput     | 2 ++
 .../xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput          | 3 +++
 recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend      | 2 ++
 3 files changed, 7 insertions(+)
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput/imx28evk/pointercal.xinput
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend

Patch

diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput/imx28evk/pointercal.xinput b/recipes-graphics/xinput-calibrator/pointercal-xinput/imx28evk/pointercal.xinput
new file mode 100644
index 0000000..59f7630
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput/imx28evk/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/mx6/pointercal.xinput b/recipes-graphics/xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput
new file mode 100644
index 0000000..4c1a0d0
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput
@@ -0,0 +1,3 @@ 
+xinput set-int-prop "eGalax Touch Screen" "Evdev Axis Calibration" 42060 2062 -8 -783544 1 1549 65536
+xinput set-int-prop "eGalax Touch Screen" "Evdev Axes Swap" 8 0
+`
\ No newline at end of file
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}:"