[][src]Function wpilib_sys::bindings::HAL_GetJoystickType

pub unsafe extern "C" fn HAL_GetJoystickType(joystickNum: i32) -> i32

Gets the type of joystick connected.

This is device specific, and different depending on what system input type the joystick uses.

@param joystickNum the joystick number @return the enumerated joystick type