19#define APPLE_REMOTE_VENDOR 0x043F
62typedef PACKED
struct {
@ AppleRemoteCommandFactoryDefaults
@ AppleRemoteCommandOriginalLowBattery
@ AppleRemoteCommandCurrentLowBattery
@ AppleRemoteCommandPairing
@ AppleRemoteCommandTable
UINT16 APPLE_REMOTE_COMMAND
UINT8 Vendor[11]
This is always 0x43f and can be used to identify an Apple Remote.
PACKED struct @33 APPLE_REMOTE_DATA_PACKAGE
UINT8 CommandPage[5]
0x0 for the pairing and other commands, 0xe for the different buttons
@ AppleRemoteKeyPlay
Play/Pause on the new remote.
@ AppleRemoteKeyPlayPrevious
@ AppleRemoteKeyCenter
Play/Pause/Select on the old remote.
@ AppleRemoteKeyMenuPrevious
@ AppleRemoteKeySelect
Select on the new remote.
@ AppleRemoteKeyVolumeDown
UINT8 Checksum
All 32 bits added together have to equal 1.
UINT8 Command[7]
Actual command for the Command Page.