Modules/input manager

From MSX Game Library

< Modules

input_manager

Code: input_manager.h

Category: Gameplay

Dependencies:

Samples:

The input_manager module manages advanced access to inputs. It detects different types of events (short click, long click, double-click, etc.) and associates a callback function with them.

Usage

To use this module, include "input_manager.h" in your source code, and add "input_manager" to the modules list (LibModules) in your project's configuration file (project_config.js).


Samples

See module use cases in the sample programs:

Settings

Input manager module need those two options to be set to TRUE in the input module configuration: INPUT_USE_JOYSTICK and INPUT_USE_KEYBOARD.

Dependencies

Dependency on other modules:

Documentation