Structs§
- Axis
Input - Axis
Input Bits bytemuck
-generated type for internal purposes only.- Gamepad
Button Input - Gamepad
Button Input Bits bytemuck
-generated type for internal purposes only.- KeyInput
- Mouse
Input - Mouse
Input Bits bytemuck
-generated type for internal purposes only.- RawMidi
Input - RawMidi
Input Bits bytemuck
-generated type for internal purposes only.- Tagged
Event - Tagged
Event 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§
- Axis
- Axis input event axis enumeration.
- Cursor
Mode - Cursor
Shape - Event
Type EventType
maps to a specific typeKey
=>KeyInput
- Event
Type2 - Gamepad
Button - Describes a button of a gamepad controller.
- KeyEvent
Type - Key event type.
- Mouse
Button - Mouse
Event Type - Mouse event type enumeration.
- Timestep
Mode - Touch
Event Type - Touch event type.
- Virtual
KeyCode - Symbolic name for a keyboard key
Statics§
- API
- FFI API
Functions§
- applet__
broadcast_ ⚠message - In multiplayer mode, broadcasts a message to all the players for the specified duration (in ms).
- applet__
events_ ⚠count - Call first to know how many events to expect from
events_get
. - applet__
events_ ⚠get - Writes all events into
out_events
for a specific player (0 == local). - applet__
get_ ⚠launch_ argument_ string - Retrieves module launch argument string.
- applet__
set_ ⚠simulation_ rate - Set the module update and physics simulation frequency in Hz. Default is 60 Hz.
- applet__
show_ ⚠virtual_ keyboard - Request the virtual keyboard to be shown or not for the specified player
- applet__
simulation_ ⚠rate - Get the module update and physics simulation frequency in Hz. Default is 60 Hz.
- broadcast_
message - In multiplayer mode, broadcasts a message to all the players for the specified duration (in ms).
- events_
count - Call first to know how many events to expect from
events_get
. - events_
get - Writes all events into
out_events
for a specific player (0 == local). - get_
launch_ argument_ string - Retrieves module launch argument string.
- set_
simulation_ rate - Set the module update and physics simulation frequency in Hz. Default is 60 Hz.
- show_
virtual_ keyboard - Request the virtual keyboard to be shown or not for the specified player
- simulation_
rate - Get the module update and physics simulation frequency in Hz. Default is 60 Hz.