summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>2009-05-28 10:40:19 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2009-05-28 10:40:19 +0200
commit763582c7b20dedfce622854e82c449950cca70b0 (patch)
treec9b5e97dece4612e2e3ab5c883ee7fb712592bef
parent5acd56d404820123619320bb11f9f6466c7442d1 (diff)
addon-input: add KEY_ZOOM
Reported on hal ML.
-rw-r--r--hald/linux/addons/addon-input.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/hald/linux/addons/addon-input.c b/hald/linux/addons/addon-input.c
index f6935d32..754a8555 100644
--- a/hald/linux/addons/addon-input.c
+++ b/hald/linux/addons/addon-input.c
@@ -175,7 +175,11 @@ static char *key_name[KEY_MAX + 1] = {
#ifndef KEY_WLAN
#define KEY_WLAN 238
#endif
- [KEY_WLAN] = "wlan"
+ [KEY_WLAN] = "wlan",
+#ifndef KEY_ZOOM
+#define KEY_ZOOM 0x174
+#endif
+ [KEY_ZOOM] = "zoom"
};