Method

GdkDeviceget_axis_value

since: 3.0

Declaration [src]

gboolean
gdk_device_get_axis_value (
  GdkDevice* device,
  gdouble* axes,
  GdkAtom axis_label,
  gdouble* value
)

Description [src]

Interprets an array of double as axis values for a given device, and locates the value in the array for a given axis label, as returned by gdk_device_list_axes().

Available since: 3.0

This method is not directly available to language bindings.

Parameters

axes

Type: An array of gdouble

Pointer to an array of axes.

The data is owned by the caller of the method.
axis_label

Type: GdkAtom

GdkAtom with the axis label.

value

Type: gdouble*

Location to store the found value.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if the given axis use was found, otherwise FALSE.