diff options
author | Richard Purdie <richard@openedhand.com> | 2005-10-10 08:57:51 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-10-10 08:57:51 +0000 |
commit | 4c10a4fd1ef55edb4fbcda3d9f21a730fa3985c7 (patch) | |
tree | 5ea3067652e8db3a414b5a27ef80fa778cb0facb /openembedded | |
parent | 7469e31faccee9fe1021507281edd7da8d5221ec (diff) | |
download | poky-4c10a4fd1ef55edb4fbcda3d9f21a730fa3985c7.tar.gz |
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
Diffstat (limited to 'openembedded')
-rwxr-xr-x | openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session b/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session index 6599e7dbb1..2806094a79 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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | ## start up check hinge, XXX really needs to go in its own session | 3 | module_id() { |
4 | chkhinge26 /dev/input/event0 hinge-handler & | 4 | awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo |
5 | } | ||
6 | |||
7 | ## Start up machine specific input devices. Really needs to go in its own session | ||
8 | case `module_id` in | ||
9 | "SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi" | "SHARP Spitz" | "SHARP Akita" | "SHARP Borzoi") | ||
10 | chkhinge26 /dev/input/event0 hinge-handler & | ||
11 | ;; | ||
12 | "Generic OMAP1510/1610/1710") | ||
13 | /usr/bin/mbinputmgr & | ||
14 | ;; | ||
15 | esac | ||
5 | 16 | ||
6 | ## All this should be done by themeing/xsettings.. ## | 17 | ## All this should be done by themeing/xsettings.. ## |
7 | matchbox-desktop --icon-size 48 \ | 18 | matchbox-desktop --icon-size 48 \ |