MythTV  master
Macros | Functions | Variables
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 <AvailabilityMacros.h>
#include <sstream>
#include "libmythbase/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 LOC   QString("AppleRemote::")
 

Functions

static io_object_t _findAppleRemoteDevice (const char *devName)
 

Variables

static constexpr int8_t kMythIOMainPortDefault { 0 }
 

Macro Definition Documentation

◆ REMOTE_SWITCH_COOKIE

#define REMOTE_SWITCH_COOKIE   19

Definition at line 33 of file AppleRemote.cpp.

◆ REMOTE_COOKIE_STR

#define REMOTE_COOKIE_STR   "19_"

Definition at line 34 of file AppleRemote.cpp.

◆ LONG_PRESS_COUNT

#define LONG_PRESS_COUNT   10

Definition at line 35 of file AppleRemote.cpp.

◆ LOC

#define LOC   QString("AppleRemote::")

Definition at line 37 of file AppleRemote.cpp.

Function Documentation

◆ _findAppleRemoteDevice()

static io_object_t _findAppleRemoteDevice ( const char *  devName)
static

Definition at line 185 of file AppleRemote.cpp.

Referenced by AppleRemote::startListening().

Variable Documentation

◆ kMythIOMainPortDefault

constexpr int8_t kMythIOMainPortDefault { 0 }
staticconstexpr

Definition at line 28 of file AppleRemote.cpp.

Referenced by _findAppleRemoteDevice().