diff mbox

Input: Add keycodes for touchpad on/off keys

Message ID 1289220130.5418.109.camel@novo.hadess.net (mailing list archive)
State New, archived
Headers show

Commit Message

Bastien Nocera Nov. 8, 2010, 12:42 p.m. UTC
None
diff mbox

Patch

diff --git a/include/linux/input.h b/include/linux/input.h
index 896a922..46dca75 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -545,6 +545,10 @@  struct input_absinfo {
 #define KEY_CONTEXT_MENU	0x1b6	/* GenDesc - system context menu */
 #define KEY_MEDIA_REPEAT	0x1b7	/* Consumer - transport control */
 
+#define KEY_TOUCHPAD_TOGGLE	0x1b8	/* Ask user-space to switch the touchpad off */
+#define KEY_TOUCHPAD_ON		0x1b9	/* Tell user-space touchpad is now on */
+#define KEY_TOUCHPAD_OFF	0x1ba	/* As above but off */
+
 #define KEY_DEL_EOL		0x1c0
 #define KEY_DEL_EOS		0x1c1
 #define KEY_INS_LINE		0x1c2