#include <revolution/hbm.h>
typedef enum
{
HBMSEV_BEFORE_INIT_SOUND, /* when entering the menu immediately before initializing sounds */
HBMSEV_INIT_SOUND, /* when entering the menu immediately before playing special effects */
HBMSEV_BEGIN_EXIT_ANIM, /* start animation playback when exiting the menu */
HBMSEV_BEGIN_BLACKOUT /* start menu blackout */
HBMSEV_END_MENU, /* shutdown menu */
HBMSEV_PLAY_SOUND /* play effect sound */
#ifdef USE_FOR_MANUAL
,HBMSEV_BEGIN_BLACKOUT_TO_MANUAL /* begin menu blackout (for manual) */
#endif
};
| HBMSEV_BEFORE_INIT_SOUND | Occurs immediately before the HBM library initializes sounds when HOME is pressed. |
|---|---|
| HBMSEV_INIT_SOUND | Occurs immediately before the HBM library plays the sound effect for displaying the HOME Menu when HOME is pressed. |
| HBMSEV_BEGIN_EXIT_ANIM | Occurs when exiting the HOME Menu and starts animation playback when returning to the application. |
| HBMSEV_BEGIN_BLACKOUT | Occurs when blackout of the HOME Menu begins. |
| HBMSEV_END_MENU | Occurs when the HOME Menu has terminated. |
| HBMSEV_PLAY_SOUND | Used to notify the time to play the sound effect. |
| HBMSEV_BEGIN_BLACKOUT_TO_MANUAL | Occurs when blackout of the HOME Menu begins, to display the manual. |
This enumerator takes a value indicating the event type and is passed in an argument of the callback function for the sound.
CONFIDENTIAL