keylaunch-conf: Never-ever use "Pressed" events in public configs.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sun, 25 Nov 2007 23:04:30 +0000 (23:04 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sun, 25 Nov 2007 23:04:30 +0000 (23:04 +0000)
* 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.

packages/keylaunch/keylaunch-conf/keylaunchrc

index 34b46cf..c84fa25 100644 (file)
 # 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