overlays = 15

# vertical wiimote
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 = "hidden"
overlay1_range_mod = 1.5
overlay1_alpha_mod = 2.0

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

# sideways wiimote
overlay3_full_screen = true
overlay3_normalized = true
overlay3_name = "sideways landscape"
overlay3_range_mod = 1.5
overlay3_alpha_mod = 2.0

overlay4_full_screen = true
overlay4_normalized = true
overlay4_name = "sideways hidden"
overlay4_range_mod = 1.5
overlay4_alpha_mod = 2.0

overlay5_full_screen = true
overlay5_normalized = true
overlay5_name = "sideways portrait"
overlay5_range_mod = 1.5
overlay5_alpha_mod = 2.0

# nunchuk
overlay6_full_screen = true
overlay6_normalized = true
overlay6_name = "nunchuk landscape"
overlay6_range_mod = 1.5
overlay6_alpha_mod = 2.0

overlay7_full_screen = true
overlay7_normalized = true
overlay7_name = "nunchuk hidden"
overlay7_range_mod = 1.5
overlay7_alpha_mod = 2.0

overlay8_full_screen = true
overlay8_normalized = true
overlay8_name = "nunchuk portrait"
overlay8_range_mod = 1.5
overlay8_alpha_mod = 2.0

# cc
overlay9_full_screen = true
overlay9_normalized = true
overlay9_name = "cc landscape"
overlay9_range_mod = 1.5
overlay9_alpha_mod = 2.0

overlay10_full_screen = true
overlay10_normalized = true
overlay10_name = "cc hidden"
overlay10_range_mod = 1.5
overlay10_alpha_mod = 2.0

overlay11_full_screen = true
overlay11_normalized = true
overlay11_name = "cc portrait"
overlay11_range_mod = 1.5
overlay11_alpha_mod = 2.0

# gc
overlay12_full_screen = true
overlay12_normalized = true
overlay12_name = "gc landscape"
overlay12_range_mod = 1.5
overlay12_alpha_mod = 2.0

overlay13_full_screen = true
overlay13_normalized = true
overlay13_name = "gc hidden"
overlay13_range_mod = 1.5
overlay13_alpha_mod = 2.0

overlay14_full_screen = true
overlay14_normalized = true
overlay14_name = "gc portrait"
overlay14_range_mod = 1.5
overlay14_alpha_mod = 2.0


# Overlay 0 - wiimote landscape

overlay0_descs = 27

# dpad
overlay0_desc0 = "left,0.07188,0.43778,radial,0.04479,0.06852"
overlay0_desc0_overlay = ../flat/img/dpad-left.png
overlay0_desc1 = "right,0.17813,0.43778,radial,0.04479,0.06852"
overlay0_desc1_overlay = ../flat/img/dpad-right.png
overlay0_desc2 = "up,0.12500,0.34333,radial,0.03854,0.07963"
overlay0_desc2_overlay = ../flat/img/dpad-up.png
overlay0_desc3 = "down,0.12500,0.53222,radial,0.03854,0.07963"
overlay0_desc3_overlay = ../flat/img/dpad-down.png

# diagonals
overlay0_desc4 = "left|up,0.07188,0.34333,rect,0.03854,0.07963"
overlay0_desc5 = "right|up,0.17813,0.34333,rect,0.03854,0.07963"
overlay0_desc6 = "left|down,0.07188,0.53222,rect,0.03854,0.07963"
overlay0_desc7 = "right|down,0.17813,0.53222,rect,0.03854,0.07963"

# A, B
overlay0_desc8 = "a,0.90,0.25593,radial,0.05,0.09"
overlay0_desc8_overlay = ../flat/img/gcn-a.png
overlay0_desc9 = "b,0.12500,0.14259,radial,0.05,0.088"
overlay0_desc9_overlay = ../flat/img/B_square.png

# 1, 2
overlay0_desc10 = "x,0.90,0.54815,rect,0.02,0.035"
overlay0_desc10_overlay = ../flat/img/1.png
overlay0_desc11 = "y,0.90,0.64815,rect,0.02,0.035"
overlay0_desc11_overlay = ../flat/img/2.png

# rotate wiimote, home
overlay0_desc12 = "overlay_next,0.70000,0.08889,radial,0.02604,0.046296"
overlay0_desc12_next_target = "sideways landscape"
overlay0_desc12_overlay = ../flat/img/wiimote_h.png
overlay0_desc13 = "r3,0.90,0.44815,rect,0.02,0.035"
overlay0_desc13_overlay = ../flat/img/home.png

# empty, waggle
overlay0_desc14 = "nul,0.08125,0.08889,rect,0.07808,0.14259"
#overlay0_desc14_overlay = ../flat/img/gcn-l.png
overlay0_desc15 = "r2,0.90,0.08889,rect,0.06,0.055"
overlay0_desc15_overlay = ../flat/img/waggle.png

# minus
overlay0_desc16 = "select,0.84313,0.44815,rect,0.02,0.035"
overlay0_desc16_overlay = ../flat/img/minus.png

overlay0_desc17 = "menu_toggle,0.50000,0.08889,radial,0.02604,0.046296"
overlay0_desc17_overlay = ../flat/img/rgui.png

# off-screen rotate button
overlay0_desc18 = "overlay_next,-0.5,-0.5,radial,0.02604,0.046296"
overlay0_desc18_next_target = "portrait"
#overlay0_desc18_overlay = ../flat/img/test.png

overlay0_desc19 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay0_desc19_overlay = ../flat/img/hide.png
overlay0_desc19_next_target = "hidden"

# gyros
overlay0_desc20 = "nul,0.12500,0.85,radial,0.0425,0.075"
overlay0_desc20_overlay = ../flat/img/octagon-thumbstick-background.png
overlay0_desc21 = "analog_left,0.12500,0.85,radial,0.037,0.06667"
overlay0_desc21_overlay = ../flat/img/3d_rotate.png
overlay0_desc21_range_mod = 30.0
overlay0_desc21_saturate_pct = 0.65
overlay0_desc21_movable = true

# plus
overlay0_desc22 = "start,0.9575,0.44815,rect,0.02,0.035"
overlay0_desc22_overlay = ../flat/img/plus.png

# IR pointer
overlay0_desc23 = "nul,0.90,0.85,radial,0.0425,0.075"
overlay0_desc23_overlay = ../flat/img/octagon-thumbstick-background.png
overlay0_desc24 = "analog_right,0.90,0.85,radial,0.037,0.06667"
overlay0_desc24_overlay = ../flat/img/finger.png
overlay0_desc24_range_mod = 30.0
overlay0_desc24_saturate_pct = 0.65
overlay0_desc24_movable = true

overlay0_desc25 = "overlay_next,0.80000,0.08889,radial,0.02604,0.046296"
overlay0_desc25_next_target = "nunchuk landscape"
overlay0_desc25_overlay = ../flat/img/nunchuk.png

overlay0_desc26 = "overlay_next,0.40000,0.08889,radial,0.02604,0.046296"
overlay0_desc26_next_target = "cc landscape"
overlay0_desc26_overlay = ../flat/img/classic_controller.png


# Overlay 1 - hidden landscape

overlay1_descs = 1

overlay1_desc0 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay1_desc0_overlay = ../flat/img/show.png
overlay1_desc0_next_target = "landscape"


# Overlay 2 - portrait

overlay2_descs = 26

# dpad
overlay2_desc0 = "left,0.12037,0.75417,radial,0.07963,0.03854"
overlay2_desc0_overlay = ../flat/img/dpad-left.png
overlay2_desc1 = "right,0.30926,0.75417,radial,0.07963,0.03854"
overlay2_desc1_overlay = ../flat/img/dpad-right.png
overlay2_desc2 = "up,0.21481,0.70104,radial,0.06852,0.04479"
overlay2_desc2_overlay = ../flat/img/dpad-up.png
overlay2_desc3 = "down,0.21481,0.80729,radial,0.06852,0.04479"
overlay2_desc3_overlay = ../flat/img/dpad-down.png
overlay2_desc4 = "left|up,0.09259,0.68542,rect,0.05370,0.03021"
overlay2_desc5 = "right|up,0.33704,0.68542,rect,0.05370,0.03021"
overlay2_desc6 = "left|down,0.09259,0.82292,rect,0.05370,0.03021"
overlay2_desc7 = "right|down,0.33704,0.82292,rect,0.05370,0.03021"

# plus
overlay2_desc8 = "start,0.6500,0.92417,radial,0.046296,0.02604"
overlay2_desc8_overlay = ../flat/img/plus.png

overlay2_desc9 = "menu_toggle,0.50000,0.55,radial,0.046296,0.02604"
overlay2_desc9_overlay = ../flat/img/rgui.png

# offscreen rotate button
overlay2_desc10 = "overlay_next,2.65000,2.47083,radial,0.046296,0.02604"
overlay2_desc10_next_target = "landscape"

# gyros
overlay2_desc11 = "nul,0.150,0.92,radial,0.08,0.045"
overlay2_desc11_overlay = ../flat/img/octagon-thumbstick-background.png
overlay2_desc12 = "analog_left,0.150,0.92,radial,0.06667,0.037721"
overlay2_desc12_overlay = ../flat/img/3d_rotate.png
overlay2_desc12_range_mod = 30.0
overlay2_desc12_saturate_pct = 0.65
overlay2_desc12_movable = true

# IR pointer
overlay2_desc13 = "nul,0.850,0.92,radial,0.08,0.045"
overlay2_desc13_overlay = ../flat/img/octagon-thumbstick-background.png
overlay2_desc14 = "analog_right,0.850,0.92,radial,0.06667,0.037721"
overlay2_desc14_overlay = ../flat/img/finger.png
overlay2_desc14_range_mod = 30.0
overlay2_desc14_saturate_pct = 0.65
overlay2_desc14_movable = true

# rotate wiimote, home
overlay2_desc15 = "overlay_next,0.70,0.55,radial,0.046296,0.02604"
overlay2_desc15_next_target = "sideways portrait"
overlay2_desc15_overlay = ../flat/img/wiimote_h.png
overlay2_desc16 = "r3,0.5,0.92417,radial,0.046296,0.02604"
overlay2_desc16_overlay = ../flat/img/home.png

# combo A+B, waggle
overlay2_desc17 = "a|b,0.79,0.73,rect,0.035,0.02"
#overlay2_desc17_overlay = ../flat/img/test.png
overlay2_desc18 = "r2,0.85,0.55,rect,0.10,0.025"
overlay2_desc18_overlay = ../flat/img/waggle.png

# minus
overlay2_desc19 = "select,0.35,0.92417,radial,0.046296,0.02604"
overlay2_desc19_overlay = ../flat/img/minus.png

# A, B
overlay2_desc20 = "a,0.72,0.78,radial,0.09,0.05"
overlay2_desc20_overlay = ../flat/img/gcn-a.png
overlay2_desc21 = "b,0.86,0.68,rect,0.07,0.04"
overlay2_desc21_overlay = ../flat/img/B_square.png

# 1, 2
overlay2_desc22 = "x,0.2,0.55,radial,0.046296,0.02604"
overlay2_desc22_overlay = ../flat/img/1.png
overlay2_desc23 = "y,0.3,0.55,radial,0.046296,0.02604"
overlay2_desc23_overlay = ../flat/img/2.png

overlay2_desc24 = "overlay_next,0.60,0.55,radial,0.046296,0.02604"
overlay2_desc24_next_target = "nunchuk portrait"
overlay2_desc24_overlay = ../flat/img/nunchuk.png

overlay2_desc25 = "overlay_next,0.40,0.55,radial,0.046296,0.02604"
overlay2_desc25_next_target = "cc portrait"
overlay2_desc25_overlay = ../flat/img/classic_controller.png


# Overlay 3 - sideways wiimote landscape

overlay3_descs = 24

# dpad
overlay3_desc0 = "left,0.07188,0.43778,radial,0.04479,0.06852"
overlay3_desc0_overlay = ../flat/img/dpad-left.png
overlay3_desc1 = "right,0.17813,0.43778,radial,0.04479,0.06852"
overlay3_desc1_overlay = ../flat/img/dpad-right.png
overlay3_desc2 = "up,0.12500,0.34333,radial,0.03854,0.07963"
overlay3_desc2_overlay = ../flat/img/dpad-up.png
overlay3_desc3 = "down,0.12500,0.53222,radial,0.03854,0.07963"
overlay3_desc3_overlay = ../flat/img/dpad-down.png

# diagonals
overlay3_desc4 = "left|up,0.07188,0.34333,rect,0.03854,0.07963"
overlay3_desc5 = "right|up,0.17813,0.34333,rect,0.03854,0.07963"
overlay3_desc6 = "left|down,0.07188,0.53222,rect,0.03854,0.07963"
overlay3_desc7 = "right|down,0.17813,0.53222,rect,0.03854,0.07963"

# A, B
overlay3_desc8 = "a,0.9500,0.66,radial,0.05,0.09"
overlay3_desc8_overlay = ../flat/img/2.png
overlay3_desc9 = "b,0.86,0.72,radial,0.05,0.09"
overlay3_desc9_overlay = ../flat/img/1.png

# 1, 2
overlay3_desc10 = "x,0.94,0.28,rect,0.03,0.050"
overlay3_desc10_overlay = ../flat/img/gcn-a.png
overlay3_desc11 = "y,0.86,0.28,rect,0.03,0.050"
overlay3_desc11_overlay = ../flat/img/B_square.png

# rotate wiimote, home
overlay3_desc12 = "overlay_next,0.70000,0.08889,radial,0.02604,0.046296"
overlay3_desc12_next_target = "landscape"
overlay3_desc12_overlay = ../flat/img/wiimote_v.png
overlay3_desc13 = "r3,0.90,0.44815,rect,0.02,0.035"
overlay3_desc13_overlay = ../flat/img/home.png

# empty, wagglesideways
overlay3_desc14 = "nul,0.08125,0.08889,rect,0.07808,0.14259"
#overlay3_desc14_overlay = ../flat/img/gcn-l.png
overlay3_desc15 = "r2,0.90,0.08889,rect,0.06,0.055"
overlay3_desc15_overlay = ../flat/img/waggle.png

# minus
overlay3_desc16 = "select,0.84313,0.44815,rect,0.02,0.035"
overlay3_desc16_overlay = ../flat/img/minus.png

overlay3_desc17 = "menu_toggle,0.50000,0.08889,radial,0.02604,0.046296"
overlay3_desc17_overlay = ../flat/img/rgui.png

# off-screen rotate button
overlay3_desc18 = "overlay_next,-0.5,-0.5,radial,0.02604,0.046296"
overlay3_desc18_next_target = "sideways portrait"
#overlay3_desc18_overlay = ../flat/img/test.png

overlay3_desc19 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay3_desc19_overlay = ../flat/img/hide.png
overlay3_desc19_next_target = "sideways hidden"

# gyros
overlay3_desc20 = "nul,0.12500,0.85,radial,0.0425,0.075"
overlay3_desc20_overlay = ../flat/img/octagon-thumbstick-background.png
overlay3_desc21 = "analog_left,0.12500,0.85,radial,0.037,0.06667"
overlay3_desc21_overlay = ../flat/img/3d_rotate.png
overlay3_desc21_range_mod = 30.0
overlay3_desc21_saturate_pct = 0.65
overlay3_desc21_movable = true

# plus
overlay3_desc22 = "start,0.9575,0.44815,rect,0.02,0.035"
overlay3_desc22_overlay = ../flat/img/plus.png

# combo 1+2
overlay3_desc23 = "a|b,0.91,0.70,radial,0.015,0.075"
#overlay3_desc23_overlay = ../flat/img/test.png


# Overlay 4 - hidden landscape

overlay4_descs = 1

overlay4_desc0 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay4_desc0_overlay = ../flat/img/show.png
overlay4_desc0_next_target = "sideways landscape"


# Overlay 5 - sideways portrait

overlay5_descs = 24

# dpad
overlay5_desc0 = "left,0.12037,0.75417,radial,0.07963,0.03854"
overlay5_desc0_overlay = ../flat/img/dpad-left.png
overlay5_desc1 = "right,0.30926,0.75417,radial,0.07963,0.03854"
overlay5_desc1_overlay = ../flat/img/dpad-right.png
overlay5_desc2 = "up,0.21481,0.70104,radial,0.06852,0.04479"
overlay5_desc2_overlay = ../flat/img/dpad-up.png
overlay5_desc3 = "down,0.21481,0.80729,radial,0.06852,0.04479"
overlay5_desc3_overlay = ../flat/img/dpad-down.png
overlay5_desc4 = "left|up,0.09259,0.68542,rect,0.05370,0.03021"
overlay5_desc5 = "right|up,0.33704,0.68542,rect,0.05370,0.03021"
overlay5_desc6 = "left|down,0.09259,0.82292,rect,0.05370,0.03021"
overlay5_desc7 = "right|down,0.33704,0.82292,rect,0.05370,0.03021"

# plus
overlay5_desc8 = "start,0.6500,0.92417,radial,0.046296,0.02604"
overlay5_desc8_overlay = ../flat/img/plus.png

overlay5_desc9 = "menu_toggle,0.50000,0.55,radial,0.046296,0.02604"
overlay5_desc9_overlay = ../flat/img/rgui.png

# offscreen rotate button
overlay5_desc10 = "overlay_next,2.65000,2.47083,radial,0.046296,0.02604"
overlay5_desc10_next_target = "sideways landscape"

# gyros
overlay5_desc11 = "nul,0.150,0.92,radial,0.08,0.045"
overlay5_desc11_overlay = ../flat/img/octagon-thumbstick-background.png
overlay5_desc12 = "analog_left,0.150,0.92,radial,0.06667,0.037721"
overlay5_desc12_overlay = ../flat/img/3d_rotate.png
overlay5_desc12_range_mod = 30.0
overlay5_desc12_saturate_pct = 0.65
overlay5_desc12_movable = true

# IR pointer
overlay5_desc13 = "nul,0.850,0.92,radial,0.08,0.045"
#overlay5_desc13_overlay = ../flat/img/octagon-thumbstick-background.png
overlay5_desc14 = "nul,0.850,0.92,radial,0.06667,0.037721"
#overlay5_desc14_overlay = ../flat/img/finger.png
#overlay5_desc14_range_mod = 30.0
#overlay5_desc14_saturate_pct = 0.65
#overlay5_desc14_movable = true

# rotate wiimote, home
overlay5_desc15 = "overlay_next,0.70,0.55,radial,0.046296,0.02604"
overlay5_desc15_next_target = "portrait"
overlay5_desc15_overlay = ../flat/img/wiimote_v.png
overlay5_desc16 = "r3,0.5,0.92417,radial,0.046296,0.02604"
overlay5_desc16_overlay = ../flat/img/home.png

# combo A+B, waggle
overlay5_desc17 = "a|b,0.79,0.73,rect,0.035,0.02"
#overlay5_desc17_overlay = ../flat/img/test.png
overlay5_desc18 = "r2,0.85,0.55,rect,0.10,0.025"
overlay5_desc18_overlay = ../flat/img/waggle.png

# minus
overlay5_desc19 = "select,0.35,0.92417,radial,0.046296,0.02604"
overlay5_desc19_overlay = ../flat/img/minus.png

# A, B
overlay5_desc20 = "b,0.72,0.78,radial,0.09,0.05"
overlay5_desc20_overlay = ../flat/img/1.png
overlay5_desc21 = "a,0.86,0.68,rect,0.09,0.05"
overlay5_desc21_overlay = ../flat/img/2.png

# 1, 2
overlay5_desc22 = "x,0.175,0.55,radial,0.046296,0.02604"
overlay5_desc22_overlay = ../flat/img/gcn-a.png
overlay5_desc23 = "y,0.350,0.55,radial,0.046296,0.02604"
overlay5_desc23_overlay = ../flat/img/B_square.png


# Overlay 6 - nunchuk landscape

overlay6_descs = 30

# dpad
overlay6_desc0 = "left,0.8728,0.10317,radial,0.01927,0.03981"
overlay6_desc0_overlay = ../flat/img/dpad-left.png
overlay6_desc1 = "right,0.9272,0.10317,radial,0.01927,0.03981"
overlay6_desc1_overlay = ../flat/img/dpad-right.png
overlay6_desc2 = "up,0.9,0.055,radial,0.02239,0.03426"
overlay6_desc2_overlay = ../flat/img/dpad-up.png
overlay6_desc3 = "down,0.9,0.14929,radial,0.02239,0.03426"
overlay6_desc3_overlay = ../flat/img/dpad-down.png

# diagonals
overlay6_desc4 = "left|up,0.8725,0.055,rect,0.01239,0.01426"
overlay6_desc5 = "right|up,0.9275,0.055,rect,0.01239,0.01426"
overlay6_desc6 = "left|down,0.8725,0.14929,rect,0.01426,0.01239"
overlay6_desc7 = "right|down,0.9275,0.14929,rect,0.01239,0.01426"

# A, B
overlay6_desc8 = "a,0.90,0.38593,radial,0.04,0.07"
overlay6_desc8_overlay = ../flat/img/gcn-a.png
overlay6_desc9 = "b,0.90,0.55,radial,0.04,0.07"
overlay6_desc9_overlay = ../flat/img/B_square.png

# 1, 2
overlay6_desc10 = "start,0.875,0.7,rect,0.02,0.035"
overlay6_desc10_overlay = ../flat/img/1.png
overlay6_desc11 = "select,0.925,0.7,rect,0.02,0.035"
overlay6_desc11_overlay = ../flat/img/2.png

# rotate wiimote, home
overlay6_desc12 = "nul,0.70000,0.08889,radial,0.02604,0.046296"
#overlay6_desc12_next_target = "sideways landscape"
#overlay6_desc12_overlay = ../flat/img/wiimote_h.png
overlay6_desc13 = "r3,0.50,0.94,rect,0.02,0.035"
overlay6_desc13_overlay = ../flat/img/home.png

# combo a+b, waggle wiimote
overlay6_desc14 = "a|b,0.9,0.465,rect,0.05,0.022"
#overlay6_desc14_overlay = ../flat/img/gcn-l.png
overlay6_desc15 = "r2,0.90,0.245,rect,0.06,0.055"
overlay6_desc15_overlay = ../flat/img/waggle.png

# minus
overlay6_desc16 = "l,0.3,0.94,rect,0.02,0.035"
overlay6_desc16_overlay = ../flat/img/minus.png

overlay6_desc17 = "menu_toggle,0.50000,0.08889,radial,0.02604,0.046296"
overlay6_desc17_overlay = ../flat/img/rgui.png

# off-screen rotate button
overlay6_desc18 = "overlay_next,-0.5,-0.5,radial,0.02604,0.046296"
overlay6_desc18_next_target = "nunchuk portrait"
#overlay6_desc18_overlay = ../flat/img/test.png

overlay6_desc19 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay6_desc19_overlay = ../flat/img/hide.png
overlay6_desc19_next_target = "nunchuk hidden"

# Left analog
overlay6_desc20 = "nul,0.12500,0.33708,radial,0.08542,0.15185"
overlay6_desc20_overlay = ../flat/img/octagon-thumbstick-background.png
overlay6_desc21 = "analog_left,0.12500,0.33708,radial,0.07542,0.1333"
overlay6_desc21_overlay = ../flat/img/gcn-thumbstick.png
overlay6_desc21_range_mod = 30.0
overlay6_desc21_saturate_pct = 0.65
overlay6_desc21_movable = true

# plus
overlay6_desc22 = "r,0.7,0.94,rect,0.02,0.035"
overlay6_desc22_overlay = ../flat/img/plus.png

# IR pointer
overlay6_desc23 = "nul,0.90,0.85,radial,0.0425,0.075"
overlay6_desc23_overlay = ../flat/img/octagon-thumbstick-background.png
overlay6_desc24 = "analog_right,0.90,0.85,radial,0.037,0.06667"
overlay6_desc24_overlay = ../flat/img/finger.png
overlay6_desc24_range_mod = 30.0
overlay6_desc24_saturate_pct = 0.65
overlay6_desc24_movable = true

# nunchuk
overlay6_desc25 = "x,0.125,0.60,radial,0.03,0.05"
overlay6_desc25_overlay = ../flat/img/C.png
overlay6_desc26 = "y,0.125,0.73,rect,0.04,0.07"
overlay6_desc26_overlay = ../flat/img/Z_down.png
overlay6_desc27 = "l2,0.1250,0.10317,rect,0.06,0.055"
overlay6_desc27_overlay = ../flat/img/waggle.png
overlay6_desc28 = "x|y,0.125,0.655,rect,0.04,0.015"

overlay6_desc29 = "overlay_next,0.80000,0.08889,radial,0.02604,0.046296"
overlay6_desc29_next_target = "landscape"
overlay6_desc29_overlay = ../flat/img/wiimote_v.png


# Overlay 7 - hidden nunchuk landscape

overlay7_descs = 1

overlay7_desc0 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay7_desc0_overlay = ../flat/img/show.png
overlay7_desc0_next_target = "nunchuk landscape"


# Overlay 8 - nunchuk portrait

overlay8_descs = 28

# dpad
overlay8_desc0 = "left,0.82911,0.57513,radial,0.03981,0.01927"
overlay8_desc0_overlay = ../flat/img/dpad-left.png
overlay8_desc1 = "right,0.92,0.57513,radial,0.03981,0.01927"
overlay8_desc1_overlay = ../flat/img/dpad-right.png
overlay8_desc2 = "up,0.87456,0.55,radial,0.03426,0.02239"
overlay8_desc2_overlay = ../flat/img/dpad-up.png
overlay8_desc3 = "down,0.87456,0.60025,radial,0.03426,0.02239"
overlay8_desc3_overlay = ../flat/img/dpad-down.png

# diagonals
overlay8_desc4 = "left|up,0.82911,0.55,rect,0.017,0.011"
overlay8_desc5 = "right|up,0.92,0.55,rect,0.017,0.011"
overlay8_desc6 = "left|down,0.82911,0.60025,rect,0.017,0.011"
overlay8_desc7 = "right|down,0.92,0.60025,rect,0.017,0.011"

# plus
overlay8_desc8 = "r,0.600,0.92417,radial,0.046296,0.02604"
overlay8_desc8_overlay = ../flat/img/plus.png

overlay8_desc9 = "menu_toggle,0.50000,0.55,radial,0.046296,0.02604"
overlay8_desc9_overlay = ../flat/img/rgui.png

# offscreen rotate button
overlay8_desc10 = "overlay_next,2.65000,2.47083,radial,0.046296,0.02604"
overlay8_desc10_next_target = "nunchuk landscape"

# left analog
overlay8_desc11 = "nul,0.1750,0.85,radial,0.15,0.085"
overlay8_desc11_overlay = ../flat/img/octagon-thumbstick-background.png
overlay8_desc12 = "analog_left,0.1750,0.85,radial,0.12,0.07"
overlay8_desc12_overlay = ../flat/img/gcn-thumbstick.png
overlay8_desc12_range_mod = 30.0
overlay8_desc12_saturate_pct = 0.65
overlay8_desc12_movable = true

# IR pointer
overlay8_desc13 = "nul,0.850,0.92,radial,0.08,0.045"
overlay8_desc13_overlay = ../flat/img/octagon-thumbstick-background.png
overlay8_desc14 = "analog_right,0.850,0.92,radial,0.06667,0.037721"
overlay8_desc14_overlay = ../flat/img/finger.png
overlay8_desc14_range_mod = 30.0
overlay8_desc14_saturate_pct = 0.65
overlay8_desc14_movable = true

# remove nunchuk, home
overlay8_desc15 = "overlay_next,0.60,0.55,radial,0.046296,0.02604"
overlay8_desc15_next_target = "portrait"
overlay8_desc15_overlay = ../flat/img/wiimote_v.png
overlay8_desc16 = "r3,0.5,0.92417,radial,0.046296,0.02604"
overlay8_desc16_overlay = ../flat/img/home.png

# combo A+B, waggle
overlay8_desc17 = "a|b,0.79,0.77,rect,0.035,0.02"
#overlay8_desc17_overlay = ../flat/img/test.png
overlay8_desc18 = "r2,0.6,0.7,rect,0.10,0.025"
overlay8_desc18_overlay = ../flat/img/waggle.png

# minus
overlay8_desc19 = "l,0.4,0.92417,radial,0.046296,0.02604"
overlay8_desc19_overlay = ../flat/img/minus.png

# A, B
overlay8_desc20 = "a,0.72,0.82,radial,0.09,0.05"
overlay8_desc20_overlay = ../flat/img/gcn-a.png
overlay8_desc21 = "b,0.86,0.72,rect,0.07,0.04"
overlay8_desc21_overlay = ../flat/img/B_square.png

# 1, 2
overlay8_desc22 = "select,0.3,0.55,radial,0.046296,0.02604"
overlay8_desc22_overlay = ../flat/img/1.png
overlay8_desc23 = "start,0.4,0.55,radial,0.046296,0.02604"
overlay8_desc23_overlay = ../flat/img/2.png

# C, Z
overlay8_desc24 = "x,0.125,0.61,radial,0.07,0.04"
overlay8_desc24_overlay = ../flat/img/C.png
overlay8_desc25 = "y,0.175,0.7,radial,0.07,0.045"
overlay8_desc25_overlay = ../flat/img/Z_down.png
overlay8_desc26 = "x|y,0.164,0.65,rect,0.05,0.015"
#overlay8_desc26_overlay = ../flat/img/test.png

overlay8_desc27 = "l2,0.4,0.65,rect,0.10,0.025"
overlay8_desc27_overlay = ../flat/img/waggle.png


# Overlay 9 - landscape - Both Analogs

overlay9_descs = 40

overlay9_desc0 = "nul,0.38021,0.74074,radial,0.06,0.11"
overlay9_desc0_overlay = ../flat/img/octagon-thumbstick-background.png
overlay9_desc1 = "analog_left,0.38021,0.74074,radial,0.05,0.095"
overlay9_desc1_overlay = ../flat/img/gcn-thumbstick.png
overlay9_desc1_range_mod = 30.0
overlay9_desc1_saturate_pct = 0.65
overlay9_desc1_movable = true

overlay9_desc2 = "a,0.93750,0.77778,radial,0.04167,0.07407"
overlay9_desc2_overlay = ../flat/img/A.png
overlay9_desc3 = "b,0.87500,0.88889,radial,0.04167,0.07407"
overlay9_desc3_overlay = ../flat/img/B.png
overlay9_desc4 = "x,0.87500,0.66667,radial,0.04167,0.07407"
overlay9_desc4_overlay = ../flat/img/X.png
overlay9_desc5 = "y,0.81250,0.77778,radial,0.04167,0.07407"
overlay9_desc5_overlay = ../flat/img/Y.png
overlay9_desc6 = "start,0.6,0.970,radial,0.02604,0.046296"
overlay9_desc6_overlay = ../flat/img/plus.png
overlay9_desc7 = "select,0.4,0.970,radial,0.02604,0.046296"
overlay9_desc7_overlay = ../flat/img/minus.png

overlay9_desc8 = "l,0.02917,0.45,rect,0.05208,0.09259"
overlay9_desc8_overlay = ../flat/img/L.png
overlay9_desc9 = "nul,0.75833,0.98889,rect,0.04375,0.08704"
#overlay9_desc9_overlay = ../flat/img/L1_down_smaller.png
overlay9_desc10 = "l2,0.02917,0.25,rect,0.05208,0.09259"
overlay9_desc10_overlay = ../flat/img/ZL.png
overlay9_desc11 = "nul,0.02917,0.46667,rect,0.04896,0.05370"
#overlay9_desc11_overlay = ../flat/img/L3_smaller.png
overlay9_desc12 = "r,0.97083,0.45000,rect,0.05208,0.09259"
overlay9_desc12_overlay = ../flat/img/R_down.png
overlay9_desc13 = "r2,0.97083,0.25000,rect,0.05208,0.09259"
overlay9_desc13_overlay = ../flat/img/ZR.png
overlay9_desc14 = "r3,0.5,0.970,radial,0.02604,0.046296"
overlay9_desc14_overlay = ../flat/img/home.png

overlay9_desc15 = "nul,0.61979,0.74074,radial,0.06,0.11"
overlay9_desc15_overlay = ../flat/img/octagon-thumbstick-background.png
overlay9_desc16 = "analog_right,0.61979,0.74074,radial,0.05,0.095"
overlay9_desc16_overlay = ../flat/img/gcn-thumbstick.png
overlay9_desc16_range_mod = 30.0
overlay9_desc16_saturate_pct = 0.65
overlay9_desc16_movable = true

overlay9_desc17 = "menu_toggle,0.50000,0.08889,radial,0.02604,0.046296"
overlay9_desc17_overlay = ../flat/img/rgui.png
overlay9_desc18 = "overlay_next,0.40000,0.08889,radial,0.02604,0.046296"
overlay9_desc18_next_target = "landscape"
overlay9_desc18_overlay = ../flat/img/wiimote_v.png
overlay9_desc19 = "overlay_next,0.70000,0.08889,radial,0.02604,0.046296"
overlay9_desc19_next_target = "gc landscape"
overlay9_desc19_overlay = ../flat/img/gcn.png

# Hidden rotate button for automatic rotate function
overlay9_desc20 = "overlay_next,-0.5,-0.5,radial,0.05,0.05"
overlay9_desc20_next_target = "cc portrait"
#overlay9_desc20_overlay = ../flat/img/test.png

overlay9_desc21 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay9_desc21_overlay = ../flat/img/hide.png
overlay9_desc21_next_target = "cc hidden"

overlay9_desc22 = "nul,0.20000,0.08889,radial,0.02604,0.046296"
#overlay9_desc22_overlay = ../flat/img/keyboard.png

# Combo buttons
overlay9_desc23 = "x|y,0.83750,0.71111,radial,0.01389,0.02469"
overlay9_desc24 = "x|y,0.85000,0.73334,radial,0.01389,0.02469"

overlay9_desc25 = "a|b,0.90000,0.82222,radial,0.01389,0.02469"
overlay9_desc26 = "a|b,0.91250,0.84445,radial,0.01389,0.02469"

overlay9_desc27 = "y|b,0.83750,0.84445,radial,0.01389,0.02469"
overlay9_desc28 = "y|b,0.85000,0.82222,radial,0.01389,0.02469"

overlay9_desc29 = "x|a,0.90000,0.73334,radial,0.01389,0.02469"
overlay9_desc30 = "x|a,0.91250,0.71111,radial,0.01389,0.02469"

overlay9_desc31 = "toggle_fast_forward,0.80000,0.08889,radial,0.02604,0.046296"
overlay9_desc31_overlay = ../flat/img/fast_forward.png

overlay9_desc32 = "left,0.07188,0.77778,radial,0.05364,0.08148"
overlay9_desc32_overlay = ../flat/img/dpad-left.png
overlay9_desc33 = "right,0.19896,0.77778,radial,0.05364,0.08148"
overlay9_desc33_overlay = ../flat/img/dpad-right.png
overlay9_desc34 = "up,0.13542,0.66481,radial,0.04583,0.09537"
overlay9_desc34_overlay = ../flat/img/dpad-up.png
overlay9_desc35 = "down,0.13542,0.89074,radial,0.04583,0.09537"
overlay9_desc35_overlay = ../flat/img/dpad-down.png
overlay9_desc36 = "left|up,0.05313,0.63148,rect,0.03646,0.06481"
overlay9_desc37 = "right|up,0.21771,0.63148,rect,0.03646,0.06481"
overlay9_desc38 = "left|down,0.05313,0.92407,rect,0.03646,0.06481"
overlay9_desc39 = "right|down,0.21771,0.92407,rect,0.03646,0.06481"


# Overlay 10 - cc hidden

overlay10_descs = 1

overlay10_desc0 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay10_desc0_overlay = ../flat/img/show.png
overlay10_desc0_next_target = "cc landscape"


# Overlay 11 - portrait - analog

overlay11_descs = 26

overlay11_desc0 = "nul,0.21481,0.85417,radial,0.15185,0.08542"
overlay11_desc0_overlay = ../flat/img/octagon-thumbstick-background.png
overlay11_desc1 = "analog_left,0.21481,0.85417,radial,0.15185,0.08542"
overlay11_desc1_overlay = ../flat/img/gcn-thumbstick.png
overlay11_desc1_range_mod = 30.0
overlay11_desc1_saturate_pct = 0.65
overlay11_desc1_movable = true

overlay11_desc2 = "a,0.88889,0.85417,radial,0.07407,0.04167"
overlay11_desc2_overlay = ../flat/img/A.png
overlay11_desc3 = "b,0.77778,0.91667,radial,0.07407,0.04167"
overlay11_desc3_overlay = ../flat/img/B.png
overlay11_desc4 = "x,0.77778,0.79167,radial,0.07407,0.04167"
overlay11_desc4_overlay = ../flat/img/X.png
overlay11_desc5 = "y,0.66667,0.85417,radial,0.07407,0.04167"
overlay11_desc5_overlay = ../flat/img/Y.png
overlay11_desc6 = "start,0.64815,0.66146,radial,0.046296,0.02604"
overlay11_desc6_overlay = ../flat/img/plus.png
overlay11_desc7 = "select,0.35185,0.66146,radial,0.046296,0.02604"
overlay11_desc7_overlay = ../flat/img/minus.png

overlay11_desc8 = "l,0.04815,0.56771,rect,0.09259,0.05208"
overlay11_desc8_overlay = ../flat/img/ZL.png
overlay11_desc9 = "nul,1.55185,1.97083,radial,0.09259,0.05208"
#overlay11_desc9_overlay = ../flat/img/L1_down.png
overlay11_desc10 = "l2,0.04815,0.68021,rect,0.09259,0.05208"
overlay11_desc10_overlay = ../flat/img/L.png
overlay11_desc11 = "r3,0.5,0.66146,radial,0.046296,0.02604"
overlay11_desc11_overlay = ../flat/img/home.png
overlay11_desc12 = "r2,0.95185,0.68021,rect,0.09259,0.05208"
overlay11_desc12_overlay = ../flat/img/R_down.png
overlay11_desc13 = "r,0.95185,0.56771,rect,0.09259,0.05208"
overlay11_desc13_overlay = ../flat/img/ZR.png

overlay11_desc14 = "menu_toggle,0.50000,0.55000,radial,0.046296,0.02604"
overlay11_desc14_overlay = ../flat/img/rgui.png

# Hidden rotate button for automatic rotate function
overlay11_desc15 = "overlay_next,-0.65000,-0.45000,radial,0.00001,0.00001"
overlay11_desc15_next_target = "cc landscape"

overlay11_desc16 = "overlay_next,0.4000,0.55000,radial,0.046296,0.02604"
overlay11_desc16_overlay = ../flat/img/wiimote_v.png
overlay11_desc16_next_target = "portrait"

# Combo buttons
overlay11_desc17 = "x|y,0.71111,0.81667,radial,0.02469,0.01389"
overlay11_desc18 = "x|y,0.73334,0.82917,radial,0.02469,0.01389"

overlay11_desc19 = "a|b,0.82222,0.87917,radial,0.02469,0.01389"
overlay11_desc20 = "a|b,0.84445,0.89167,radial,0.02469,0.01389"

overlay11_desc21 = "y|b,0.71111,0.89167,radial,0.02469,0.01389"
overlay11_desc22 = "y|b,0.73334,0.87917,radial,0.02469,0.01389"

overlay11_desc23 = "x|a,0.82222,0.82917,radial,0.02469,0.01389"
overlay11_desc24 = "x|a,0.84445,0.81667,radial,0.02469,0.01389"

overlay11_desc25 = "toggle_fast_forward,0.6000,0.55000,radial,0.046296,0.02604"
overlay11_desc25_overlay = ../flat/img/fast_forward.png


# Overlay 12 - gc landscape

overlay12_descs = 26

# dpad
overlay12_desc0 = "left,0.07188,0.83778,radial,0.04479,0.06852"
overlay12_desc0_overlay = ../flat/img/dpad-left.png
overlay12_desc1 = "right,0.17813,0.83778,radial,0.04479,0.06852"
overlay12_desc1_overlay = ../flat/img/dpad-right.png
overlay12_desc2 = "up,0.12500,0.74333,radial,0.03854,0.07963"
overlay12_desc2_overlay = ../flat/img/dpad-up.png
overlay12_desc3 = "down,0.12500,0.93222,radial,0.03854,0.07963"
overlay12_desc3_overlay = ../flat/img/dpad-down.png

# diagonals
overlay12_desc4 = "left|up,0.07188,0.74333,rect,0.03854,0.07963"
overlay12_desc5 = "right|up,0.17813,0.74333,rect,0.03854,0.07963"
overlay12_desc6 = "left|down,0.07188,0.93222,rect,0.03854,0.07963"
overlay12_desc7 = "right|down,0.17813,0.93222,rect,0.03854,0.07963"

# A, B
overlay12_desc8 = "a,0.86313,0.55593,radial,0.055,0.09"
overlay12_desc8_overlay = ../flat/img/gcn-a.png
overlay12_desc9 = "b,0.78813,0.64259,radial,0.035,0.062223"
overlay12_desc9_overlay = ../flat/img/B.png

# X, Y
overlay12_desc10 = "x,0.942,0.523,radial,0.04,0.10407"
overlay12_desc10_overlay = ../flat/img/gcn-x.png
overlay12_desc11 = "y,0.8400,0.4270,radial,0.06167,0.07"
overlay12_desc11_overlay = ../flat/img/gcn-y.png

# analog L, R
overlay12_desc12 = "l3,0.21,0.08889,rect,0.06,0.07"
overlay12_desc12_overlay = ../flat/img/gcn-analog-l.png
overlay12_desc13 = "r3,0.79,0.08889,rect,0.06,0.07"
overlay12_desc13_overlay = ../flat/img/gcn-analog-r.png

# L, R
overlay12_desc14 = "l2,0.08125,0.08889,rect,0.07808,0.07"
overlay12_desc14_overlay = ../flat/img/gcn-l.png
overlay12_desc15 = "r2,0.91875,0.08889,rect,0.07808,0.07"
overlay12_desc15_overlay = ../flat/img/gcn-r.png

# Start
overlay12_desc16 = "start,0.5000,0.90593,radial,0.02500,0.044444"
overlay12_desc16_overlay = ../flat/img/start_rounded_big.png

overlay12_desc17 = "menu_toggle,0.50000,0.08889,radial,0.02604,0.046296"
overlay12_desc17_overlay = ../flat/img/rgui.png

# off-screen rotate button
overlay12_desc18 = "overlay_next,-0.5,-0.5,radial,0.02604,0.046296"
overlay12_desc18_next_target = "gc portrait"
#overlay12_desc18_overlay = ../flat/img/test.png

overlay12_desc19 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay12_desc19_overlay = ../flat/img/hide.png
overlay12_desc19_next_target = "gc hidden"

# Left analog
overlay12_desc20 = "nul,0.12500,0.41708,radial,0.08542,0.15185"
overlay12_desc20_overlay = ../flat/img/octagon-thumbstick-background.png
overlay12_desc21 = "analog_left,0.12500,0.41708,radial,0.07542,0.1333"
overlay12_desc21_overlay = ../flat/img/gcn-thumbstick.png
overlay12_desc21_range_mod = 30.0
overlay12_desc21_saturate_pct = 0.65
overlay12_desc21_movable = true

# Z-trigger
overlay12_desc22 = "r,0.92750,0.24815,rect,0.0708,0.045"
overlay12_desc22_overlay = ../flat/img/gcn-z.png

# C-stick
overlay12_desc23 = "nul,0.90,0.85,radial,0.06406,0.11388"
overlay12_desc23_overlay = ../flat/img/octagon-thumbstick-background.png
overlay12_desc24 = "analog_right,0.90,0.85,radial,0.037721,0.06667"
overlay12_desc24_overlay = ../flat/img/C.png
overlay12_desc24_range_mod = 30.0
overlay12_desc24_saturate_pct = 0.65
overlay12_desc24_movable = true

overlay12_desc25 = "overlay_next,0.70000,0.08889,radial,0.02604,0.046296"
overlay12_desc25_next_target = "cc landscape"
overlay12_desc25_overlay = ../flat/img/classic_controller.png


# Overlay 13 - gc hidden

overlay13_descs = 1

overlay13_desc0 = "overlay_next,0.60000,0.08889,radial,0.02604,0.046296"
overlay13_desc0_overlay = ../flat/img/show.png
overlay13_desc0_next_target = "gc landscape"


# Overlay 14 - gc portrait

overlay14_descs = 24

# dpad
overlay14_desc0 = "left,0.15085,0.92417,radial,0.03981,0.01927"
overlay14_desc0_overlay = ../flat/img/dpad-left.png
overlay14_desc1 = "right,0.24174,0.92417,radial,0.03981,0.01927"
overlay14_desc1_overlay = ../flat/img/dpad-right.png
overlay14_desc2 = "up,0.19630,0.89904,radial,0.03426,0.02239"
overlay14_desc2_overlay = ../flat/img/dpad-up.png
overlay14_desc3 = "down,0.19630,0.94929,radial,0.03426,0.02239"
overlay14_desc3_overlay = ../flat/img/dpad-down.png

# diagonals
overlay14_desc4 = "left|up,0.15085,0.89904,rect,0.03426,0.02239"
overlay14_desc5 = "right|up,0.24174,0.89904,rect,0.03426,0.02239"
overlay14_desc6 = "left|down,0.15085,0.94929,rect,0.03426,0.02239"
overlay14_desc7 = "right|down,0.24174,0.94929,rect,0.03426,0.02239"

# Start
overlay14_desc8 = "start,0.50000,0.65,radial,0.046296,0.02604"
overlay14_desc8_overlay = ../flat/img/start_rounded_big.png

overlay14_desc9 = "menu_toggle,0.5,0.55,radial,0.046296,0.02604"
overlay14_desc9_overlay = ../flat/img/rgui.png

# offscreen rotate button
overlay14_desc10 = "overlay_next,-0.5,-0.5,radial,0.046296,0.02604"
overlay14_desc10_next_target = "gc landscape"
#overlay14_desc10_overlay = ../flat/img/test.png

# Left analog
overlay14_desc11 = "nul,0.200,0.75,radial,0.15185,0.08542"
overlay14_desc11_overlay = ../flat/img/octagon-thumbstick-background.png
overlay14_desc12 = "analog_left,0.200,0.75,radial,0.1333,0.07542"
overlay14_desc12_overlay = ../flat/img/gcn-thumbstick.png
overlay14_desc12_range_mod = 30.0
overlay14_desc12_saturate_pct = 0.65
overlay14_desc12_movable = true

# C-stick
overlay14_desc13 = "nul,0.850,0.92,radial,0.11388,0.06406"
overlay14_desc13_overlay = ../flat/img/octagon-thumbstick-background.png
overlay14_desc14 = "analog_right,0.850,0.92,radial,0.06667,0.037721"
overlay14_desc14_overlay = ../flat/img/C.png
overlay14_desc14_range_mod = 30.0
overlay14_desc14_saturate_pct = 0.65
overlay14_desc14_movable = true

# analog L, R
overlay14_desc15 = "l3,0.23125,0.58889,rect,0.14259,0.039"
overlay14_desc15_overlay = ../flat/img/gcn-analog-l.png
overlay14_desc16 = "r3,0.76875,0.58889,rect,0.14259,0.039"
overlay14_desc16_overlay = ../flat/img/gcn-analog-r.png

# L, R
overlay14_desc17 = "l2,0.14,0.53,rect,0.14259,0.039"
overlay14_desc17_overlay = ../flat/img/gcn-l.png
overlay14_desc18 = "r2,0.86,0.53,rect,0.14259,0.039"
overlay14_desc18_overlay = ../flat/img/gcn-r.png

# Z-trigger
overlay14_desc19 = "r,0.5,0.92417,rect,0.12259,0.025"
overlay14_desc19_overlay = ../flat/img/gcn-z.png

# A, B
overlay14_desc20 = "a,0.74,0.75,radial,0.09,0.05"
overlay14_desc20_overlay = ../flat/img/gcn-a.png
overlay14_desc21 = "b,0.615,0.79259,radial,0.062223,0.035"
overlay14_desc21_overlay = ../flat/img/B.png

# X, Y
overlay14_desc22 = "x,0.872,0.733,radial,0.07,0.06167"
overlay14_desc22_overlay = ../flat/img/gcn-x.png
overlay14_desc23 = "y,0.70,0.6770,radial,0.10407,0.04167"
overlay14_desc23_overlay = ../flat/img/gcn-y.png
