[−][src]Function wpilib_sys::bindings::HAL_GetJoystickButtons
pub unsafe extern "C" fn HAL_GetJoystickButtons(
joystickNum: i32,
buttons: *mut HAL_JoystickButtons
) -> i32
Gets the buttons of a specific joystick.
@param joystickNum the joystick number @param buttons the button values (output) @return the error code, or 0 for success