Function InputSingleton.isJoyButtonPressed

Returns true if you are pressing the joypad button (see joysticklist).

bool isJoyButtonPressed (
  const(long) device,
  const(long) button
) nothrow @nogc const;