get_axis_value
Description:
[ Version ( since = "1.6" ) ]
public bool get_axis_value (double[] axes, InputAxis axis, out double value)
public bool get_axis_value (double[] axes, InputAxis axis, out double value)
Extracts the value of the given axis
of a InputDevice from an
array of axis values.
An example of typical usage for this function is:
ClutterInputDevice *device = clutter_event_get_device (event);
gdouble *axes = clutter_event_get_axes (event, NULL);
gdouble pressure_value = 0;
clutter_input_device_get_axis_value (device, axes,
CLUTTER_INPUT_AXIS_PRESSURE,
&pressure_value);
Parameters:
this | |
axes |
an array of axes values, typically coming from get_axes |
axis |
the axis to extract |
value |
return location for the axis value |
Returns:
|