OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
AppleNec.h File Reference

Go to the source code of this file.

Macros

#define APPLE_REMOTE_VENDOR   0x043F
 

Typedefs

typedef UINT16 APPLE_REMOTE_COMMAND
 
struct { 
 
   UINT8   Vendor [11] 
 This is always 0x43f and can be used to identify an Apple Remote. More...
 
   UINT8   CommandPage [5] 
 0x0 for the pairing and other commands, 0xe for the different buttons More...
 
   UINT64   DeviceId 
 
   UINT8   Command [7] 
 Actual command for the Command Page. More...
 
   UINT8   Checksum 
 All 32 bits added together have to equal 1. More...
 
APPLE_REMOTE_DATA_PACKAGE 
 

Enumerations

enum  { AppleRemoteCommandTable = 0x00 , AppleRemoteKeyTable = 0x0E }
 
enum  { AppleRemoteCommandPairing = 0x01 , AppleRemoteCommandFactoryDefaults = 0x02 , AppleRemoteCommandOriginalLowBattery = 0x03 , AppleRemoteCommandCurrentLowBattery = 0x07 }
 
enum  {
  AppleRemoteKeyMenu = 0x01 , AppleRemoteKeyCenter = 0x02 , AppleRemoteKeyRight = 0x03 , AppleRemoteKeyLeft = 0x04 ,
  AppleRemoteKeyVolumeUp = 0x05 , AppleRemoteKeyVolumeDown = 0x06 , AppleRemoteKeyPlayUp = 0x07 , AppleRemoteKeyPlayDown = 0x08 ,
  AppleRemoteKeyPlayNext = 0x09 , AppleRemoteKeyPlayPrevious = 0x0A , AppleRemoteKeyMenuUp = 0x0B , AppleRemoteKeyMenuDown = 0x0C ,
  AppleRemoteKeyMenuPlay = 0x0D , AppleRemoteKeyMenuNext = 0x0E , AppleRemoteKeyMenuPrevious = 0x0F , AppleRemoteKeySelect = 0x2E ,
  AppleRemoteKeyPlay = 0x2F
}
 

Detailed Description

Copyright (C) 2014 - 2016, Download-Fritz. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file AppleNec.h.

Macro Definition Documentation

◆ APPLE_REMOTE_VENDOR

#define APPLE_REMOTE_VENDOR   0x043F

Definition at line 19 of file AppleNec.h.

Typedef Documentation

◆ APPLE_REMOTE_COMMAND

typedef UINT16 APPLE_REMOTE_COMMAND

Definition at line 36 of file AppleNec.h.

◆ [struct]

typedef PACKED struct { ... } APPLE_REMOTE_DATA_PACKAGE

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AppleRemoteCommandTable 
AppleRemoteKeyTable 

Definition at line 22 of file AppleNec.h.

◆ anonymous enum

anonymous enum
Enumerator
AppleRemoteCommandPairing 
AppleRemoteCommandFactoryDefaults 
AppleRemoteCommandOriginalLowBattery 
AppleRemoteCommandCurrentLowBattery 

Definition at line 28 of file AppleNec.h.

◆ anonymous enum

anonymous enum
Enumerator
AppleRemoteKeyMenu 
AppleRemoteKeyCenter 

Play/Pause/Select on the old remote.

AppleRemoteKeyRight 
AppleRemoteKeyLeft 
AppleRemoteKeyVolumeUp 
AppleRemoteKeyVolumeDown 
AppleRemoteKeyPlayUp 
AppleRemoteKeyPlayDown 
AppleRemoteKeyPlayNext 
AppleRemoteKeyPlayPrevious 
AppleRemoteKeyMenuUp 
AppleRemoteKeyMenuDown 
AppleRemoteKeyMenuPlay 
AppleRemoteKeyMenuNext 
AppleRemoteKeyMenuPrevious 
AppleRemoteKeySelect 

Select on the new remote.

AppleRemoteKeyPlay 

Play/Pause on the new remote.

Definition at line 39 of file AppleNec.h.

Variable Documentation

◆ Checksum

UINT8 Checksum

All 32 bits added together have to equal 1.

Definition at line 77 of file AppleNec.h.

◆ Command

UINT8 Command[7]

Actual command for the Command Page.

Definition at line 74 of file AppleNec.h.

◆ CommandPage

UINT8 CommandPage[5]

0x0 for the pairing and other commands, 0xe for the different buttons

Definition at line 67 of file AppleNec.h.

◆ DeviceId

UINT64 DeviceId

A unique device ID, used to allow pairing of a remote to a specific device. It can be changed with the pairing command.

Definition at line 71 of file AppleNec.h.

◆ Vendor

UINT8 Vendor[11]

This is always 0x43f and can be used to identify an Apple Remote.

Definition at line 64 of file AppleNec.h.