vdr  1.7.27
Classes | Defines | Variables
remote.c File Reference
#include "remote.h"
#include <fcntl.h>
#include <inttypes.h>
#include <netinet/in.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#include "tools.h"

Go to the source code of this file.

Classes

struct  tKbdMap

Defines

#define __STDC_FORMAT_MACROS
#define INITTIMEOUT   10000
#define REPEATTIMEOUT   1000

Variables

cRemotes Remotes
static tKbdMap KbdMap []

Define Documentation

Definition at line 12 of file remote.c.

#define INITTIMEOUT   10000

Definition at line 23 of file remote.c.

Referenced by cRemote::Initialize().

#define REPEATTIMEOUT   1000

Definition at line 24 of file remote.c.

Referenced by cRemote::Get().


Variable Documentation

tKbdMap KbdMap[] [static]
Initial value:
 {
  { kfF1,     0x0000001B5B31317EULL },
  { kfF2,     0x0000001B5B31327EULL },
  { kfF3,     0x0000001B5B31337EULL },
  { kfF4,     0x0000001B5B31347EULL },
  { kfF5,     0x0000001B5B31357EULL },
  { kfF6,     0x0000001B5B31377EULL },
  { kfF7,     0x0000001B5B31387EULL },
  { kfF8,     0x0000001B5B31397EULL },
  { kfF9,     0x0000001B5B32307EULL },
  { kfF10,    0x0000001B5B32317EULL },
  { kfF11,    0x0000001B5B32327EULL },
  { kfF12,    0x0000001B5B32337EULL },
  { kfUp,     0x00000000001B5B41ULL },
  { kfDown,   0x00000000001B5B42ULL },
  { kfLeft,   0x00000000001B5B44ULL },
  { kfRight,  0x00000000001B5B43ULL },
  { kfHome,   0x00000000001B5B48ULL },
  { kfEnd,    0x00000000001B5B46ULL },
  { kfPgUp,   0x000000001B5B357EULL },
  { kfPgDown, 0x000000001B5B367EULL },
  { kfIns,    0x000000001B5B327EULL },
  { kfDel,    0x000000001B5B337EULL },
  { kfNone,   0x0000000000000000ULL }
  }

Definition at line 220 of file remote.c.

Definition at line 211 of file remote.c.

Referenced by cRemote::cRemote(), cInterface::LearnKeys(), main(), and cRemote::~cRemote().