<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<GUI onCreate="onCreate" onOpen="onOpen" onClose="onClose">

    <GuiElement type="bitmap" profile="backgroundImage" />
    <GuiElement type="bitmap" profile="bgColorWhite70" position="0px 0px" size="1620px 900px" screenAlign="middleCenter" positionOrigin="middleCenter">     
        <GuiElement type="bitmap" profile="bgColorDarkGrey" screenAlign="topLeft" positionOrigin="topLeft" position="0px 0px" size="1620px 84px" >
            <GuiElement type="text" profile="loadingHeader" screenAlign="topCenter" position="0px -55px" text="$l10n_Button_Controls" />
        </GuiElement>
        
        <GuiElement type="bitmap" profile="bgColorLightGrey_95" screenAlign="topLeft" positionOrigin="topLeft" position="19px -104px" size="1566px 35px"  >
            <GuiElement type="text" profile="controlsHeader" screenAlign="bottomLeft" position="0px 4px"    text="$l10n_action" />
            <GuiElement type="text" profile="controlsHeader" screenAlign="bottomLeft" position="453px 4px"  text="$l10n_key1" />
            <GuiElement type="text" profile="controlsHeader" screenAlign="bottomLeft" position="789px 4px"  text="$l10n_key2" />
            <GuiElement type="text" profile="controlsHeader" screenAlign="bottomLeft" position="1125px 4px" text="$l10n_mouse" />
            <GuiElement type="text" profile="controlsHeader" screenAlign="bottomLeft" position="1366px 4px" text="$l10n_gamepad" />                  
        </GuiElement>
        <GuiElement type="slider" profile="slider" screenAlign="topRight" positionOrigin="topRight" position="0px -118px" size="16px 586px" onCreate="onCreateListSlider" >
            <GuiElement type="button" profile="sliderButtonUp" />
            <GuiElement type="button" profile="sliderButtonDown" />
            

            <GuiElement type="list" screenAlign="bottomLeft" positionOrigin="bottomLeft" position="-1585px -11px" size="1585px 576px" visibleItems="18" focusScrollsList="true" showSlider="false" listItemHeight="32px" onCreate="onCreateList" onScroll="onListScroll" onSelectionChanged="onListSelectionChanged" onDoubleClick="onDoubleClick" focusId="1" focusChangeBottom="2" focusChangeRight="2" focusChangeLeft="4">
                <GuiElement type="none" screenAlign="bottomLeft" positionOrigin="bottomLeft" position="0px 0px" size="1565px 30px" onCreate="onCreateListTemplate" >
                    <GuiElement type="listItem" profile="listItem" screenAlign="bottomLeft" position="0px 0px" size="451px 30px" onCreate="onCreateActionItem" >
                        <GuiElement type="text" profile="controlsText" screenAlign="bottomLeft" position="0px 0px" maxTextWidth="435px" onCreate="onCreateAction" />
                    </GuiElement>
                    <GuiElement type="listItem" profile="listItem" screenAlign="bottomLeft" position="453px 0px" size="334px 30px" onCreate="onCreateKey1Item" onClick="onClickKey1" >
                        <GuiElement type="text" profile="controlsText" screenAlign="bottomLeft" position="0px 0px" maxTextWidth="320px" onCreate="onCreateKey1"/>
                    </GuiElement>
                    <GuiElement type="listItem" profile="listItem" screenAlign="bottomLeft" position="789px 0px" size="334px 30px" onCreate="onCreateKey2Item" onClick="onClickKey2" >
                        <GuiElement type="text" profile="controlsText" screenAlign="bottomLeft" position="0px 0px" maxTextWidth="320px" onCreate="onCreateKey2" />
                    </GuiElement>
                    <GuiElement type="listItem" profile="listItem" screenAlign="bottomLeft" position="1125px 0px" size="239px 30px" onCreate="onCreateMouseItem" onClick="onClickMouse" >
                        <GuiElement type="text" profile="controlsText" screenAlign="bottomLeft" position="0px 0px" maxTextWidth="225px" onCreate="onCreateMouse"/>
                    </GuiElement>
                    <GuiElement type="listItem" profile="listItem" screenAlign="bottomLeft" position="1366px 0px" size="200px 30px" onCreate="onCreateGamepadItem" onClick="onClickGamepad" >
                        <GuiElement type="text" profile="controlsText" screenAlign="bottomLeft" position="0px 0px" maxTextWidth="185px" onCreate="onCreateGamepad"/>
                    </GuiElement>
                </GuiElement>
            </GuiElement>
        </GuiElement>
        
        <GuiElement type="bitmap" profile="bgColorRed" screenAlign="bottomLeft" position="0px 93px" size="1620px 70px" onCreate="infoTextBgOnCreate">
            <GuiElement type="text" profile="controlsWarning" screenAlign="bottomLeft" position="10px 39px" maxTextWidth="1600px" onCreate="onCreateControlsMessage1" text="$l10n_SelectActionToRemap" />
            <GuiElement type="text" profile="controlsWarning" screenAlign="bottomLeft" position="10px 13px" maxTextWidth="1600px" onCreate="onCreateControlsMessage2" text="" />
        </GuiElement>
    
        <GuiElement type="empty" id="buttonsPC" >
            <GuiElement type="button" profile="buttonBack"             screenAlign="bottomLeft" position="0px 0px"    size="480px 93px" text="$l10n_Button_Cancel"   onClick="onClickBack"                              focusId="4" focusChangeTop="1"                     focusChangeRight="3" />            
            <GuiElement type="button" profile="buttonDefaultSettings"  screenAlign="bottomLeft" position="482px 0px"  size="656px 93px" text="$l10n_Button_Defaults" onClick="onClickDefaults"                          focusId="3" focusChangeTop="1" focusChangeLeft="4" focusChangeRight="2" />
            <GuiElement type="button" profile="buttonOK"               screenAlign="bottomLeft" position="1140px 0px" size="480px 93px" text="$l10n_Button_Save"     onClick="onClickSave"     onCreate="onCreateStart" focusId="2" focusChangeTop="1" focusChangeLeft="3" />
        </GuiElement>
        <GuiElement type="empty" id="buttonsConsole" visible="false">
            <GuiElement type="button" profile="$controller_buttonCircle"   screenAlign="bottomLeft" position="0px 0px"  size="482px 93px" text="$l10n_Button_Cancel" />
            <GuiElement type="button" profile="$controller_buttonTriangle" screenAlign="bottomLeft" position="482px 0px"  size="656px 93px" text="$l10n_Button_Defaults" />
            <GuiElement type="button" profile="$controller_buttonCross"    screenAlign="bottomLeft" position="1140px 0px" size="482px 93px" text="$l10n_Button_Save" />
        </GuiElement>
    </GuiElement>
</GUI>

