get_axis


Description:

public bool get_axis (AxisUse axis_use, out double value)

Extract the axis value for a particular axis use from an event structure.

To find out which axes are used, use [[email protected]_axes] on the device tool returned by [[email protected]_device_tool].

Parameters:

this

a `GdkEvent`

axis_use

the axis use to look for

value

location to store the value found

Returns:

true if the specified axis was found, otherwise false




2022 vala-language.org