Method

ClutterEventget_source_device

Declaration [src]

ClutterInputDevice*
clutter_event_get_source_device (
  const ClutterEvent* event
)

Description [src]

Retrieves the hardware device that originated the event.

Return value

Type: ClutterInputDevice

A pointer to a ClutterInputDevice or NULL.

The returned data is owned by the instance.