|
@@ -272,21 +272,25 @@ void handleButtonDown (int index); |
|
|
*/
|
|
|
*/
|
|
|
void handleButtonUp (int index);
|
|
|
void handleButtonUp (int index);
|
|
|
|
|
|
|
|
|
/** Called when a control block button is pressed.
|
|
|
|
|
|
|
|
|
/** Call this when a control block button is pressed to trigger the buttons default behaviour.
|
|
|
|
|
|
|
|
|
@param buttonIndex the index of the button
|
|
|
@param buttonIndex the index of the button
|
|
|
|
|
|
|
|
|
@note Requires >= 0.2.5 firmware
|
|
|
@note Requires >= 0.2.5 firmware
|
|
|
@note Only valid with a control block
|
|
|
@note Only valid with a control block
|
|
|
|
|
|
|
|
|
|
|
|
@see initControl onControlRelease
|
|
|
*/
|
|
|
*/
|
|
|
void onControlPress (int buttonIndex);
|
|
|
void onControlPress (int buttonIndex);
|
|
|
|
|
|
|
|
|
/** Called when a control block button is released.
|
|
|
|
|
|
|
|
|
/** Call this when a control block button is released to trigger the buttons default behaviour.
|
|
|
|
|
|
|
|
|
@param buttonIndex the index of the button
|
|
|
@param buttonIndex the index of the button
|
|
|
|
|
|
|
|
|
@note Requires >= 0.2.5 firmware
|
|
|
@note Requires >= 0.2.5 firmware
|
|
|
@note Only valid with a control block
|
|
|
@note Only valid with a control block
|
|
|
|
|
|
|
|
|
|
|
|
@see initControl onControlPress
|
|
|
*/
|
|
|
*/
|
|
|
void onControlRelease (int buttonIndex);
|
|
|
void onControlRelease (int buttonIndex);
|
|
|
|
|
|
|
|
|