aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sonypi.h
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2009-03-26 08:58:14 -0400
committerLen Brown <len.brown@intel.com>2009-03-27 12:18:07 -0400
commit9b57896e62bfa752ee7435e6cfe57fb210c0db8c (patch)
treef56a81d1fc8baa4a852b8c75c9a7ac8d9fe730e9 /include/linux/sonypi.h
parent82734bfc8622f3e8f015a5783b739739f97f89f9 (diff)
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 @@
103#define SONYPI_EVENT_WIRELESS_OFF 61 103#define SONYPI_EVENT_WIRELESS_OFF 61
104#define SONYPI_EVENT_ZOOM_IN_PRESSED 62 104#define SONYPI_EVENT_ZOOM_IN_PRESSED 62
105#define SONYPI_EVENT_ZOOM_OUT_PRESSED 63 105#define SONYPI_EVENT_ZOOM_OUT_PRESSED 63
106#define SONYPI_EVENT_CD_EJECT_PRESSED 64
106 107
107/* get/set brightness */ 108/* get/set brightness */
108#define SONYPI_IOCGBRT _IOR('v', 0, __u8) 109#define SONYPI_IOCGBRT _IOR('v', 0, __u8)