Struct ContextDefinition

Struct Documentation

struct ContextDefinition

Owned context definition, copied/configured before acceptance; no device is borrowed.

IDs are local and reusable across contexts/direct mappings. Empty collections create an empty namespace; button/axis conflicts and invalid mappings reject.

See also

Action contexts

Public Members

std::vector<ContextButton> buttons

Owned button/chord entries.

std::vector<ContextAxis> axes

Owned additive axis entries.