clutter-input-device

clutter-input-device — An input device managed by Clutter

Functions

Description

ClutterInputDevice represents an input device known to Clutter.

The ClutterInputDevice class holds the state of the device, but its contents are usually defined by the Clutter backend in use.

Functions

clutter_input_device_get_device_coords ()

void
clutter_input_device_get_device_coords
                               (ClutterInputDevice *device,
                                gint *x,
                                gint *y);

clutter_input_device_get_device_coords has been deprecated since version 1.12 and should not be used in newly-written code.

Use clutter_input_device_get_coords() instead.

Retrieves the latest coordinates of the pointer of device

Parameters

device

a ClutterInputDevice of type CLUTTER_POINTER_DEVICE

 

x

return location for the X coordinate.

[out]

y

return location for the Y coordinate.

[out]

Since: 1.2