Input
This section provides a description of the input-related functionality.
Input consts covers key codes for handling input states from buttons on mouse, keyboard and gamepad (for both raw input events and action set button indexes).
Action set module provides functionality related to action sets, including:
enumerations and structures for action types
functions to define and manage action sets, as well as functions to handle state of actions
Raw input module provides functionality related for global input state, including:
enumerations and structures for types of mouse, keyboard, and gamepad raw events
functions to handle these events
Warning
Raw input module is not recommended for use due to lack of built-in cross-platform support. It is recommended to use the Action set module instead
To use the entire input module, add the following line to your project file:
require engine.input_core // or require engine.core