mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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
This commit is contained in:
@@ -1,7 +1,18 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
## start up check hinge, XXX really needs to go in its own session
|
module_id() {
|
||||||
chkhinge26 /dev/input/event0 hinge-handler &
|
awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
|
||||||
|
}
|
||||||
|
|
||||||
|
## Start up machine specific input devices. Really needs to go in its own session
|
||||||
|
case `module_id` in
|
||||||
|
"SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi" | "SHARP Spitz" | "SHARP Akita" | "SHARP Borzoi")
|
||||||
|
chkhinge26 /dev/input/event0 hinge-handler &
|
||||||
|
;;
|
||||||
|
"Generic OMAP1510/1610/1710")
|
||||||
|
/usr/bin/mbinputmgr &
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
## All this should be done by themeing/xsettings.. ##
|
## All this should be done by themeing/xsettings.. ##
|
||||||
matchbox-desktop --icon-size 48 \
|
matchbox-desktop --icon-size 48 \
|
||||||
|
|||||||
Reference in New Issue
Block a user