[Debian-eeepc-devel] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. ede39dd6f829fb91b991c9318592476869008a88
Damyan Ivanov
dmn at debian.org
Tue Sep 2 12:17:23 UTC 2008
The following commit has been merged in the master branch:
commit ede39dd6f829fb91b991c9318592476869008a88
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue Sep 2 15:16:40 2008 +0300
hotkey.sh: toggle camera with 3rd soft-key
diff --git a/actions/hotkey.sh b/actions/hotkey.sh
index 24c3737..eabe87d 100755
--- a/actions/hotkey.sh
+++ b/actions/hotkey.sh
@@ -55,6 +55,14 @@ show_bluetooth() {
fi
}
+show_camera() {
+ if camera_is_on; then
+ notify Camera Enabled
+ else
+ notify Camera Disabled
+ fi
+}
+
#show_brightness() {
# # final digit of ACPI code is brightness level in hex
# level=0x${code:${#code}-1}
@@ -103,6 +111,11 @@ case $code in
0000002?)
# actual brightness change is handled in hardware
;;
+ 0000001c)
+ # soft-buton 3 -- toggle camera
+ toggle_camera
+ show_camera
+ ;;
0000001d)
# soft-buton 4 -- toggle bluetooth
toggle_bluetooth
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-devel
mailing list