Function in ldk_os.h

ldk_os_joystick_count

Count the OS joystick.

LDK_API u32 ldk_os_joystick_count(void);

Returns

Number of matching entries.

Function in ldk_os.h

ldk_os_joystick_is_connected

Check whether the indicated joystick is connected.

LDK_API u32 ldk_os_joystick_is_connected(LDKJoystickID id);

Parameters

LDKJoystickID id
Identifier of the target object.

Returns

The resulting numeric value.

Function in ldk_os.h

ldk_os_joystick_vibration_left_get

Get the OS joystick vibration left.

LDK_API float ldk_os_joystick_vibration_left_get(LDKJoystickID id);

Parameters

LDKJoystickID id
Identifier of the target object.

Returns

The resulting value.

Function in ldk_os.h

ldk_os_joystick_vibration_left_set

Set the OS joystick vibration left.

LDK_API void ldk_os_joystick_vibration_left_set(
 LDKJoystickID id,
 float speed
);

Parameters

LDKJoystickID id
Identifier of the target object.
float speed
Speed used by this operation.
Function in ldk_os.h

ldk_os_joystick_vibration_right_get

Get the OS joystick vibration right.

LDK_API float ldk_os_joystick_vibration_right_get(LDKJoystickID id);

Parameters

LDKJoystickID id
Identifier of the target object.

Returns

The resulting value.

Function in ldk_os.h

ldk_os_joystick_vibration_right_set

Set the OS joystick vibration right.

LDK_API void ldk_os_joystick_vibration_right_set(
 LDKJoystickID id,
 float speed
);

Parameters

LDKJoystickID id
Identifier of the target object.
float speed
Speed used by this operation.