summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-10-08 16:34:17 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-10-08 16:34:17 +0200
commita36ff983f5f5304449185cf26e2275c41370d036 (patch)
tree17058373f8bd3955edb49f28a239b03ae854805f /config.h
parent212468e2e0c9809486040c019005b8da65214f81 (diff)
downloadvdr-a36ff983f5f5304449185cf26e2275c41370d036.tar.gz
vdr-a36ff983f5f5304449185cf26e2275c41370d036.tar.bz2
Fixed key release handling
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.h b/config.h
index d0a10d44..56f36182 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.26 2000/10/08 16:07:49 kls Exp $
+ * $Id: config.h 1.27 2000/10/08 16:33:48 kls Exp $
*/
#ifndef __CONFIG_H
@@ -41,8 +41,9 @@ enum eKeys { // "Up" and "Down" must be the first two keys!
k_Flags = k_Repeat | k_Release,
};
-#define ISNORMALKEY(k) ((k) != kNone && ((k) & k_Flags) == 0)
-#define NORMALKEY(k) ((k) & ~k_Flags)
+#define RAWKEY(k) ((k) & ~k_Flags)
+#define ISRAWKEY(k) ((k) != kNone && ((k) & k_Flags) == 0)
+#define NORMALKEY(k) ((k) & ~k_Repeat)
struct tKey {
eKeys type;