30#if JUCE_MAC || DOXYGEN
86 bool start (
bool inExclusiveMode);
103 void handleCallbackInternal();
110 bool open (
bool openInExclusiveMode);
Receives events from an Apple IR remote control device (Only available in OSX!).
int getRemoteId() const
Returns the ID number of the remote, if it has sent one.
virtual void buttonPressed(ButtonType buttonId, bool isDown)=0
Override this method to receive the callback about a button press.
void stop()
Stops the device running.
bool start(bool inExclusiveMode)
Starts the device running and responding to events.
ButtonType
The set of buttons that may be pressed.
@ rightButton
The right button (if it's held for a short time).
@ plusButton
The plus or volume-up button.
@ playButton
The play button.
@ leftButton
The left button (if it's held for a short time).
@ minusButton
The minus or volume-down button.
@ menuButton_Long
The menu button (if it's held for a long time).
@ leftButton_Long
The menu button (if it's held for a long time).
@ rightButton_Long
The right button (if it's held for a long time).
bool isActive() const
Returns true if the device has been started successfully.