[][src]Function wpilib_sys::bindings::HAL_GetJoystickName

pub unsafe extern "C" fn HAL_GetJoystickName(joystickNum: i32) -> *mut c_char

Gets the name of a joystick.

The returned array must be freed with HAL_FreeJoystickName.

Will be null terminated.

@param joystickNum the joystick number @return the joystick name