Structs§
Enums§
- Keycode
- 键盘按键枚举,对应 winit 的 KeyCode
- Playback
Command
Traits§
Functions§
- active_
touches - Get information about active touches.
- is_
key_ just_ pressed - Check if a key was just pressed this frame.
- is_
key_ just_ released - Check if a key was just released this frame.
- is_
key_ pressed - Check if a key is currently pressed down.
- is_
mouse_ button_ pressed - Check if a mouse button is currently pressed.
- is_
window_ focused - Check if the window is currently focused.
- just_
ended_ touches - Get IDs of touches that ended this frame.
- just_
moved_ touches - Get IDs of touches that moved this frame.
- just_
started_ touches - Get IDs of touches that started this frame.
- modifiers
- Get the current modifier keys state.
- mouse_
delta - Get the mouse delta movement for the current frame.
- mouse_
position - Get the current mouse position.
- mouse_
wheel_ delta - Get the mouse wheel scroll delta for the current frame.
- run
- was_
window_ resized - Check if the window was resized this frame.
- window_
size - Get the current window size.