From 4c10a4fd1ef55edb4fbcda3d9f21a730fa3985c7 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 10 Oct 2005 08:57:51 +0000 Subject: matchbox-session: Make the input controls machine dependent hence adding support for the nokia770. git-svn-id: https://svn.o-hand.com/repos/poky@125 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../matchbox-poky/matchbox-poky/etc/matchbox/session | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'openembedded/packages') diff --git a/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session b/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session index 6599e7dbb..2806094a7 100755 --- a/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session +++ b/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session @@ -1,7 +1,18 @@ #!/bin/sh -## start up check hinge, XXX really needs to go in its own session -chkhinge26 /dev/input/event0 hinge-handler & +module_id() { + awk 'BEGIN { FS=": " } /Hardware/ { print $2 } '