From ae384777548dc8eebb3c2a14e54d3cc31fe4829b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 13 Jun 2006 14:00:52 +0000 Subject: [PATCH] tslib: Remove hardcoded input event devices and detect-stylus git-svn-id: https://svn.o-hand.com/repos/poky/trunk@475 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- openembedded/packages/tslib/tslib-maemo/nokia770/tslib.sh | 2 +- openembedded/packages/tslib/tslib/akita/tslib.sh | 2 +- openembedded/packages/tslib/tslib/c7x0/tslib.sh | 2 +- openembedded/packages/tslib/tslib/collie/tslib.sh | 2 +- openembedded/packages/tslib/tslib/ipaq-pxa270/tslib.sh | 2 +- openembedded/packages/tslib/tslib/poodle/tslib.sh | 2 +- openembedded/packages/tslib/tslib/simpad/tslib.sh | 2 +- openembedded/packages/tslib/tslib/spitz/tslib.sh | 2 +- openembedded/packages/tslib/tslib/tosa/tslib.sh | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/openembedded/packages/tslib/tslib-maemo/nokia770/tslib.sh b/openembedded/packages/tslib/tslib-maemo/nokia770/tslib.sh index d31bc76..b7acc27 100644 --- a/openembedded/packages/tslib/tslib-maemo/nokia770/tslib.sh +++ b/openembedded/packages/tslib/tslib-maemo/nokia770/tslib.sh @@ -1,5 +1,5 @@ #!/bin/sh -TSLIB_TSDEVICE=`detect-stylus --device` +TSLIB_TSDEVICE=/dev/input/touchscreen0 export TSLIB_TSDEVICE diff --git a/openembedded/packages/tslib/tslib/akita/tslib.sh b/openembedded/packages/tslib/tslib/akita/tslib.sh index 218da07..0c8b1a1 100644 --- a/openembedded/packages/tslib/tslib/akita/tslib.sh +++ b/openembedded/packages/tslib/tslib/akita/tslib.sh @@ -7,7 +7,7 @@ case `uname -r` in TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4 ;; *) - TSLIB_TSDEVICE=/dev/input/event1 + TSLIB_TSDEVICE=/dev/input/touchscreen0 TSLIB_TSEVENTTYPE=INPUT TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf ;; diff --git a/openembedded/packages/tslib/tslib/c7x0/tslib.sh b/openembedded/packages/tslib/tslib/c7x0/tslib.sh index 218da07..0c8b1a1 100644 --- a/openembedded/packages/tslib/tslib/c7x0/tslib.sh +++ b/openembedded/packages/tslib/tslib/c7x0/tslib.sh @@ -7,7 +7,7 @@ case `uname -r` in TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4 ;; *) - TSLIB_TSDEVICE=/dev/input/event1 + TSLIB_TSDEVICE=/dev/input/touchscreen0 TSLIB_TSEVENTTYPE=INPUT TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf ;; diff --git a/openembedded/packages/tslib/tslib/collie/tslib.sh b/openembedded/packages/tslib/tslib/collie/tslib.sh index d9cc02c..759d5cf 100644 --- a/openembedded/packages/tslib/tslib/collie/tslib.sh +++ b/openembedded/packages/tslib/tslib/collie/tslib.sh @@ -7,7 +7,7 @@ case `uname -r` in TSLIB_CONFFILE=/usr/share/tslib/ts.conf-collie-2.4 ;; *) - TSLIB_TSDEVICE=/dev/input/event1 + TSLIB_TSDEVICE=/dev/input/touchscreen0 TSLIB_TSEVENTTYPE=INPUT TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf ;; diff --git a/openembedded/packages/tslib/tslib/ipaq-pxa270/tslib.sh b/openembedded/packages/tslib/tslib/ipaq-pxa270/tslib.sh index 3adaba0..3a6ba78 100644 --- a/openembedded/packages/tslib/tslib/ipaq-pxa270/tslib.sh +++ b/openembedded/packages/tslib/tslib/ipaq-pxa270/tslib.sh @@ -1,6 +1,6 @@ #!/bin/sh -TSLIB_TSDEVICE=`detect-stylus --device` +TSLIB_TSDEVICE=/dev/input/touchscreen0 TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf export TSLIB_TSDEVICE TSLIB_CONFFILE diff --git a/openembedded/packages/tslib/tslib/poodle/tslib.sh b/openembedded/packages/tslib/tslib/poodle/tslib.sh index d9cc02c..759d5cf 100644 --- a/openembedded/packages/tslib/tslib/poodle/tslib.sh +++ b/openembedded/packages/tslib/tslib/poodle/tslib.sh @@ -7,7 +7,7 @@ case `uname -r` in TSLIB_CONFFILE=/usr/share/tslib/ts.conf-collie-2.4 ;; *) - TSLIB_TSDEVICE=/dev/input/event1 + TSLIB_TSDEVICE=/dev/input/touchscreen0 TSLIB_TSEVENTTYPE=INPUT TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf ;; diff --git a/openembedded/packages/tslib/tslib/simpad/tslib.sh b/openembedded/packages/tslib/tslib/simpad/tslib.sh index 5301239..39b1c4b 100644 --- a/openembedded/packages/tslib/tslib/simpad/tslib.sh +++ b/openembedded/packages/tslib/tslib/simpad/tslib.sh @@ -6,7 +6,7 @@ case `uname -r` in TSLIB_CONFFILE=/usr/share/tslib/ts.conf-simpad-2.4 ;; *) - TSLIB_TSDEVICE=/dev/input/event0 + TSLIB_TSDEVICE=/dev/input/touchscreen0 TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf ;; esac diff --git a/openembedded/packages/tslib/tslib/spitz/tslib.sh b/openembedded/packages/tslib/tslib/spitz/tslib.sh index 218da07..0c8b1a1 100644 --- a/openembedded/packages/tslib/tslib/spitz/tslib.sh +++ b/openembedded/packages/tslib/tslib/spitz/tslib.sh @@ -7,7 +7,7 @@ case `uname -r` in TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4 ;; *) - TSLIB_TSDEVICE=/dev/input/event1 + TSLIB_TSDEVICE=/dev/input/touchscreen0 TSLIB_TSEVENTTYPE=INPUT TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf ;; diff --git a/openembedded/packages/tslib/tslib/tosa/tslib.sh b/openembedded/packages/tslib/tslib/tosa/tslib.sh index 218da07..0c8b1a1 100644 --- a/openembedded/packages/tslib/tslib/tosa/tslib.sh +++ b/openembedded/packages/tslib/tslib/tosa/tslib.sh @@ -7,7 +7,7 @@ case `uname -r` in TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4 ;; *) - TSLIB_TSDEVICE=/dev/input/event1 + TSLIB_TSDEVICE=/dev/input/touchscreen0 TSLIB_TSEVENTTYPE=INPUT TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf ;; -- 2.7.4