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 ----------------------/
Verse using statement |
using { /Verse.org/Input } |
input_events<public>(t:any):input_events(t)
This function is a parametric type, meaning it returns a class or interface rather than a value or object instance.
Parameters
input_events takes the following parameters:
| Name | Type | Description |
|---|---|---|
t |
any |
Generated Class
input_events returns the parametric class input_events(t).
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with input_events in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |