[oe-commits] org.oe.dev keylaunch-conf: Never-ever use "Pressed" events in public configs.

pfalcon commit openembedded-commits at lists.openembedded.org
Mon Nov 26 16:06:13 UTC 2007


keylaunch-conf: Never-ever use "Pressed" events in public configs.
* It is possible to unambigously distingish events only of two types:
<default> (short press) and "Held" (long press). Using any other event
type is ambigous. In particular, with the old default config there was
ambiguity with power off and backlight toggle bindings - most of the time,
backlight toggling also caused power off. As freedom of using any key in any
way should be left to user, ambigouos bindings should be avoided.

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: daff4aaddf30cf976718034f5c0f5bb7476ccc21
ViewMTN: http://monotone.openembedded.org/revision/info/daff4aaddf30cf976718034f5c0f5bb7476ccc21
Files:
1
packages/keylaunch/keylaunch-conf/keylaunchrc
Diffs:

#
# mt diff -r69c7792e9a9854ea2ba0d1780fb1367db2c67bda -rdaff4aaddf30cf976718034f5c0f5bb7476ccc21
#
# 
# 
# patch "packages/keylaunch/keylaunch-conf/keylaunchrc"
#  from [299d3d04bc084a7d8080b2e1b14742502ec79bbb]
#    to [e2005a89201848e8b5c4c793489abd7124070665]
# 
============================================================
--- packages/keylaunch/keylaunch-conf/keylaunchrc	299d3d04bc084a7d8080b2e1b14742502ec79bbb
+++ packages/keylaunch/keylaunch-conf/keylaunchrc	e2005a89201848e8b5c4c793489abd7124070665
@@ -21,11 +21,11 @@
 # Command: Command line to execute, if starts with ~, suppress X startup notification 
 #   (use for non-X apps).
 #
-key=????Pressed XF86AudioRecord:gpe-soundbite record --autogenerate-filename $HOME_VOLATILE
-key=????Pressed XF86Calendar:gpe-calendar
-key=????Pressed telephone:gpe-contacts
-key=????Pressed XF86Mail:gpe-taskmanager
-key=????Pressed XF86Start:~matchbox-remote -desktop
-key=????Pressed XF86PowerDown:~apm --suspend
+key=????XF86AudioRecord:gpe-soundbite record --autogenerate-filename $HOME_VOLATILE
+key=????XF86Calendar:gpe-calendar
+key=????telephone:gpe-contacts
+key=????XF86Mail:gpe-taskmanager
+key=????XF86Start:~matchbox-remote -desktop
+key=????XF86PowerDown:~apm --suspend
 key=????Held XF86PowerDown:~bl toggle
 key=????Combine XF86Calendar XF86Start:gpe-keylock






More information about the Openembedded-commits mailing list