pub type GLFWcharmodsfun = Option<unsafe extern "C" fn(*mut GLFWwindow, u32, i32)>;Expand description
@brief The function pointer type for Unicode character with modifiers callbacks.
This is the function pointer type for Unicode character with modifiers callbacks. It is called for each input character, regardless of what modifier keys are held down. A Unicode character with modifiers callback function has the following signature: @code void function_name(GLFWwindow* window, unsigned int codepoint, int mods) @endcode
@param[in] window The window that received the event. @param[in] codepoint The Unicode code point of the character. @param[in] mods Bit field describing which [modifier keys](@ref mods) were held down.
@sa @ref input_char @sa @ref glfwSetCharModsCallback
@deprecated Scheduled for removal in version 4.0.
@since Added in version 3.1.
@ingroup input
Aliased Type§
pub enum GLFWcharmodsfun {
None,
Some(unsafe extern "C" fn(*mut GLFWwindow, u32, i32)),
}