Method

PhocEventget_device

Declaration [src]

PhocInputDevice*
phoc_event_get_device (
  const PhocEvent* event
)

Description [src]

Retrieves the input device the event came from.

Return value

Type: PhocInputDevice

The input devie.

The returned data is owned by the instance.
The return value can be NULL.