Method

ClutterEventget_pad_event_details

Declaration [src]

gboolean
clutter_event_get_pad_event_details (
  const ClutterEvent* event,
  guint* number,
  guint* mode,
  gdouble* value
)

Description [src]

Returns the details of a pad event.

Parameters

number

Type: guint*

Ring/strip/button number.

The argument will be set by the function.
The argument can be NULL.
mode

Type: guint*

Pad mode as per the event.

The argument will be set by the function.
The argument can be NULL.
value

Type: gdouble*

Event axis value.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: gboolean

TRUE if event details could be obtained.