MythTV  master
Macros | Functions
AppleRemote.cpp File Reference
#include "devices/AppleRemote.h"
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <sys/errno.h>
#include <sys/sysctl.h>
#include <sysexits.h>
#include <unistd.h>
#include <mach/mach.h>
#include <mach/mach_error.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/IOCFPlugIn.h>
#include <IOKit/hid/IOHIDLib.h>
#include <IOKit/hid/IOHIDKeys.h>
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
#include <sstream>
#include "mythlogging.h"
Include dependency graph for AppleRemote.cpp:

Go to the source code of this file.

Macros

#define REMOTE_SWITCH_COOKIE   19
 
#define REMOTE_COOKIE_STR   "19_"
 
#define LONG_PRESS_COUNT   10
 
#define KEY_RESPONSE_TIME   150 /* msecs before we send a key up event */
 
#define LOC   QString("AppleRemote::")
 

Functions

static io_object_t _findAppleRemoteDevice (const char *devName)
 

Macro Definition Documentation

◆ REMOTE_SWITCH_COOKIE

#define REMOTE_SWITCH_COOKIE   19

Definition at line 28 of file AppleRemote.cpp.

◆ REMOTE_COOKIE_STR

#define REMOTE_COOKIE_STR   "19_"

Definition at line 29 of file AppleRemote.cpp.

◆ LONG_PRESS_COUNT

#define LONG_PRESS_COUNT   10

Definition at line 30 of file AppleRemote.cpp.

◆ KEY_RESPONSE_TIME

#define KEY_RESPONSE_TIME   150 /* msecs before we send a key up event */

Definition at line 31 of file AppleRemote.cpp.

◆ LOC

#define LOC   QString("AppleRemote::")

Definition at line 33 of file AppleRemote.cpp.

Function Documentation

◆ _findAppleRemoteDevice()

static io_object_t _findAppleRemoteDevice ( const char *  devName)
static

Definition at line 181 of file AppleRemote.cpp.

Referenced by AppleRemote::startListening().