# AA custom hotkeys

# MetaGame Interface hotkeys
map esc MetaGame OpenMetaGameMenuDialog
map a MetaGame MGCommand attack
map m MetaGame MGCommand move
map e MetaGame MGCommand endturn
map p MetaGame Purchase
map h MetaGame History

# MetaGame Help Popup
map esc MetaGameButtonHelpPopupClose
map enter MetaGameButtonHelpPopupClose

# MetaGame History Popup
map esc MetaGameButtonHistoryClose
map enter MetaGameButtonHistoryClose

# MetaGame Menu
map esc MetaGameButtonReturnToGame

# MetaGame Purchasing
map esc MetaGameButtonPurchaseClose

# MetaGame Start Battle
map esc MetaGameButtonStartBattleCancel

###############################
# game - UI                   #
###############################

map f1 ButtonObjectives
map f2 ButtonTechnology
map f3 ButtonMessageLog
map f4 ButtonPolitics
map f5 game "CycleSelection 2"	  # cycle detached regiments
map f6 game "CycleSelection 1"	  # cycle idle trucks
map f7 game "ChatBuddyList"

map y game "UseFactionAbility 0"
map h game "UseFactionAbility 1"
map n game "UseFactionAbility 2"
map j game "UseFactionAbility 3"

# cycle context
map tab game "CycleSelection 0"
map shift-tab game "CycleSelection 100"

map tab metagame "CycleSelection 0"
map shift-tab metagame "CycleSelection 100"

map f1 ObjectivesDisplay "ObjectivesDisplayClose"
map f2 TechnologyDisplay "TechnologyDisplayClose"
map f3 SideMessageLogPanel "MessageLogToggle"

map esc ObjectivesDisplay "ObjectivesDisplayClose"
map esc TechnologyDisplay "TechnologyDisplayClose"
map esc SideMessageLogPanel "MessageLogToggle"

map alt-shift-a ChooseCampaign CampaignComplete

###############################
# metagame - upgrade buttons  #
###############################

map d MetaGameButtonUpgrade1
map v MetaGameButtonUpgrade2
map n MetaGameButtonUpgrade3


