DirectFB Reference Manual
IDirectFBInputDevice   GetButtons

Get a mask of currently pressed buttons.

GetButtons (
  IDirectFBInputDevice *thiz
  DFBInputDeviceButtonMask *buttons
);

The first button corrensponds to the right most bit.

  (C) Copyright by convergence GmbH