media_button_t
Media buttons.
Synopsis:
#include <bps/mediacommon.h>
typedef enum {
MEDIA_BUTTON_NONE = 0
MEDIA_BUTTON_PLUS = 1
MEDIA_BUTTON_MINUS = 2
MEDIA_BUTTON_VOLUME_UP = 3
MEDIA_BUTTON_VOLUME_DOWN = 4
MEDIA_BUTTON_PLAY = 5
MEDIA_BUTTON_PAUSE = 6
MEDIA_BUTTON_PLAY_PAUSE = 7
MEDIA_BUTTON_STOP = 8
MEDIA_BUTTON_FORWARD = 9
MEDIA_BUTTON_REWIND = 10
} media_button_t;
Data:
- MEDIA_BUTTON_NONE
- No button.
- MEDIA_BUTTON_PLUS
- Plus button.
- MEDIA_BUTTON_MINUS
- Minus button.
- MEDIA_BUTTON_VOLUME_UP
- Volume up button.
- MEDIA_BUTTON_VOLUME_DOWN
- Volume down button.
- MEDIA_BUTTON_PLAY
- Play button.
- MEDIA_BUTTON_PAUSE
- Pause button.
- MEDIA_BUTTON_PLAY_PAUSE
- Play/Pause button.
- MEDIA_BUTTON_STOP
- Stop button.
- MEDIA_BUTTON_FORWARD
- Forward button.
- MEDIA_BUTTON_REWIND
- Rewind button.
Library:
libbpsDescription:
This enumeration defines the available media buttons.