Reference Manual - 0.9.25
IDirectFBInputDevice   GetButtonState

Get the state of a button.

GetButtonState (
  IDirectFBInputDevice   * thiz,
  DFBInputDeviceButtonIdentifier   button,
  DFBInputDeviceButtonState   * ret_state
);