pub type GLFWjoystickfun = Option<unsafe extern "C" fn(i32, i32)>;Expand description
@brief The function pointer type for joystick configuration callbacks.
This is the function pointer type for joystick configuration callbacks. A joystick configuration callback function has the following signature: @code void function_name(int jid, int event) @endcode
@param[in] jid The joystick that was connected or disconnected.
@param[in] event One of GLFW_CONNECTED or GLFW_DISCONNECTED. Future
releases may add more events.
@sa @ref joystick_event @sa @ref glfwSetJoystickCallback
@since Added in version 3.2.
@ingroup input
Aliased Type§
pub enum GLFWjoystickfun {
None,
Some(unsafe extern "C" fn(i32, i32)),
}