Crate spottedcat

Source

Structs§

DrawOpt
Image
Mixer
Player
TouchInfo
Touch information
Track

Enums§

Keycode
键盘按键枚举,对应 winit 的 KeyCode
PlaybackCommand

Traits§

Spot

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.