OpenEnroth 73e68f7
|
#include <GameConfig.h>
Public Member Functions | |
Gamepad (GameConfig *config) | |
Public Member Functions inherited from ConfigSection | |
ConfigSection (Config *config, std::string_view name) | |
ConfigSection (const ConfigSection &other)=delete | |
ConfigSection (ConfigSection &&other)=delete | |
Config * | config () const |
const std::string & | name () const |
void | registerEntry (AnyConfigEntry *entry) |
AnyConfigEntry * | entry (std::string_view name) const |
std::vector< AnyConfigEntry * > | entries () const |
Public Attributes | |
Key | AlwaysRun = {this, "always_run", PlatformKey::KEY_GAMEPAD_L3, "Always run toggle key."} |
Key | Attack = {this, "attack", PlatformKey::KEY_GAMEPAD_L1, "Attack key."} |
Key | AutoNotes = {this, "auto_notes", PlatformKey::KEY_GAMEPAD_UP, "Open autonotes key."} |
Key | Backward = {this, "backward", PlatformKey::KEY_GAMEPAD_LEFTSTICK_DOWN, "Walk backwards key."} |
Key | Cast = {this, "cast", PlatformKey::KEY_GAMEPAD_DOWN, "Cast a spell from spellbook key."} |
Key | CastReady = {this, "cast_ready", PlatformKey::KEY_GAMEPAD_R1, "Cast a quick spell key."} |
Key | CenterView = {this, "center_view", PlatformKey::KEY_NONE, "Center view key."} |
Key | CharCycle = {this, "char_cycle", PlatformKey::KEY_NONE, "Switch between characters key."} |
Key | Combat = {this, "combat", PlatformKey::KEY_GAMEPAD_START, "Switch between realtime and turn-based modes key."} |
Key | EventTrigger = {this, "event_trigger", PlatformKey::KEY_GAMEPAD_A, "Interaction key."} |
Key | FlyDown = {this, "fly_down", PlatformKey::KEY_GAMEPAD_L2, "Fly down key."} |
Key | FlyUp = {this, "fly_up", PlatformKey::KEY_GAMEPAD_R2, "Fly up key."} |
Key | Forward = {this, "forward", PlatformKey::KEY_GAMEPAD_LEFTSTICK_UP, "Move forward key."} |
Key | Jump = {this, "jump", PlatformKey::KEY_GAMEPAD_Y, "Jump key."} |
Key | Land = {this, "land", PlatformKey::KEY_GAMEPAD_R3, "Land key."} |
Key | Left = {this, "left", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_LEFT, "Turn left key."} |
Key | LookDown = {this, "look_down", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_DOWN, "Look down key."} |
Key | LookUp = {this, "look_up", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_UP, "Look up key."} |
Key | MapBook = {this, "map_book", PlatformKey::KEY_GAMEPAD_LEFT, "Open map key."} |
Key | Pass = {this, "pass", PlatformKey::KEY_GAMEPAD_GUIDE, "Pass turn key."} |
Key | Quest = {this, "quest", PlatformKey::KEY_GAMEPAD_RIGHT, "Open quest book key."} |
Key | QuickReference = {this, "quick_reference", PlatformKey::KEY_NONE, "Open quick reference menu key."} |
Key | Rest = {this, "rest", PlatformKey::KEY_GAMEPAD_BACK, "Rest key."} |
Key | Right = {this, "right", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_RIGHT, "Turn right key."} |
Key | StepLeft = {this, "step_left", PlatformKey::KEY_GAMEPAD_LEFTSTICK_LEFT, "Strafe left key."} |
Key | StepRight = {this, "step_right", PlatformKey::KEY_GAMEPAD_LEFTSTICK_RIGHT, "Strafe right key."} |
Key | TimeCalendar = {this, "time_calendar", PlatformKey::KEY_NONE, "Open calendar key."} |
Key | Yell = {this, "yell", PlatformKey::KEY_GAMEPAD_X, "Yell key."} |
Key | ZoomIn = {this, "zoom_in", PlatformKey::KEY_NONE, "Zoom in automap key."} |
Key | ZoomOut = {this, "zoom_out", PlatformKey::KEY_NONE, "Zoom out automap key."} |
Key | QuickSave = {this, "quick_save", PlatformKey::KEY_NONE, "Quick save key."} |
Key | QuickLoad = {this, "quick_load", PlatformKey::KEY_NONE, "Quick load key."} |
Key | History = {this, "history", PlatformKey::KEY_NONE, "History book key."} |
Key | Stats = {this, "stats", PlatformKey::KEY_GAMEPAD_A, "Stats tab key."} |
Key | Skills = {this, "skills", PlatformKey::KEY_GAMEPAD_X, "Skills tab key."} |
Key | Inventory = {this, "inventory", PlatformKey::KEY_GAMEPAD_Y, "Inventory tab key."} |
Key | Awards = {this, "awards", PlatformKey::KEY_GAMEPAD_L1, "Stats tab key."} |
Key | NewGame = {this, "new_game", PlatformKey::KEY_GAMEPAD_A, "New Game menu key."} |
Key | SaveGame = {this, "save_game", PlatformKey::KEY_GAMEPAD_Y, "Save Game menu key."} |
Key | LoadGame = {this, "load_game", PlatformKey::KEY_GAMEPAD_X, "Load Game menu key."} |
Key | ExitGame = {this, "exit_game", PlatformKey::KEY_GAMEPAD_B, "Exit Game key."} |
Key | ReturnToGame = {this, "return_to_game", PlatformKey::KEY_GAMEPAD_B, "Return to Game mode key."} |
Key | Controls = {this, "controls", PlatformKey::KEY_GAMEPAD_L1, "Controls change menu key."} |
Key | Options = {this, "options", PlatformKey::KEY_GAMEPAD_R1, "Options menu key."} |
Key | Credits = {this, "credits", PlatformKey::KEY_GAMEPAD_Y, "Credits menu key."} |
Key | Clear = {this, "clear", PlatformKey::KEY_GAMEPAD_Y, "Clear button in New Party Creation menu."} |
Key | Return = {this, "return", PlatformKey::KEY_GAMEPAD_A, "Ok button in New Party Creation menu."} |
Key | Minus = {this, "minus", PlatformKey::KEY_GAMEPAD_L1, "Minus button in New Party Creation menu."} |
Key | Plus = {this, "plus", PlatformKey::KEY_GAMEPAD_R1, "Plus button in New Party Creation menu."} |
Key | Yes = {this, "yes", PlatformKey::KEY_GAMEPAD_A, "Yes answer key."} |
Key | No = {this, "no", PlatformKey::KEY_GAMEPAD_B, "No answer key."} |
Key | Rest8Hours = {this, "rest_8_hours", PlatformKey::KEY_GAMEPAD_BACK, "Rest for 8 hours key in Rest menu."} |
Key | WaitTillDawn = {this, "wait_till_dawn", PlatformKey::KEY_GAMEPAD_Y, "Wait till dawn key in Rest menu."} |
Key | WaitHour = {this, "wait_hour", PlatformKey::KEY_GAMEPAD_X, "Wait one hour key in Rest menu."} |
Key | Wait5Minutes = {this, "wait_5_minutes", PlatformKey::KEY_GAMEPAD_A, "Wait 5 minutes key in Rest menu."} |
Key | Screenshot = {this, "screenshot", PlatformKey::KEY_NONE, "Make screenshot key."} |
Key | Console = {this, "console", PlatformKey::KEY_NONE, "Show/Hide overlays key."} |
Key | ToggleMouseGrab = {this, "toggle_mouse_grab", PlatformKey::KEY_NONE, "Toggle mouse grab key."} |
Key | ToggleBorderless = {this, "toggle_borderless", PlatformKey::KEY_NONE, "Toggle window borderless key."} |
Key | ToggleFullscreen = {this, "toggle_fullscreen", PlatformKey::KEY_NONE, "Toggle window fullscreen key."} |
Key | ToggleResizable = {this, "toggle_resizable", PlatformKey::KEY_NONE, "Toggle window resizable key."} |
Key | CycleFilter = {this, "cycle_filter", PlatformKey::KEY_NONE, "Cycle rescale filter modes key."} |
Key | ReloadShaders = {this, "reload_shaders", PlatformKey::KEY_NONE, "Reload shaders key."} |
Key | SelectChar1 = {this, "select_char_1", PlatformKey::KEY_NONE, "Select 1 character key."} |
Key | SelectChar2 = {this, "select_char_2", PlatformKey::KEY_NONE, "Select 2 character key."} |
Key | SelectChar3 = {this, "select_char_3", PlatformKey::KEY_NONE, "Select 3 character key."} |
Key | SelectChar4 = {this, "select_char_4", PlatformKey::KEY_NONE, "Select 4 character key."} |
Key | SelectNPC1 = {this, "select_npc_1", PlatformKey::KEY_NONE, "Select 1 hireling key."} |
Key | SelectNPC2 = {this, "select_npc_2", PlatformKey::KEY_NONE, "Select 2 hireling key."} |
Key | DialogUp = {this, "dialog_up", PlatformKey::KEY_GAMEPAD_UP, "Dialog up key."} |
Key | DialogDown = {this, "dialog_down", PlatformKey::KEY_GAMEPAD_DOWN, "Dialog down key."} |
Key | DialogLeft = {this, "dialog_left", PlatformKey::KEY_GAMEPAD_LEFT, "Dialog left key."} |
Key | DialogRight = {this, "dialog_right", PlatformKey::KEY_GAMEPAD_RIGHT, "Dialog right key."} |
Key | DialogSelect = {this, "dialog_select", PlatformKey::KEY_GAMEPAD_A, "Dialog select key."} |
Key | Escape = {this, "escape", PlatformKey::KEY_GAMEPAD_B, "Escape key."} |
|
inlineexplicit |
Key GameConfig::Gamepad::AlwaysRun = {this, "always_run", PlatformKey::KEY_GAMEPAD_L3, "Always run toggle key."} |
Key GameConfig::Gamepad::Attack = {this, "attack", PlatformKey::KEY_GAMEPAD_L1, "Attack key."} |
Key GameConfig::Gamepad::AutoNotes = {this, "auto_notes", PlatformKey::KEY_GAMEPAD_UP, "Open autonotes key."} |
Key GameConfig::Gamepad::Awards = {this, "awards", PlatformKey::KEY_GAMEPAD_L1, "Stats tab key."} |
Key GameConfig::Gamepad::Backward = {this, "backward", PlatformKey::KEY_GAMEPAD_LEFTSTICK_DOWN, "Walk backwards key."} |
Key GameConfig::Gamepad::Cast = {this, "cast", PlatformKey::KEY_GAMEPAD_DOWN, "Cast a spell from spellbook key."} |
Key GameConfig::Gamepad::CastReady = {this, "cast_ready", PlatformKey::KEY_GAMEPAD_R1, "Cast a quick spell key."} |
Key GameConfig::Gamepad::CenterView = {this, "center_view", PlatformKey::KEY_NONE, "Center view key."} |
Key GameConfig::Gamepad::CharCycle = {this, "char_cycle", PlatformKey::KEY_NONE, "Switch between characters key."} |
Key GameConfig::Gamepad::Clear = {this, "clear", PlatformKey::KEY_GAMEPAD_Y, "Clear button in New Party Creation menu."} |
Key GameConfig::Gamepad::Combat = {this, "combat", PlatformKey::KEY_GAMEPAD_START, "Switch between realtime and turn-based modes key."} |
Key GameConfig::Gamepad::Console = {this, "console", PlatformKey::KEY_NONE, "Show/Hide overlays key."} |
Key GameConfig::Gamepad::Controls = {this, "controls", PlatformKey::KEY_GAMEPAD_L1, "Controls change menu key."} |
Key GameConfig::Gamepad::Credits = {this, "credits", PlatformKey::KEY_GAMEPAD_Y, "Credits menu key."} |
Key GameConfig::Gamepad::CycleFilter = {this, "cycle_filter", PlatformKey::KEY_NONE, "Cycle rescale filter modes key."} |
Key GameConfig::Gamepad::DialogDown = {this, "dialog_down", PlatformKey::KEY_GAMEPAD_DOWN, "Dialog down key."} |
Key GameConfig::Gamepad::DialogLeft = {this, "dialog_left", PlatformKey::KEY_GAMEPAD_LEFT, "Dialog left key."} |
Key GameConfig::Gamepad::DialogRight = {this, "dialog_right", PlatformKey::KEY_GAMEPAD_RIGHT, "Dialog right key."} |
Key GameConfig::Gamepad::DialogSelect = {this, "dialog_select", PlatformKey::KEY_GAMEPAD_A, "Dialog select key."} |
Key GameConfig::Gamepad::DialogUp = {this, "dialog_up", PlatformKey::KEY_GAMEPAD_UP, "Dialog up key."} |
Key GameConfig::Gamepad::Escape = {this, "escape", PlatformKey::KEY_GAMEPAD_B, "Escape key."} |
Key GameConfig::Gamepad::EventTrigger = {this, "event_trigger", PlatformKey::KEY_GAMEPAD_A, "Interaction key."} |
Key GameConfig::Gamepad::ExitGame = {this, "exit_game", PlatformKey::KEY_GAMEPAD_B, "Exit Game key."} |
Key GameConfig::Gamepad::FlyDown = {this, "fly_down", PlatformKey::KEY_GAMEPAD_L2, "Fly down key."} |
Key GameConfig::Gamepad::FlyUp = {this, "fly_up", PlatformKey::KEY_GAMEPAD_R2, "Fly up key."} |
Key GameConfig::Gamepad::Forward = {this, "forward", PlatformKey::KEY_GAMEPAD_LEFTSTICK_UP, "Move forward key."} |
Key GameConfig::Gamepad::History = {this, "history", PlatformKey::KEY_NONE, "History book key."} |
Key GameConfig::Gamepad::Inventory = {this, "inventory", PlatformKey::KEY_GAMEPAD_Y, "Inventory tab key."} |
Key GameConfig::Gamepad::Jump = {this, "jump", PlatformKey::KEY_GAMEPAD_Y, "Jump key."} |
Key GameConfig::Gamepad::Land = {this, "land", PlatformKey::KEY_GAMEPAD_R3, "Land key."} |
Key GameConfig::Gamepad::Left = {this, "left", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_LEFT, "Turn left key."} |
Key GameConfig::Gamepad::LoadGame = {this, "load_game", PlatformKey::KEY_GAMEPAD_X, "Load Game menu key."} |
Key GameConfig::Gamepad::LookDown = {this, "look_down", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_DOWN, "Look down key."} |
Key GameConfig::Gamepad::LookUp = {this, "look_up", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_UP, "Look up key."} |
Key GameConfig::Gamepad::MapBook = {this, "map_book", PlatformKey::KEY_GAMEPAD_LEFT, "Open map key."} |
Key GameConfig::Gamepad::Minus = {this, "minus", PlatformKey::KEY_GAMEPAD_L1, "Minus button in New Party Creation menu."} |
Key GameConfig::Gamepad::NewGame = {this, "new_game", PlatformKey::KEY_GAMEPAD_A, "New Game menu key."} |
Key GameConfig::Gamepad::No = {this, "no", PlatformKey::KEY_GAMEPAD_B, "No answer key."} |
Key GameConfig::Gamepad::Options = {this, "options", PlatformKey::KEY_GAMEPAD_R1, "Options menu key."} |
Key GameConfig::Gamepad::Pass = {this, "pass", PlatformKey::KEY_GAMEPAD_GUIDE, "Pass turn key."} |
Key GameConfig::Gamepad::Plus = {this, "plus", PlatformKey::KEY_GAMEPAD_R1, "Plus button in New Party Creation menu."} |
Key GameConfig::Gamepad::Quest = {this, "quest", PlatformKey::KEY_GAMEPAD_RIGHT, "Open quest book key."} |
Key GameConfig::Gamepad::QuickReference = {this, "quick_reference", PlatformKey::KEY_NONE, "Open quick reference menu key."} |
Key GameConfig::Gamepad::ReloadShaders = {this, "reload_shaders", PlatformKey::KEY_NONE, "Reload shaders key."} |
Key GameConfig::Gamepad::Rest = {this, "rest", PlatformKey::KEY_GAMEPAD_BACK, "Rest key."} |
Key GameConfig::Gamepad::Rest8Hours = {this, "rest_8_hours", PlatformKey::KEY_GAMEPAD_BACK, "Rest for 8 hours key in Rest menu."} |
Key GameConfig::Gamepad::Return = {this, "return", PlatformKey::KEY_GAMEPAD_A, "Ok button in New Party Creation menu."} |
Key GameConfig::Gamepad::ReturnToGame = {this, "return_to_game", PlatformKey::KEY_GAMEPAD_B, "Return to Game mode key."} |
Key GameConfig::Gamepad::Right = {this, "right", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_RIGHT, "Turn right key."} |
Key GameConfig::Gamepad::SaveGame = {this, "save_game", PlatformKey::KEY_GAMEPAD_Y, "Save Game menu key."} |
Key GameConfig::Gamepad::Screenshot = {this, "screenshot", PlatformKey::KEY_NONE, "Make screenshot key."} |
Key GameConfig::Gamepad::SelectChar1 = {this, "select_char_1", PlatformKey::KEY_NONE, "Select 1 character key."} |
Key GameConfig::Gamepad::SelectChar2 = {this, "select_char_2", PlatformKey::KEY_NONE, "Select 2 character key."} |
Key GameConfig::Gamepad::SelectChar3 = {this, "select_char_3", PlatformKey::KEY_NONE, "Select 3 character key."} |
Key GameConfig::Gamepad::SelectChar4 = {this, "select_char_4", PlatformKey::KEY_NONE, "Select 4 character key."} |
Key GameConfig::Gamepad::SelectNPC1 = {this, "select_npc_1", PlatformKey::KEY_NONE, "Select 1 hireling key."} |
Key GameConfig::Gamepad::SelectNPC2 = {this, "select_npc_2", PlatformKey::KEY_NONE, "Select 2 hireling key."} |
Key GameConfig::Gamepad::Skills = {this, "skills", PlatformKey::KEY_GAMEPAD_X, "Skills tab key."} |
Key GameConfig::Gamepad::Stats = {this, "stats", PlatformKey::KEY_GAMEPAD_A, "Stats tab key."} |
Key GameConfig::Gamepad::StepLeft = {this, "step_left", PlatformKey::KEY_GAMEPAD_LEFTSTICK_LEFT, "Strafe left key."} |
Key GameConfig::Gamepad::StepRight = {this, "step_right", PlatformKey::KEY_GAMEPAD_LEFTSTICK_RIGHT, "Strafe right key."} |
Key GameConfig::Gamepad::TimeCalendar = {this, "time_calendar", PlatformKey::KEY_NONE, "Open calendar key."} |
Key GameConfig::Gamepad::ToggleBorderless = {this, "toggle_borderless", PlatformKey::KEY_NONE, "Toggle window borderless key."} |
Key GameConfig::Gamepad::ToggleFullscreen = {this, "toggle_fullscreen", PlatformKey::KEY_NONE, "Toggle window fullscreen key."} |
Key GameConfig::Gamepad::ToggleMouseGrab = {this, "toggle_mouse_grab", PlatformKey::KEY_NONE, "Toggle mouse grab key."} |
Key GameConfig::Gamepad::ToggleResizable = {this, "toggle_resizable", PlatformKey::KEY_NONE, "Toggle window resizable key."} |
Key GameConfig::Gamepad::Wait5Minutes = {this, "wait_5_minutes", PlatformKey::KEY_GAMEPAD_A, "Wait 5 minutes key in Rest menu."} |
Key GameConfig::Gamepad::WaitHour = {this, "wait_hour", PlatformKey::KEY_GAMEPAD_X, "Wait one hour key in Rest menu."} |
Key GameConfig::Gamepad::WaitTillDawn = {this, "wait_till_dawn", PlatformKey::KEY_GAMEPAD_Y, "Wait till dawn key in Rest menu."} |
Key GameConfig::Gamepad::Yell = {this, "yell", PlatformKey::KEY_GAMEPAD_X, "Yell key."} |
Key GameConfig::Gamepad::Yes = {this, "yes", PlatformKey::KEY_GAMEPAD_A, "Yes answer key."} |
Key GameConfig::Gamepad::ZoomIn = {this, "zoom_in", PlatformKey::KEY_NONE, "Zoom in automap key."} |
Key GameConfig::Gamepad::ZoomOut = {this, "zoom_out", PlatformKey::KEY_NONE, "Zoom out automap key."} |