Signal

WPEPlatformGamepad::button-event

since: 2.0

Declaration

void
button_event (
  WPEGamepad* self,
  WPEGamepadButton button,
  gboolean is_pressed,
  gpointer user_data
)

Description [src]

Emitted when a button is pressed or released.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since: 2.0

Parameters

button

Type: WPEGamepadButton

A WPEGamepadButton.

is_pressed

Type: gboolean

Whether button is pressed or not.