Skip to content

InputConfig

Struct

Source: InputConfig.h

Description

Configuration structure for the InputManager.

Defines the mapping between logical inputs and physical pins (ESP32) or keyboard keys (Native/SDL2).

Uses variadic arguments to allow flexible configuration of input count.

Properties

NameTypeDescription
buttonNamesstd::vector<uint8_t>Array of button mappings (scancodes) for Native.
inputPinsstd::vector<int>Array of GPIO pin numbers for ESP32.
countintTotal number of configured inputs.

Released under the MIT License.