Skip to main content

vJoyUnit:set_value()

vJoyUnit:set_value(value)

This method sets a value for the operable unit of the vJoy device.
The values that can be configured for each unit are as follows.

Unit TypeValues
Axis-50000 to 50000
Button1 when the button is pressed, 0 when released
POVThe angle in degrees.

Parameters

ParameterTypeDescription
valuenumberValue to be set for the unit.

Return Values

This method doesn't return any value.

See Also