parts {
  device {
    display {
      width 280
      height 280
      x 0
      y 0
    }
  }
  portrait {
    background {
      image back.png
    }
    onion {
      image fore.png
    }
  }
  landscape {
    background {
      image back.png
    }
    onion {
      image fore.png
    }
  }
}
layouts {
  portrait {
    width 474
    height 403
    event EV_SW:0:1
    part1 {
      name portrait
      x 0
      y 0
    }
    part2 {
      name device
      x 100
      y 38
    }
  }
  landscape {
    width 474
    height 403
    event EV_SW:0:0
    part1 {
      name landscape
      x 0
      y 0
    }
    part2 {
      name device
      x 100
      y 318
      rotation 3
    }
  }
}
