Event.getAxis

bool getAxis(gdk.types.AxisUse axisUse, out double value)

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

To find out which axes are used, use gdk.device_tool.DeviceTool.getAxes on the device tool returned by gdk.event.Event.getDeviceTool.

Parameters

axisUsethe axis use to look for
valuelocation to store the value found

Returns

true if the specified axis was found, otherwise false