The button events.
#include <bps/button.h>
enumĀ {
BUTTON_UP = 0
BUTTON_DOWN = 1
};
BlackBerry 10.0.0
This enumeration defines the available button events. Currently, there are two events. These events are generated when one of the physical buttons are pressed or released.