# TODO: it's missing an overlay "B" with small buttons

overlays = 3

overlay0_full_screen = true
overlay0_normalized = true
overlay0_name = "landscape"
overlay0_range_mod = 1.5
overlay0_alpha_mod = 2.0

overlay1_full_screen = true
overlay1_normalized = true
overlay1_name = "portrait"
overlay1_range_mod = 1.5
overlay1_alpha_mod = 2.0

overlay2_full_screen = true
overlay2_normalized = true
overlay2_name = "hidden"
overlay2_range_mod = 1.5
overlay2_alpha_mod = 2.0


# Overlay 0 - landscape

overlay0_descs = 49

# D-pad X
overlay0_desc0 = "left,0.07188,0.77778,radial,0.05000,0.08889"
overlay0_desc0_overlay = ../flat/img/X4_wswan.png
overlay0_desc1 = "right,0.19896,0.77778,radial,0.05000,0.08889"
overlay0_desc1_overlay = ../flat/img/X2_wswan.png
overlay0_desc2 = "up,0.13542,0.66481,radial,0.05000,0.08889"
overlay0_desc2_overlay = ../flat/img/X1_wswan.png
overlay0_desc3 = "down,0.13542,0.89074,radial,0.05000,0.08889"
overlay0_desc3_overlay = ../flat/img/X3_wswan.png

overlay0_desc4 = "left|up,0.09636,0.70833,radial,0.01334,0.02370"
#overlay0_desc4_overlay = ../flat/img/test.png
overlay0_desc5 = "left|up,0.11094,0.73426,radial,0.01334,0.02370"
#overlay0_desc5_overlay = ../flat/img/test.png
overlay0_desc6 = "left|up,0.08178,0.68241,radial,0.01334,0.02370"
#overlay0_desc6_overlay = ../flat/img/test.png
overlay0_desc7 = "left|up,0.05990,0.64352,radial,0.02604,0.04630"
#overlay0_desc7_overlay = ../flat/img/test.png

overlay0_desc8 = "right|up,0.15990,0.73426,radial,0.01334,0.02370"
#overlay0_desc8_overlay = ../flat/img/test.png
overlay0_desc9 = "right|up,0.17448,0.70833,radial,0.01334,0.02370"
#overlay0_desc9_overlay = ../flat/img/test.png
overlay0_desc10 = "right|up,0.18907,0.68241,radial,0.01334,0.02370"
#overlay0_desc10_overlay = ../flat/img/test.png
overlay0_desc11 = "right|up,0.21094,0.64352,radial,0.02604,0.04630"
#overlay0_desc11_overlay = ../flat/img/test.png

overlay0_desc12 = "left|down,0.09636,0.84722,radial,0.01334,0.02370"
#overlay0_desc12_overlay = ../flat/img/test.png
overlay0_desc13 = "left|down,0.11094,0.82130,radial,0.01334,0.02370"
#overlay0_desc13_overlay = ../flat/img/test.png
overlay0_desc14 = "left|down,0.08178,0.87315,radial,0.01334,0.02370"
#overlay0_desc14_overlay = ../flat/img/test.png
overlay0_desc15 = "left|down,0.05990,0.91204,radial,0.02604,0.04630"
#overlay0_desc15_overlay = ../flat/img/test.png

overlay0_desc16 = "right|down,0.15990,0.82130,radial,0.01334,0.02370"
#overlay0_desc16_overlay = ../flat/img/test.png
overlay0_desc17 = "right|down,0.17448,0.84722,radial,0.01334,0.02370"
#overlay0_desc17_overlay = ../flat/img/test.png
overlay0_desc18 = "right|down,0.18907,0.87315,radial,0.01334,0.02370"
#overlay0_desc18_overlay = ../flat/img/test.png
overlay0_desc19 = "right|down,0.21094,0.91204,radial,0.02604,0.04630"
#overlay0_desc19_overlay = ../flat/img/test.png

# D-pad Y
overlay0_desc20 = "l,0.07188,0.22222,radial,0.05000,0.08889"
overlay0_desc20_overlay = ../flat/img/Y4_wswan.png
overlay0_desc21 = "r,0.19896,0.22222,radial,0.05000,0.08889"
overlay0_desc21_overlay = ../flat/img/Y2_wswan.png
overlay0_desc22 = "r2,0.13542,0.10925,radial,0.05000,0.08889"
overlay0_desc22_overlay = ../flat/img/Y1_wswan.png
overlay0_desc23 = "l2,0.13542,0.33518,radial,0.05000,0.08889"
overlay0_desc23_overlay = ../flat/img/Y3_wswan.png

overlay0_desc24 = "l|r2,0.09636,0.15277,radial,0.01334,0.02370"
#overlay0_desc24_overlay = ../flat/img/test.png
overlay0_desc25 = "l|r2,0.11094,0.17870,radial,0.01334,0.02370"
#overlay0_desc25_overlay = ../flat/img/test.png
overlay0_desc26 = "l|r2,0.08178,0.12685,radial,0.01334,0.02370"
#overlay0_desc26_overlay = ../flat/img/test.png
overlay0_desc27 = "l|r2,0.05990,0.08796,radial,0.02604,0.04630"
#overlay0_desc27_overlay = ../flat/img/test.png

overlay0_desc28 = "r|r2,0.15990,0.17870,radial,0.01334,0.02370"
#overlay0_desc28_overlay = ../flat/img/test.png
overlay0_desc29 = "r|r2,0.17448,0.15277,radial,0.01334,0.02370"
#overlay0_desc29_overlay = ../flat/img/test.png
overlay0_desc30 = "r|r2,0.18907,0.12685,radial,0.01334,0.02370"
#overlay0_desc30_overlay = ../flat/img/test.png
overlay0_desc31 = "r|r2,0.21094,0.08796,radial,0.02604,0.04630"
#overlay0_desc31_overlay = ../flat/img/test.png

overlay0_desc32 = "l|l2,0.09636,0.29166,radial,0.01334,0.02370"
#overlay0_desc32_overlay = ../flat/img/test.png
overlay0_desc33 = "l|l2,0.11094,0.26574,radial,0.01334,0.02370"
#overlay0_desc33_overlay = ../flat/img/test.png
overlay0_desc34 = "l|l2,0.08178,0.31759,radial,0.01334,0.02370"
#overlay0_desc34_overlay = ../flat/img/test.png
overlay0_desc35 = "l|l2,0.05990,0.35648,radial,0.02604,0.04630"
#overlay0_desc35_overlay = ../flat/img/test.png

overlay0_desc36 = "r|l2,0.15990,0.26574,radial,0.01334,0.02370"
#overlay0_desc36_overlay = ../flat/img/test.png
overlay0_desc37 = "r|l2,0.17448,0.29166,radial,0.01334,0.02370"
#overlay0_desc37_overlay = ../flat/img/test.png
overlay0_desc38 = "r|l2,0.18907,0.31759,radial,0.01334,0.02370"
#overlay0_desc38_overlay = ../flat/img/test.png
overlay0_desc39 = "r|l2,0.21094,0.35648,radial,0.02604,0.04630"
#overlay0_desc39_overlay = ../flat/img/test.png

# Face buttons A, B and Start
overlay0_desc40 = "a,0.92292,0.76852,radial,0.05000,0.08889"
overlay0_desc40_overlay = ../flat/img/A_wswan.png
overlay0_desc41 = "b,0.85938,0.88148,radial,0.05000,0.08889"
overlay0_desc41_overlay = ../flat/img/B_wswan.png

overlay0_desc42 = "a|b,0.88386,0.81204,radial,0.01334,0.02370"
#overlay0_desc42_overlay = ../flat/img/test.png
overlay0_desc43 = "a|b,0.89844,0.83796,radial,0.01334,0.02370"
#overlay0_desc43_overlay = ../flat/img/test.png
overlay0_desc44 = "a|b,0.91303,0.86389,radial,0.01334,0.02370"
#overlay0_desc44_overlay = ../flat/img/test.png

overlay0_desc45 = "start,0.35938,0.91852,rect,0.04583,0.03889"
overlay0_desc45_overlay = ../flat/img/start_genesis.png

# Menu
overlay0_desc46 = "menu_toggle,0.50000,0.08889,radial,0.02604,0.046296"
overlay0_desc46_overlay = ../flat/img/rgui.png

# Rotate
overlay0_desc47 = "overlay_next,0.65000,0.08889,radial,0.02604,0.046296"
overlay0_desc47_overlay = ../flat/img/rotate.png
overlay0_desc47_next_target = "portrait"

# Hide
overlay0_desc48 = "overlay_next,0.80000,0.08889,radial,0.02604,0.046296"
overlay0_desc48_overlay = ../flat/img/hide.png
overlay0_desc48_next_target = "hidden"


# Overlay 1 - portrait

overlay1_descs = 48

# D-pad X
overlay1_desc0 = "left,0.12779,0.87500,radial,0.08889,0.05000"
overlay1_desc0_overlay = ../flat/img/X4_wswan.png
overlay1_desc1 = "right,0.35371,0.87500,radial,0.08889,0.05000"
overlay1_desc1_overlay = ../flat/img/X2_wswan.png
overlay1_desc2 = "up,0.24075,0.81146,radial,0.08889,0.05000"
overlay1_desc2_overlay = ../flat/img/X1_wswan.png
overlay1_desc3 = "down,0.24075,0.93854,radial,0.08889,0.05000"
overlay1_desc3_overlay = ../flat/img/X3_wswan.png

overlay1_desc4 = "left|up,0.17131,0.83594,radial,0.02370,0.01334"
#overlay1_desc4_overlay = ../flat/img/test.png
overlay1_desc5 = "left|up,0.19723,0.85052,radial,0.02370,0.01334"
#overlay1_desc5_overlay = ../flat/img/test.png
overlay1_desc6 = "left|up,0.14538,0.82136,radial,0.02370,0.01334"
#overlay1_desc6_overlay = ../flat/img/test.png
overlay1_desc7 = "left|up,0.10649,0.79948,radial,0.04630,0.02604"
#overlay1_desc7_overlay = ../flat/img/test.png

overlay1_desc8 = "right|up,0.28427,0.85052,radial,0.02370,0.01334"
#overlay1_desc8_overlay = ../flat/img/test.png
overlay1_desc9 = "right|up,0.31019,0.83594,radial,0.02370,0.01334"
#overlay1_desc9_overlay = ../flat/img/test.png
overlay1_desc10 = "right|up,0.33612,0.82136,radial,0.02370,0.01334"
#overlay1_desc10_overlay = ../flat/img/test.png
overlay1_desc11 = "right|up,0.37501,0.79948,radial,0.04630,0.02604"
#overlay1_desc11_overlay = ../flat/img/test.png

overlay1_desc12 = "left|down,0.17131,0.91406,radial,0.02370,0.01334"
#overlay1_desc12_overlay = ../flat/img/test.png
overlay1_desc13 = "left|down,0.19723,0.89948,radial,0.02370,0.01334"
#overlay1_desc13_overlay = ../flat/img/test.png
overlay1_desc14 = "left|down,0.14538,0.92865,radial,0.02370,0.01334"
#overlay1_desc14_overlay = ../flat/img/test.png
overlay1_desc15 = "left|down,0.10649,0.95052,radial,0.04630,0.02604"
#overlay1_desc15_overlay = ../flat/img/test.png

overlay1_desc16 = "right|down,0.28427,0.89948,radial,0.02370,0.01334"
#overlay1_desc16_overlay = ../flat/img/test.png
overlay1_desc17 = "right|down,0.31019,0.91406,radial,0.02370,0.01334"
#overlay1_desc17_overlay = ../flat/img/test.png
overlay1_desc18 = "right|down,0.33612,0.92865,radial,0.02370,0.01334"
#overlay1_desc18_overlay = ../flat/img/test.png
overlay1_desc19 = "right|down,0.37501,0.95052,radial,0.04630,0.02604"
#overlay1_desc19_overlay = ../flat/img/test.png

# D-pad Y
overlay1_desc20 = "l,0.12779,0.58853,radial,0.08889,0.05000"
overlay1_desc20_overlay = ../flat/img/Y4_wswan.png
overlay1_desc21 = "r,0.35371,0.58853,radial,0.08889,0.05000"
overlay1_desc21_overlay = ../flat/img/Y2_wswan.png
overlay1_desc22 = "r2,0.24075,0.52499,radial,0.08889,0.05000"
overlay1_desc22_overlay = ../flat/img/Y1_wswan.png
overlay1_desc23 = "l2,0.24075,0.65208,radial,0.08889,0.05000"
overlay1_desc23_overlay = ../flat/img/Y3_wswan.png

overlay1_desc24 = "l|r2,0.17131,0.54947,radial,0.02370,0.01334"
#overlay1_desc24_overlay = ../flat/img/test.png
overlay1_desc25 = "l|r2,0.19723,0.56405,radial,0.02370,0.01334"
#overlay1_desc25_overlay = ../flat/img/test.png
overlay1_desc26 = "l|r2,0.14538,0.53489,radial,0.02370,0.01334"
#overlay1_desc26_overlay = ../flat/img/test.png
overlay1_desc27 = "l|r2,0.10649,0.51301,radial,0.04630,0.02604"
#overlay1_desc27_overlay = ../flat/img/test.png

overlay1_desc28 = "r|r2,0.28427,0.56405,radial,0.02370,0.01334"
#overlay1_desc28_overlay = ../flat/img/test.png
overlay1_desc29 = "r|r2,0.31019,0.54947,radial,0.02370,0.01334"
#overlay1_desc29_overlay = ../flat/img/test.png
overlay1_desc30 = "r|r2,0.33612,0.53489,radial,0.02370,0.01334"
#overlay1_desc30_overlay = ../flat/img/test.png
overlay1_desc31 = "r|r2,0.37501,0.51301,radial,0.04630,0.02604"
#overlay1_desc31_overlay = ../flat/img/test.png

overlay1_desc32 = "l|l2,0.17131,0.62760,radial,0.02370,0.01334"
#overlay1_desc32_overlay = ../flat/img/test.png
overlay1_desc33 = "l|l2,0.19723,0.61301,radial,0.02370,0.01334"
#overlay1_desc33_overlay = ../flat/img/test.png
overlay1_desc34 = "l|l2,0.14538,0.64218,radial,0.02370,0.01334"
#overlay1_desc34_overlay = ../flat/img/test.png
overlay1_desc35 = "l|l2,0.10649,0.66405,radial,0.04630,0.02604"
#overlay1_desc35_overlay = ../flat/img/test.png

overlay1_desc36 = "r|l2,0.28427,0.61301,radial,0.02370,0.01334"
#overlay1_desc36_overlay = ../flat/img/test.png
overlay1_desc37 = "r|l2,0.31019,0.62760,radial,0.02370,0.01334"
#overlay1_desc37_overlay = ../flat/img/test.png
overlay1_desc38 = "r|l2,0.33612,0.64218,radial,0.02370,0.01334"
#overlay1_desc38_overlay = ../flat/img/test.png
overlay1_desc39 = "r|l2,0.37501,0.66405,radial,0.04630,0.02604"
#overlay1_desc39_overlay = ../flat/img/test.png

# Face buttons A, B and Start
overlay1_desc40 = "a,0.86296,0.86458,radial,0.08889,0.05000"
overlay1_desc40_overlay = ../flat/img/A_wswan.png
overlay1_desc41 = "b,0.75000,0.92812,radial,0.08889,0.05000"
overlay1_desc41_overlay = ../flat/img/B_wswan.png

overlay1_desc42 = "a|b,0.79352,0.88906,radial,0.02370,0.01334"
#overlay1_desc42_overlay = ../flat/img/test.png
overlay1_desc43 = "a|b,0.81944,0.90364,radial,0.02370,0.01334"
#overlay1_desc43_overlay = ../flat/img/test.png
overlay1_desc44 = "a|b,0.84537,0.91823,radial,0.02370,0.01334"
#overlay1_desc44_overlay = ../flat/img/test.png

overlay1_desc45 = "start,0.88889,0.71875,rect,0.08148,0.02188"
overlay1_desc45_overlay = ../flat/img/start_genesis.png

# Menu
overlay1_desc46 = "menu_toggle,0.50000,0.41250,radial,0.046296,0.02604"
overlay1_desc46_overlay = ../flat/img/rgui.png

# Rotate
overlay1_desc47 = "overlay_next,0.65000,0.41250,radial,0.046296,0.02604"
overlay1_desc47_overlay = ../flat/img/rotate.png
overlay1_desc47_next_target = "landscape"


# Overlay 2 - hidden landscape

overlay2_descs = 1

overlay2_desc0 = "overlay_next,0.80000,0.08889,radial,0.02604,0.046296"
overlay2_desc0_overlay = ../flat/img/show.png
overlay2_desc0_next_target = "landscape"
