Reference Manual - 0.9.25
IDirectFBInputDevice
GetButtons
Get a mask of currently pressed buttons.
GetButtons (
IDirectFBInputDevice
*
thiz,
DFBInputDeviceButtonMask
*
ret_buttons
);
The first button corrensponds to the right most bit.