Interface IUIAxisEvent
interface IUIAxisEvent
Extends IUIWindowEvent
This interface respresents axis events which can be triggered through devices having analog joystick/triggers.
Methods
getAxisValue()
Returns the axis value of the events for a specific axis code. Different axis code have different axis value range for eg. AXIS_LEFT_STICK_XfloatgetAxisValue(com.amazon.kepler.input.events.AxisCode*axisCode)
AxisCode have value which is typically between -1.0 and 1.0 range. Refer
to AxisCode for different AxisCode and their range values.
Parameters
axisCode
com.amazon.kepler.input.events.AxisCode* — Required
A pointer to the specific Axis code associated to the analog joystick/triggers.
Returns
float
the axis value for a specific AxisCode.

