HID: map macbook keys for "Expose" and "Dashboard"
authorHenrik Rydberg <rydberg@euromail.se>
Tue, 4 Nov 2008 12:31:38 +0000 (13:31 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 13 Nov 2008 09:31:36 +0000 (10:31 +0100)
commit437184ae8bd1ef923a40b009e37801deae66ad55
tree9b9fc2b295998135334c9a6fa32efff589486187
parenta96d6ef34751093797c3a6c6080733dd7af23d35
HID: map macbook keys for "Expose" and "Dashboard"

On macbooks there are specific keys for the user-space functions Expose
and Dashboard, which currently has no counterpart in input.h. This patch
adds KEY_SCALE and KEY_DASHBOARD, and maps the keyboard accordingly.

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-apple.c
include/linux/input.h