aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sonypi.h
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2009-03-26 21:58:16 +0900
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 8458dbe9586..bb835019ac7 100644
--- a/include/linux/sonypi.h
+++ b/include/linux/sonypi.h
@@ -104,6 +104,10 @@
#define SONYPI_EVENT_ZOOM_IN_PRESSED 62
#define SONYPI_EVENT_ZOOM_OUT_PRESSED 63
#define SONYPI_EVENT_CD_EJECT_PRESSED 64
+#define SONYPI_EVENT_MODEKEY_PRESSED 65
+#define SONYPI_EVENT_PKEY_P4 66
+#define SONYPI_EVENT_PKEY_P5 67
+#define SONYPI_EVENT_SETTINGKEY_PRESSED 68
/* get/set brightness */
#define SONYPI_IOCGBRT _IOR('v', 0, __u8)