{
  cooldown: 0.0,
  areas: [
    {
      name: "ANYWHERE",
      rect: { x: 0, y: 0, w: 100, h: 100 },
      model: "*FILLAREA*",
      activeAreaColor: "REF: clr_menuBKG",
      isEnterable: 1
    },
    {
      name: "TITLE",
      rect: { x: 5, y:3 , w: 90, h: 10 },
      areaColor: "",
      activeAreaColor: "",
      model: "SETTINGS",
      material: "REF: mat_menuTitle",
      isEnterable: 0
    },
    {
      name: "SOUND",
      rect: { x: 30, y: 27, w: 40, h: 10 },
      activeAreaColor: "REF: clr_menuATV",
      areaColor: "REF: clr_menuCLR",
      model: "SOUND",
      material: "REF: mat_menuOpt5",
      isEnterable: 1
    },
    {
      name: "VIDEO",
      rect: { x: 30, y: 40, w: 40, h: 10 },
      activeAreaColor: "REF: clr_menuATV",
      areaColor: "REF: clr_menuCLR",
      model: "VIDEO",
      material: "REF: mat_menuOpt5",
      isEnterable: 1
    },
    {
      name: "CONTROLS",
      rect: { x: 30, y: 53, w: 40, h: 10 },
      activeAreaColor: "REF: clr_menuATV",
      areaColor: "REF: clr_menuCLR",
      model: "CONTROLS",
      material: "REF: mat_menuOpt5",
      isEnterable: 1
    },
    {
      name: "OPTIONS",
      rect: { x: 30, y: 66, w: 40, h: 10 },
      activeAreaColor: "REF: clr_menuATV",
      areaColor: "REF: clr_menuCLR",
      model: "OPTIONS",
      material: "REF: mat_menuOpt5",
      isEnterable: 1
    },
    {
      name: "BACK",
      rect: { x: 30, y: 82, w: 40, h: 10 },
      activeAreaColor: "REF: clr_menuATV",
      areaColor: "REF: clr_menuCLR",
      model: "BACK",
      material: "REF: mat_menuOpt5",
      isEnterable: 1
    },
  ],
  switches: [
    {
      areas: [ "*ALL*" ],
      triggersRef: "menu_escape",
      delays: { },
      actions: { press:    [ { id: "LOGIC_RETURN", info: "BACK" } ] }
    },
    // Press anything when not on menu then move to menu top
    {
      areas: [ "ANYWHERE" ],
      triggersRef: "menu_pressAny",
      delays: { },
      actions: { press:       [ { id: "GOTO_AREA", info: "SOUND" } ] }
    },
    // Press select then logic returns the area name
    {
      areas: [ "SOUND","VIDEO","CONTROLS","OPTIONS","BACK" ],
      triggersRef: "menu_pressSelect",
      delays: { },
      actions: { press:       [ { id: "LOGIC_RETURN", info: "[AREA_NAME]" } ] }
    },

    // Press up then move menu up
    {
      areas: [ "SOUND", "VIDEO", "CONTROLS", "OPTIONS", "BACK" ],
      triggersRef: "menu_pressUP",
      delays: { },
      actions: { press:       [ { id: "GOTO_AREA", info: "[PREV_AREA]" } ] }
    },

    // Press down then move menu down
    {
      areas: [ "SOUND", "VIDEO", "CONTROLS", "OPTIONS", "BACK" ],
      triggersRef: "menu_pressDN",
      delays: { },
      actions: { press:       [ { id: "GOTO_AREA", info: "[NEXT_AREA]" } ] }
    },

  ]
}
