vdr  2.6.9
Classes | Macros | 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
 

Macros

#define __STDC_FORMAT_MACROS
 
#define INITTIMEOUT   10000
 
#define REPEATTIMEOUT   1000
 

Variables

cRemotes Remotes
 
static tKbdMap KbdMap []
 

Macro Definition Documentation

◆ __STDC_FORMAT_MACROS

#define __STDC_FORMAT_MACROS

Definition at line 12 of file remote.c.

◆ INITTIMEOUT

#define INITTIMEOUT   10000

Definition at line 23 of file remote.c.

◆ REPEATTIMEOUT

#define REPEATTIMEOUT   1000

Definition at line 24 of file remote.c.

Variable Documentation

◆ KbdMap

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 }
}
@ kfNone
Definition: remote.h:80
@ kfF10
Definition: remote.h:90
@ kfF11
Definition: remote.h:91
@ kfF7
Definition: remote.h:87
@ kfUp
Definition: remote.h:93
@ kfF9
Definition: remote.h:89
@ kfDown
Definition: remote.h:94
@ kfF3
Definition: remote.h:83
@ kfRight
Definition: remote.h:96
@ kfF2
Definition: remote.h:82
@ kfF4
Definition: remote.h:84
@ kfPgUp
Definition: remote.h:99
@ kfF8
Definition: remote.h:88
@ kfLeft
Definition: remote.h:95
@ kfF6
Definition: remote.h:86
@ kfIns
Definition: remote.h:101
@ kfDel
Definition: remote.h:102
@ kfF12
Definition: remote.h:92
@ kfEnd
Definition: remote.h:98
@ kfF1
Definition: remote.h:81
@ kfF5
Definition: remote.h:85
@ kfHome
Definition: remote.h:97
@ kfPgDown
Definition: remote.h:100

Definition at line 220 of file remote.c.

Referenced by cKbdRemote::MapCodeToFunc(), and cKbdRemote::MapFuncToCode().

◆ Remotes

cRemotes Remotes

Definition at line 211 of file remote.c.

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