aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/sonypi.h
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2009-03-26 21:58:14 +0900
committerLen Brown <len.brown@intel.com>2009-03-27 12:18:07 -0400
commit9b57896e62bfa752ee7435e6cfe57fb210c0db8c (patch)
treef56a81d1fc8baa4a852b8c75c9a7ac8d9fe730e9 /include/linux/sonypi.h
parentsony-laptop: Enable EC on newer hardware (diff)
downloadwireguard-linux-9b57896e62bfa752ee7435e6cfe57fb210c0db8c.tar.xz
wireguard-linux-9b57896e62bfa752ee7435e6cfe57fb210c0db8c.zip
sony-laptop: Add support for extra keyboard events
The current sony-laptop code assumes that the keyboard event method is always located at slot 2 in the platform code. Remove this assumption and add support for some additional hotkeys. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/sonypi.h')
-rw-r--r--include/linux/sonypi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sonypi.h b/include/linux/sonypi.h
index f41ffd7c2dd9..8458dbe95862 100644
--- a/include/linux/sonypi.h
+++ b/include/linux/sonypi.h
@@ -103,6 +103,7 @@
#define SONYPI_EVENT_WIRELESS_OFF 61
#define SONYPI_EVENT_ZOOM_IN_PRESSED 62
#define SONYPI_EVENT_ZOOM_OUT_PRESSED 63
+#define SONYPI_EVENT_CD_EJECT_PRESSED 64
/* get/set brightness */
#define SONYPI_IOCGBRT _IOR('v', 0, __u8)