aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sonypi.h
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2009-03-26 08:58:16 -0400
committerLen Brown <len.brown@intel.com>2009-03-27 12:18:30 -0400
commit45c7942ba8f6b7d5d1147c10f84f0cbf5fa3a2b8 (patch)
tree687e01ac22adba1bf3ed8d30e1928468947cdb04 /include/linux/sonypi.h
parent6cc056bc31ea9910afb01adc0848bb6ae68e0205 (diff)
sony-laptop: Add support for extended hotkeys
Recent Sony SR-series machines have an additional set of buttons accessed via the 0x127 method rather than the 0x100 method. Add support for these. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sonypi.h b/include/linux/sonypi.h
index 8458dbe95862..bb835019ac7f 100644
--- a/include/linux/sonypi.h
+++ b/include/linux/sonypi.h
@@ -104,6 +104,10 @@
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#define SONYPI_EVENT_CD_EJECT_PRESSED 64
107#define SONYPI_EVENT_MODEKEY_PRESSED 65
108#define SONYPI_EVENT_PKEY_P4 66
109#define SONYPI_EVENT_PKEY_P5 67
110#define SONYPI_EVENT_SETTINGKEY_PRESSED 68
107 111
108/* get/set brightness */ 112/* get/set brightness */
109#define SONYPI_IOCGBRT _IOR('v', 0, __u8) 113#define SONYPI_IOCGBRT _IOR('v', 0, __u8)