vJoy:get_axis()
vJoy:get_axis(axis)
This method is used to get a vJoyUnit object corresponding to an analog axis.
Parameters
| Parameter | Type | Description | 
|---|---|---|
axis | string | Name of the analog axis. It specifies one of the following names: 'x', 'y', 'z', 'rx', 'ry', 'rz', 'slider1', 'slider2'. | 
Return Values
This method returns a vJoyUnit object.