OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GameConfig::Gamepad Class Reference

#include <GameConfig.h>

Inheritance diagram for GameConfig::Gamepad:
ConfigSection

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
 
Configconfig () const
 
const std::string & name () const
 
void registerEntry (AnyConfigEntry *entry)
 
AnyConfigEntryentry (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."}
 

Constructor & Destructor Documentation

◆ Gamepad()

GameConfig::Gamepad::Gamepad ( GameConfig config)
inlineexplicit

Member Data Documentation

◆ AlwaysRun

Key GameConfig::Gamepad::AlwaysRun = {this, "always_run", PlatformKey::KEY_GAMEPAD_L3, "Always run toggle key."}

◆ Attack

Key GameConfig::Gamepad::Attack = {this, "attack", PlatformKey::KEY_GAMEPAD_L1, "Attack key."}

◆ AutoNotes

Key GameConfig::Gamepad::AutoNotes = {this, "auto_notes", PlatformKey::KEY_GAMEPAD_UP, "Open autonotes key."}

◆ Awards

Key GameConfig::Gamepad::Awards = {this, "awards", PlatformKey::KEY_GAMEPAD_L1, "Stats tab key."}

◆ Backward

Key GameConfig::Gamepad::Backward = {this, "backward", PlatformKey::KEY_GAMEPAD_LEFTSTICK_DOWN, "Walk backwards key."}

◆ Cast

Key GameConfig::Gamepad::Cast = {this, "cast", PlatformKey::KEY_GAMEPAD_DOWN, "Cast a spell from spellbook key."}

◆ CastReady

Key GameConfig::Gamepad::CastReady = {this, "cast_ready", PlatformKey::KEY_GAMEPAD_R1, "Cast a quick spell key."}

◆ CenterView

Key GameConfig::Gamepad::CenterView = {this, "center_view", PlatformKey::KEY_NONE, "Center view key."}

◆ CharCycle

Key GameConfig::Gamepad::CharCycle = {this, "char_cycle", PlatformKey::KEY_NONE, "Switch between characters key."}

◆ Clear

Key GameConfig::Gamepad::Clear = {this, "clear", PlatformKey::KEY_GAMEPAD_Y, "Clear button in New Party Creation menu."}

◆ Combat

Key GameConfig::Gamepad::Combat = {this, "combat", PlatformKey::KEY_GAMEPAD_START, "Switch between realtime and turn-based modes key."}

◆ Console

Key GameConfig::Gamepad::Console = {this, "console", PlatformKey::KEY_NONE, "Show/Hide overlays key."}

◆ Controls

Key GameConfig::Gamepad::Controls = {this, "controls", PlatformKey::KEY_GAMEPAD_L1, "Controls change menu key."}

◆ Credits

Key GameConfig::Gamepad::Credits = {this, "credits", PlatformKey::KEY_GAMEPAD_Y, "Credits menu key."}

◆ CycleFilter

Key GameConfig::Gamepad::CycleFilter = {this, "cycle_filter", PlatformKey::KEY_NONE, "Cycle rescale filter modes key."}

◆ DialogDown

Key GameConfig::Gamepad::DialogDown = {this, "dialog_down", PlatformKey::KEY_GAMEPAD_DOWN, "Dialog down key."}

◆ DialogLeft

Key GameConfig::Gamepad::DialogLeft = {this, "dialog_left", PlatformKey::KEY_GAMEPAD_LEFT, "Dialog left key."}

◆ DialogRight

Key GameConfig::Gamepad::DialogRight = {this, "dialog_right", PlatformKey::KEY_GAMEPAD_RIGHT, "Dialog right key."}

◆ DialogSelect

Key GameConfig::Gamepad::DialogSelect = {this, "dialog_select", PlatformKey::KEY_GAMEPAD_A, "Dialog select key."}

◆ DialogUp

Key GameConfig::Gamepad::DialogUp = {this, "dialog_up", PlatformKey::KEY_GAMEPAD_UP, "Dialog up key."}

◆ Escape

Key GameConfig::Gamepad::Escape = {this, "escape", PlatformKey::KEY_GAMEPAD_B, "Escape key."}

◆ EventTrigger

Key GameConfig::Gamepad::EventTrigger = {this, "event_trigger", PlatformKey::KEY_GAMEPAD_A, "Interaction key."}

◆ ExitGame

Key GameConfig::Gamepad::ExitGame = {this, "exit_game", PlatformKey::KEY_GAMEPAD_B, "Exit Game key."}

◆ FlyDown

Key GameConfig::Gamepad::FlyDown = {this, "fly_down", PlatformKey::KEY_GAMEPAD_L2, "Fly down key."}

◆ FlyUp

Key GameConfig::Gamepad::FlyUp = {this, "fly_up", PlatformKey::KEY_GAMEPAD_R2, "Fly up key."}

◆ Forward

Key GameConfig::Gamepad::Forward = {this, "forward", PlatformKey::KEY_GAMEPAD_LEFTSTICK_UP, "Move forward key."}

◆ History

Key GameConfig::Gamepad::History = {this, "history", PlatformKey::KEY_NONE, "History book key."}

◆ Inventory

Key GameConfig::Gamepad::Inventory = {this, "inventory", PlatformKey::KEY_GAMEPAD_Y, "Inventory tab key."}

◆ Jump

Key GameConfig::Gamepad::Jump = {this, "jump", PlatformKey::KEY_GAMEPAD_Y, "Jump key."}

◆ Land

Key GameConfig::Gamepad::Land = {this, "land", PlatformKey::KEY_GAMEPAD_R3, "Land key."}

◆ Left

Key GameConfig::Gamepad::Left = {this, "left", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_LEFT, "Turn left key."}

◆ LoadGame

Key GameConfig::Gamepad::LoadGame = {this, "load_game", PlatformKey::KEY_GAMEPAD_X, "Load Game menu key."}

◆ LookDown

Key GameConfig::Gamepad::LookDown = {this, "look_down", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_DOWN, "Look down key."}

◆ LookUp

Key GameConfig::Gamepad::LookUp = {this, "look_up", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_UP, "Look up key."}

◆ MapBook

Key GameConfig::Gamepad::MapBook = {this, "map_book", PlatformKey::KEY_GAMEPAD_LEFT, "Open map key."}

◆ Minus

Key GameConfig::Gamepad::Minus = {this, "minus", PlatformKey::KEY_GAMEPAD_L1, "Minus button in New Party Creation menu."}

◆ NewGame

Key GameConfig::Gamepad::NewGame = {this, "new_game", PlatformKey::KEY_GAMEPAD_A, "New Game menu key."}

◆ No

Key GameConfig::Gamepad::No = {this, "no", PlatformKey::KEY_GAMEPAD_B, "No answer key."}

◆ Options

Key GameConfig::Gamepad::Options = {this, "options", PlatformKey::KEY_GAMEPAD_R1, "Options menu key."}

◆ Pass

Key GameConfig::Gamepad::Pass = {this, "pass", PlatformKey::KEY_GAMEPAD_GUIDE, "Pass turn key."}

◆ Plus

Key GameConfig::Gamepad::Plus = {this, "plus", PlatformKey::KEY_GAMEPAD_R1, "Plus button in New Party Creation menu."}

◆ Quest

Key GameConfig::Gamepad::Quest = {this, "quest", PlatformKey::KEY_GAMEPAD_RIGHT, "Open quest book key."}

◆ QuickLoad

Key GameConfig::Gamepad::QuickLoad = {this, "quick_load", PlatformKey::KEY_NONE, "Quick load key."}

◆ QuickReference

Key GameConfig::Gamepad::QuickReference = {this, "quick_reference", PlatformKey::KEY_NONE, "Open quick reference menu key."}

◆ QuickSave

Key GameConfig::Gamepad::QuickSave = {this, "quick_save", PlatformKey::KEY_NONE, "Quick save key."}

◆ ReloadShaders

Key GameConfig::Gamepad::ReloadShaders = {this, "reload_shaders", PlatformKey::KEY_NONE, "Reload shaders key."}

◆ Rest

Key GameConfig::Gamepad::Rest = {this, "rest", PlatformKey::KEY_GAMEPAD_BACK, "Rest key."}

◆ Rest8Hours

Key GameConfig::Gamepad::Rest8Hours = {this, "rest_8_hours", PlatformKey::KEY_GAMEPAD_BACK, "Rest for 8 hours key in Rest menu."}

◆ Return

Key GameConfig::Gamepad::Return = {this, "return", PlatformKey::KEY_GAMEPAD_A, "Ok button in New Party Creation menu."}

◆ ReturnToGame

Key GameConfig::Gamepad::ReturnToGame = {this, "return_to_game", PlatformKey::KEY_GAMEPAD_B, "Return to Game mode key."}

◆ Right

Key GameConfig::Gamepad::Right = {this, "right", PlatformKey::KEY_GAMEPAD_RIGHTSTICK_RIGHT, "Turn right key."}

◆ SaveGame

Key GameConfig::Gamepad::SaveGame = {this, "save_game", PlatformKey::KEY_GAMEPAD_Y, "Save Game menu key."}

◆ Screenshot

Key GameConfig::Gamepad::Screenshot = {this, "screenshot", PlatformKey::KEY_NONE, "Make screenshot key."}

◆ SelectChar1

Key GameConfig::Gamepad::SelectChar1 = {this, "select_char_1", PlatformKey::KEY_NONE, "Select 1 character key."}

◆ SelectChar2

Key GameConfig::Gamepad::SelectChar2 = {this, "select_char_2", PlatformKey::KEY_NONE, "Select 2 character key."}

◆ SelectChar3

Key GameConfig::Gamepad::SelectChar3 = {this, "select_char_3", PlatformKey::KEY_NONE, "Select 3 character key."}

◆ SelectChar4

Key GameConfig::Gamepad::SelectChar4 = {this, "select_char_4", PlatformKey::KEY_NONE, "Select 4 character key."}

◆ SelectNPC1

Key GameConfig::Gamepad::SelectNPC1 = {this, "select_npc_1", PlatformKey::KEY_NONE, "Select 1 hireling key."}

◆ SelectNPC2

Key GameConfig::Gamepad::SelectNPC2 = {this, "select_npc_2", PlatformKey::KEY_NONE, "Select 2 hireling key."}

◆ Skills

Key GameConfig::Gamepad::Skills = {this, "skills", PlatformKey::KEY_GAMEPAD_X, "Skills tab key."}

◆ Stats

Key GameConfig::Gamepad::Stats = {this, "stats", PlatformKey::KEY_GAMEPAD_A, "Stats tab key."}

◆ StepLeft

Key GameConfig::Gamepad::StepLeft = {this, "step_left", PlatformKey::KEY_GAMEPAD_LEFTSTICK_LEFT, "Strafe left key."}

◆ StepRight

Key GameConfig::Gamepad::StepRight = {this, "step_right", PlatformKey::KEY_GAMEPAD_LEFTSTICK_RIGHT, "Strafe right key."}

◆ TimeCalendar

Key GameConfig::Gamepad::TimeCalendar = {this, "time_calendar", PlatformKey::KEY_NONE, "Open calendar key."}

◆ ToggleBorderless

Key GameConfig::Gamepad::ToggleBorderless = {this, "toggle_borderless", PlatformKey::KEY_NONE, "Toggle window borderless key."}

◆ ToggleFullscreen

Key GameConfig::Gamepad::ToggleFullscreen = {this, "toggle_fullscreen", PlatformKey::KEY_NONE, "Toggle window fullscreen key."}

◆ ToggleMouseGrab

Key GameConfig::Gamepad::ToggleMouseGrab = {this, "toggle_mouse_grab", PlatformKey::KEY_NONE, "Toggle mouse grab key."}

◆ ToggleResizable

Key GameConfig::Gamepad::ToggleResizable = {this, "toggle_resizable", PlatformKey::KEY_NONE, "Toggle window resizable key."}

◆ Wait5Minutes

Key GameConfig::Gamepad::Wait5Minutes = {this, "wait_5_minutes", PlatformKey::KEY_GAMEPAD_A, "Wait 5 minutes key in Rest menu."}

◆ WaitHour

Key GameConfig::Gamepad::WaitHour = {this, "wait_hour", PlatformKey::KEY_GAMEPAD_X, "Wait one hour key in Rest menu."}

◆ WaitTillDawn

Key GameConfig::Gamepad::WaitTillDawn = {this, "wait_till_dawn", PlatformKey::KEY_GAMEPAD_Y, "Wait till dawn key in Rest menu."}

◆ Yell

Key GameConfig::Gamepad::Yell = {this, "yell", PlatformKey::KEY_GAMEPAD_X, "Yell key."}

◆ Yes

Key GameConfig::Gamepad::Yes = {this, "yes", PlatformKey::KEY_GAMEPAD_A, "Yes answer key."}

◆ ZoomIn

Key GameConfig::Gamepad::ZoomIn = {this, "zoom_in", PlatformKey::KEY_NONE, "Zoom in automap key."}

◆ ZoomOut

Key GameConfig::Gamepad::ZoomOut = {this, "zoom_out", PlatformKey::KEY_NONE, "Zoom out automap key."}

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