Murl Engine Lua Addon API  Version 1.0 beta
Murl.IGameControllerMapping.AxisMapping

The raw axis mapping.

Describes how to map the axis raw data to a game controller axis event.


Table members

Functions


Murl.IGameControllerMapping.AxisMapping.new()

The default constructor.

Murl.IGameControllerMapping.AxisMapping new()

Returns
Murl.IGameControllerMapping.AxisMapping

Murl.IGameControllerMapping.AxisMapping.new(axisType, rangeStart, rangeEnd, destinationEvent)

Constructor taking initialization values.

Murl.IGameControllerMapping.AxisMapping new(Murl.IGameControllerMapping.AxisType axisType, Number rangeStart, Number rangeEnd, Murl.IGameControllerMapping.AxisEvent destinationEvent)

Parameters
axisTypeThe axis type to read the raw value from.
rangeStartThe axis raw data range start value. Represents the raw data value for the lowest destination value.
rangeEndThe axis raw data range end value. Represents the raw data value for the highest destination value.
destinationEventThe destination axis event to post the scaled axis value.
Returns
Murl.IGameControllerMapping.AxisMapping


Metamethods


The equal to operator.

The "equal to" comparison operator.

Returns
Boolean = Murl.IGameControllerMapping.AxisMapping == Murl.IGameControllerMapping.AxisMapping


Instance Members


mAxisType

The axis type to read the raw value from.

Returns
Murl.IGameControllerMapping.AxisType

mRangeStart

The axis raw data range start value. Represents the raw data value for the lowest destination value.

Returns
Number

mRangeEnd

The axis raw data range end value. Represents the raw data value for the highest destination value.

Returns
Number

mDestinationEvent

The destination axis event to post the scaled axis value.

Returns
Murl.IGameControllerMapping.AxisEvent