Player12
An open source football management simulator
Loading...
Searching...
No Matches
Input::ActionDef Struct Reference

Description of an action, given once at registration. More...

#include <input_actions.h>

Public Attributes

std::string id
 
std::string label_key
 
Category category = Category::NAVIGATION
 
Context context = Context::MANAGEMENT
 
ImGuiKeyChord primary = ImGuiKey_None
 
ImGuiKeyChord alternate = ImGuiKey_None
 
bool rebindable = true
 

Detailed Description

Description of an action, given once at registration.

Member Data Documentation

◆ alternate

ImGuiKeyChord Input::ActionDef::alternate = ImGuiKey_None

Default second chord.

◆ category

Category Input::ActionDef::category = Category::NAVIGATION

◆ context

Context Input::ActionDef::context = Context::MANAGEMENT

◆ id

std::string Input::ActionDef::id

Stable id, e.g. "match.pause".

◆ label_key

std::string Input::ActionDef::label_key

Language key of the label.

◆ primary

ImGuiKeyChord Input::ActionDef::primary = ImGuiKey_None

Default chord.

◆ rebindable

bool Input::ActionDef::rebindable = true

Fixed actions are listed but locked.


The documentation for this struct was generated from the following file: