diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-27 14:32:06 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-27 14:32:06 +0100 |
commit | 74c74fb5d2bdc026a611d74473788e4227d35a93 (patch) | |
tree | 310a994d64f5c7999d2fa55db208d7513db88da7 /keys.h | |
parent | 462463404d0116d38d330b043a0e55e3be62a98a (diff) | |
download | vdr-74c74fb5d2bdc026a611d74473788e4227d35a93.tar.gz vdr-74c74fb5d2bdc026a611d74473788e4227d35a93.tar.bz2 |
Implemented additional dedicated keys
Diffstat (limited to 'keys.h')
-rw-r--r-- | keys.h | 23 |
1 files changed, 19 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: keys.h 1.1 2002/09/29 09:55:52 kls Exp $ + * $Id: keys.h 1.2 2002/10/27 13:58:55 kls Exp $ */ #ifndef __KEYS_H @@ -26,10 +26,24 @@ enum eKeys { // "Up" and "Down" must be the first two keys! kYellow, kBlue, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9, + kPlay, + kPause, + kStop, + kRecord, + kFastFwd, + kFastRew, kPower, + kChanUp, + kChanDn, kVolUp, kVolDn, kMute, + kSchedule, + kChannels, + kTimers, + kRecordings, + kSetup, + kCommands, kNone, k_Setup, // The following flags are OR'd with the above codes: @@ -47,9 +61,10 @@ enum eKeys { // "Up" and "Down" must be the first two keys! #define kEditCut k2 #define kEditTest k8 -#define RAWKEY(k) (eKeys((k) & ~k_Flags)) -#define ISRAWKEY(k) ((k) != kNone && ((k) & k_Flags) == 0) -#define NORMALKEY(k) (eKeys((k) & ~k_Repeat)) +#define RAWKEY(k) (eKeys((k) & ~k_Flags)) +#define ISRAWKEY(k) ((k) != kNone && ((k) & k_Flags) == 0) +#define NORMALKEY(k) (eKeys((k) & ~k_Repeat)) +#define ISMODELESSKEY(k) (RAWKEY(k) > k9) struct tKey { eKeys type; |