Input Module
Module import path: /Verse.org/Input
Classes and Structs
| Name | Description |
|---|---|
input_events(t) |
Input_events is a container for user input events which can be subscribed to. * Use the 'GetPlayerInput' and 'GetInputEvents' functions to retrieve an input_events object for a given player. * Low-level notifications of current user input: BeginDetectEvent, DetectionOngoingEvent, and EndDetectEvent. * High-level notifications of triggered events: TriggerActivationEvent and CancelActivationEvent. /—----------<-------\ BeginDetectEvent -> DetectionOngoingEvent -> TriggerActivationEvent -> EndDetectEvent /\ /\ / ---------------------> CancelActivationEvent ----------------------/ |
player_input |
The per-player input manager. Get one for a player with 'GetPlayerInput', then use it to: Turn input mappings on or off for that player with 'AddInputMapping' / 'RemoveInputMapping'. Get the 'input_events' object for an 'input_action' with 'GetInputEvents', and subscribe to its events to react to that input. An input_action only generates events for a player while at least one input_mapping that references it is active on that player. |
deproject_results |
Holds the world-space ray produced by deprojecting a viewport coordinate. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.