Start receiving button status change events.
#include <bps/button.h>
BPS_API int button_request_events(int flags)
BlackBerry 10.0.0
The types of events to deliver. A value of zero indicates that all events are requested. Any non-zero values are reserved for future use.
The button_request_events() function starts to deliver physical button status change events to your application using BPS. Events will be posted to the currently active channel.
BPS_SUCCESS upon success or BPS_FAILURE with errno set.