From 923065ba17a1da3760bf92ddc85e1749054f558f Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 25 Nov 2007 23:04:30 +0000 Subject: keylaunch-conf: Never-ever use "Pressed" events in public configs. * It is possible to unambigously distingish events only of two types: (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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'packages') diff --git a/packages/keylaunch/keylaunch-conf/keylaunchrc b/packages/keylaunch/keylaunch-conf/keylaunchrc index 34b46cf55f..c84fa25137 100644 --- a/packages/keylaunch/keylaunch-conf/keylaunchrc +++ b/packages/keylaunch/keylaunch-conf/keylaunchrc @@ -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 -- cgit v1.2.3