Type Definition glfw::JoystickCallback [−][src]
pub type JoystickCallback<UserData> = Callback<fn(_: JoystickId, _: JoystickEvent, _: &UserData), UserData>;
Expand description
An joystick callback. This can be supplied with some user data to be passed to the callback function when it is triggered.