Module applet_v5

Source

Structs§

AxisInput
AxisInputBits
bytemuck-generated type for internal purposes only.
GamepadButtonInput
GamepadButtonInputBits
bytemuck-generated type for internal purposes only.
KeyInput
MouseInput
MouseInputBits
bytemuck-generated type for internal purposes only.
RawMidiInput
RawMidiInputBits
bytemuck-generated type for internal purposes only.
TaggedEvent
TaggedEventBits
bytemuck-generated type for internal purposes only.
TouchInput
TouchInputBits
bytemuck-generated type for internal purposes only.
WindowState
Contains information about the window

Enums§

Axis
Axis input event axis enumeration.
CursorMode
CursorShape
EventType
EventType maps to a specific type Key => KeyInput
EventType2
GamepadButton
Describes a button of a gamepad controller.
KeyEventType
Key event type.
MouseButton
MouseEventType
Mouse event type enumeration.
TimestepMode
TouchEventType
Touch event type.
VirtualKeyCode
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.

Type Aliases§

PlayerIdRepr

Unions§

EventUnion