summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-05-29 12:42:23 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2006-05-29 12:42:23 -0400
commit3ed3172e98e1adcfc81460d3bb64d1653a5adb6a (patch)
treec33870268e03c4ac12657cc721945284811a3469 /v4l
parent0c7c252f2572d6608b196a595a68de58c35208da (diff)
downloadmediapointer-dvb-s2-3ed3172e98e1adcfc81460d3bb64d1653a5adb6a.tar.gz
mediapointer-dvb-s2-3ed3172e98e1adcfc81460d3bb64d1653a5adb6a.tar.bz2
compat: handle input key definitions added in 2.6.14
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index b9138c7be..ca0a4b886 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -178,6 +178,13 @@ static inline unsigned long msleep_interruptible(unsigned int msecs)
# define KEY_OK 0x160
# define KEY_DIGITS 0x19d
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
+# define KEY_SEND 231
+# define KEY_REPLY 232
+# define KEY_FORWARDMAIL 233
+# define KEY_SAVE 234
+# define KEY_DOCUMENTS 235
+#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
#define container_of(ptr, type, member) ({ \