overlays = 3

overlay0_full_screen = true
overlay0_normalized = true
overlay0_aspect_ratio = 1.77777778
overlay0_block_x_separation = false
overlay0_block_y_separation = false
overlay0_name = "landscape"
overlay0_range_mod = 1.5
overlay0_alpha_mod = 2.0

overlay2_full_screen = true
overlay2_normalized = true
overlay2_aspect_ratio = 0.56236559139784946237
overlay2_block_x_separation = false
overlay2_block_y_separation = true
overlay2_name = "portrait"
overlay2_range_mod = 1.5
overlay2_alpha_mod = 2.0

overlay1_full_screen = true
overlay1_normalized = true
overlay1_aspect_ratio = 1.777778
overlay1_block_x_separation = false
overlay1_block_y_separation = false
overlay1_name = "hidden"
overlay1_range_mod = 1.5
overlay1_alpha_mod = 2.0

# Overlay 0 - landscape

overlay0_descs = 35

overlay0_desc0 = "left,0.07188,0.77778,radial,0.04479,0.06852"
overlay0_desc0_overlay = ../flat/img/dpad-left.png
overlay0_desc1 = "right,0.17813,0.77778,radial,0.04479,0.06852"
overlay0_desc1_overlay = ../flat/img/dpad-right.png
overlay0_desc2 = "up,0.12500,0.68333,radial,0.03854,0.07963"
overlay0_desc2_overlay = ../flat/img/dpad-up.png
overlay0_desc3 = "down,0.12500,0.87222,radial,0.03854,0.07963"
overlay0_desc3_overlay = ../flat/img/dpad-down.png
overlay0_desc4 = "left|up,0.05625,0.65556,rect,0.03021,0.05370"
overlay0_desc5 = "right|up,0.19375,0.65556,rect,0.03021,0.05370"
overlay0_desc6 = "left|down,0.05625,0.90000,rect,0.03021,0.05370"
overlay0_desc7 = "right|down,0.19375,0.90000,rect,0.03021,0.05370"

overlay0_desc8 = "a,0.92188,0.75000,radial,0.04167,0.07407"
overlay0_desc8_overlay = ../flat/img/A.png
overlay0_desc9 = "b,0.85938,0.86111,radial,0.04167,0.07407"
overlay0_desc9_overlay = ../flat/img/B.png
overlay0_desc10 = "x,0.85938,0.63889,radial,0.04167,0.07407"
overlay0_desc10_overlay = ../flat/img/X.png
overlay0_desc11 = "y,0.79688,0.75000,radial,0.04167,0.07407"
overlay0_desc11_overlay = ../flat/img/Y.png

overlay0_desc12 = "start,0.4,0.93,rect,0.025,0.046"
overlay0_desc12_overlay = ../flat/img/start_rounded_big.png
overlay0_desc13 = "select,0.6,0.93,rect,0.025,0.046"
overlay0_desc13_overlay = ../flat/img/select_rounded_big.png

overlay0_desc14 = "l,0.02917,0.08889,rect,0.04896,0.05370"
overlay0_desc14_overlay = ../flat/img/L_smaller.png
overlay0_desc15 = "l2,0.12917,0.08889,rect,0.035,0.05370"
overlay0_desc15_overlay = ../flat/img/ZL.png
overlay0_desc16 = "r,0.97083,0.08889,rect,0.04896,0.05370"
overlay0_desc16_overlay = ../flat/img/R_smaller.png

overlay0_desc17 = "r2,0.87083,0.08889,rect,0.035,0.05370"
overlay0_desc17_overlay = ../flat/img/ZR.png

overlay0_desc18 = "menu_toggle,0.5,0.93,radial,0.02604,0.046296"
overlay0_desc18_overlay = ../flat/img/rgui.png
overlay0_desc19 = "overlay_next,2.65000,2.08889,radial,0.02604,0.046296"
#overlay0_desc19_overlay = ../flat/img/rotate.png
overlay0_desc19_next_target = "portrait"

overlay0_desc20 = "nul,2.35000,2.08889,radial,0.02604,0.046296"
#overlay0_desc20_overlay = ../flat/img/overlay-B.png
#overlay0_desc20_next_target = "landscape-A"

overlay0_desc21 = "overlay_next,0.80000,0.08889,radial,0.02604,0.046296"
overlay0_desc21_overlay = ../flat/img/hide.png
overlay0_desc21_next_target = "hidden"

# Combo buttons
overlay0_desc22 = "x|y,0.82188,0.68333,radial,0.01389,0.02469"
overlay0_desc23 = "x|y,0.83438,0.70556,radial,0.01389,0.02469"

overlay0_desc24 = "a|b,0.88438,0.79444,radial,0.01389,0.02469"
overlay0_desc25 = "a|b,0.89688,0.81667,radial,0.01389,0.02469"

overlay0_desc26 = "y|b,0.82188,0.81667,radial,0.01389,0.02469"
overlay0_desc27 = "y|b,0.83438,0.79444,radial,0.01389,0.02469"

overlay0_desc28 = "x|a,0.88438,0.70556,radial,0.01389,0.02469"
overlay0_desc29 = "x|a,0.89688,0.68333,radial,0.01389,0.02469"

# Circle Pad
overlay0_desc30 = "nul,0.095,0.35,radial,0.08542,0.15185"
overlay0_desc30_overlay = ../flat/img/thumbstick-background.png
overlay0_desc31 = "analog_left,0.095,0.35,radial,0.08542,0.15185"
overlay0_desc31_overlay = ../flat/img/thumbstick-pad_arcade.png
overlay0_desc31_range_mod = 30.0
overlay0_desc31_saturate_pct = 0.65
overlay0_desc31_movable = true
overlay0_desc31_range_mod_exclusive = true

# C-stick
overlay0_desc32 = "nul,0.93,0.35,radial,0.06406,0.11388"
overlay0_desc32_overlay = ../flat/img/octagon-thumbstick-background.png
overlay0_desc33 = "analog_right,0.93,0.35,radial,0.037721,0.06667"
overlay0_desc33_overlay = ../flat/img/C.png
overlay0_desc33_range_mod = 30.0
overlay0_desc33_saturate_pct = 0.65
overlay0_desc33_movable = true
overlay0_desc33_range_mod_exclusive = true

overlay0_desc34 = "toggle_fast_forward,0.20000,0.08889,radial,0.02604,0.046296"
overlay0_desc34_overlay = ../flat/img/fast_forward.png

## Overlay 2: portrait
overlay2_descs = 33

# D-Pad
overlay2_desc0 = "down,0.21606118546845123896,0.95333333333333334814,radial,0.06118546845124282763,0.04247311827956989222"
overlay2_desc0_overlay = "../flat/img/dpad-down.png"

overlay2_desc1 = "left,0.12906309751434033584,0.90440860215053762605,radial,0.07552581261950286340,0.03440860215053763438"
overlay2_desc1_overlay = "../flat/img/dpad-left.png"

overlay2_desc2 = "right,0.30305927342256211432,0.90440860215053762605,radial,0.07552581261950286340,0.03440860215053763438"
overlay2_desc2_overlay = "../flat/img/dpad-right.png"

overlay2_desc3 = "up,0.21606118546845123896,0.85548387096774190397,radial,0.06118546845124282763,0.04247311827956989222"
overlay2_desc3_overlay = "../flat/img/dpad-up.png"

overlay2_desc4 = "down|left,0.09655831739961759363,0.97161290322580649459,rect,0.04302103250478011426,0.02419354838709677352"

overlay2_desc5 = "down|right,0.3355640535,0.9716129032,rect,0.04302103250478011426,0.02419354838709677352"

overlay2_desc6 = "up|left,0.09655831739961759363,0.83720430107526886854,rect,0.04302103250478011426,0.02419354838709677352"

overlay2_desc7 = "up|right,0.33556405353728491203,0.83720430107526886854,rect,0.04302103250478011426,0.02419354838709677352"

# ABXY
overlay2_desc8 = "a,0.88527724665391971381,0.90440860215053762605,radial,0.06118546845124282763,0.03440860215053763438"
overlay2_desc8_overlay = "../flat/img/A.png"

overlay2_desc9 = "b,0.78393881453154878880,0.96139784946236559904,radial,0.06118546845124282763,0.03440860215053763438"
overlay2_desc9_overlay = "../flat/img/B.png"

overlay2_desc10 = "x,0.78393881453154878880,0.84741935483870965307,radial,0.06118546845124282763,0.03440860215053763438"
overlay2_desc10_overlay = "../flat/img/X.png"

overlay2_desc11 = "y,0.68260038240917786379,0.90440860215053762605,radial,0.06118546845124282763,0.03440860215053763438"
overlay2_desc11_overlay = "../flat/img/Y.png"

# Select/start
overlay2_desc12 = "select,0.465,0.96,rect,0.035,0.02"
overlay2_desc12_overlay = "../flat/img/select_rounded_big.png"
overlay2_desc12_reach_left = 1.2
overlay2_desc12_reach_right = 1.6
overlay2_desc12_reach_y = 1.6
overlay2_desc12_exclusive = true

overlay2_desc13 = "start,0.535,0.96,rect,0.035,0.02"
overlay2_desc13_overlay = "../flat/img/start_rounded_big.png"
overlay2_desc13_reach_right = 1.2
overlay2_desc13_reach_left = 1.6
overlay2_desc13_reach_y = 1.6
overlay2_desc13_exclusive = true

# L/R buttons
overlay2_desc14 = "l,0.1,0.77,rect,0.065,0.02280645161290322578"
overlay2_desc14_overlay = "../flat/img/L_smaller.png"
overlay2_desc14_reach_x = 1.2
overlay2_desc14_reach_y = 2.0
overlay2_desc14_exclusive = true

overlay2_desc15 = "l2,0.2500000000,0.7700000000,rect,0.045,0.02280645161290322578"
overlay2_desc15_overlay = "../flat/img/ZL.png"
overlay2_desc15_reach_x = 1.6
overlay2_desc15_reach_y = 2.0
overlay2_desc15_exclusive = true

overlay2_desc16 = "r,0.9,0.77,rect,0.065,0.02280645161290322578"
overlay2_desc16_overlay = "../flat/img/R_smaller.png"
overlay2_desc16_reach_x = 1.2
overlay2_desc16_reach_y = 2.0
overlay2_desc16_exclusive = true

overlay2_desc17 = "r2,0.75,0.77,rect,0.045,0.02280645161290322578"
overlay2_desc17_overlay = "../flat/img/ZR.png"
overlay2_desc17_reach_x = 1.6
overlay2_desc17_reach_y = 2.0
overlay2_desc17_exclusive = true

# Hotkeys
overlay2_desc18 = "toggle_fast_forward,0.535,0.90,radial,0.035,0.02"
overlay2_desc18_overlay = "../flat/img/fast_forward.png"

overlay2_desc19 = "menu_toggle,0.5,0.77,radial,0.03824091778202676900,0.02150537634408602322"
overlay2_desc19_overlay = "../flat/img/rgui.png"
overlay2_desc19_reach_x = 1.67
overlay2_desc19_reach_y = 1.6

# Invisible rotate hotkey
overlay2_desc20 = "overlay_next,2.5,2.0,radial,0.03,0.02"
overlay2_desc20_next_target = "landscape"

# Combo buttons
overlay2_desc21 = "x|y,0.7171137778,0.8642330000,radial,0.02469,0.01389"
overlay2_desc22 = "x|y,0.7512576667,0.8769280000,radial,0.02469,0.01389"
overlay2_desc23 = "a|b,0.8269040000,0.9229570000,radial,0.02469,0.01389"
overlay2_desc24 = "a|b,0.8515014444,0.9394020000,radial,0.02469,0.01389"
overlay2_desc25 = "y|b,0.7205147778,0.9423660000,radial,0.02469,0.01389"
overlay2_desc26 = "y|b,0.7495576667,0.9217070000,radial,0.02469,0.01389"
overlay2_desc27 = "x|a,0.8241605556,0.8810270000,radial,0.02469,0.01389"
overlay2_desc28 = "x|a,0.8545746667,0.8629830000,radial,0.02469,0.01389"

# Circle Pad
overlay2_desc29 = "nul,0.15,0.625,radial,0.15185,0.08542"
overlay2_desc29_overlay = ../flat/img/thumbstick-background.png
overlay2_desc30 = "analog_left,0.15,0.625,radial,0.15185,0.08542"
overlay2_desc30_overlay = ../flat/img/thumbstick-pad_arcade.png
overlay2_desc30_range_mod = 30.0
overlay2_desc30_saturate_pct = 0.65
overlay2_desc30_movable = true
overlay2_desc30_range_mod_exclusive = true

# C-stick
overlay2_desc31 = "nul,0.88,0.625,radial,0.11388,0.06406"
overlay2_desc31_overlay = ../flat/img/octagon-thumbstick-background.png
overlay2_desc32 = "analog_right,0.88,0.625,radial,0.06667,0.037721"
overlay2_desc32_overlay = ../flat/img/C.png
overlay2_desc32_range_mod = 30.0
overlay2_desc32_saturate_pct = 0.65
overlay2_desc32_movable = true
overlay2_desc32_range_mod_exclusive = true

## Overlay 6: hidden
overlay1_descs = 1

# Show hotkey
overlay1_desc0 = "overlay_next,0.80000,0.08889,radial,0.02604,0.046296"
overlay1_desc0_next_target = "landscape"
overlay1_desc0_overlay = "../flat/img/show.png"
overlay1_desc0_reach_x = 1.6
overlay1_desc0_reach_y = 1.6
