Method

GdkDeviceget_axis

Declaration [src]

gboolean
gdk_device_get_axis (
  GdkDevice* device,
  gdouble* axes,
  GdkAxisUse use,
  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 use.

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.
use

Type: GdkAxisUse

The use to look for.

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.