pub unsafe extern "C" fn ulSetGamepadDetails(
renderer: ULRenderer,
index: c_uint,
id: ULString,
axis_count: c_uint,
button_count: c_uint,
)Expand description
Describe the details of a gamepad, to be used with ulFireGamepadEvent and related events below. This can be called multiple times with the same index if the details change.
@param renderer The active renderer instance.
@param index The unique index (or “connection slot”) of the gamepad. For example, controller #1 would be “1”, controller #2 would be “2” and so on.
@param id A string ID representing the device, this will be made available in JavaScript as gamepad.id
@param axis_count The number of axes on the device.
@param button_count The number of buttons on the device.