Structs§
- KeyInput
- KeyInput
Bits bytemuck
-generated type for internal purposes only.- Mouse
Input - Mouse
Input Bits bytemuck
-generated type for internal purposes only.- Touch
Input - Touch
Input Bits bytemuck
-generated type for internal purposes only.- Window
State - Contains information about the window
Enums§
- Cursor
Mode - Event
Type EventType
maps to a specific typeKey
=>KeyInput
- KeyEvent
Type - Key event type.
- Mouse
Button - Mouse
Event Type - Mouse event type enumeration.
- Touch
Event Type - Touch event type.
- Virtual
KeyCode - Symbolic name for a keyboard key
Statics§
- API
- FFI API
Functions§
- absolute_
time - The real time that has passed since the module was started, in seconds.
- applet__
absolute_ ⚠time - The real time that has passed since the module was started, in seconds.
- applet__
delta_ ⚠time - Returns the time between the current and last frame
- applet__
event_ ⚠size - The size of the allocation in bytes for the a given
EventType
. - applet__
retrieve_ ⚠events - Writes all events for a given
EventType
intoout_events
. - applet__
set_ ⚠cursor_ mode - delta_
time - Returns the time between the current and last frame
- event_
size - The size of the allocation in bytes for the a given
EventType
. - retrieve_
events - Writes all events for a given
EventType
intoout_events
. - set_
cursor_ mode