diff --git a/Overlay-image-configuration.md b/Overlay-image-configuration.md index 6717fed..94c3eaa 100644 --- a/Overlay-image-configuration.md +++ b/Overlay-image-configuration.md @@ -87,3 +87,14 @@ It's possible to trigger multiple buttons (e.g. diagonals) with one overlay desc will trigger both left and up at same time. +### Go to arbitrary overlay index + +To build some kind of menu system, one would need the ability for `overlay_next` to refer to any overlay. +To do this, two extra things must be configured: + + overlay2_overlay = "some_overlay.png" + overlay2_name = "overview_overlay" # A name which can be referred to. Must be set if it is to be refered to. + + overlay0_desc0 = "overlay_next,200,180,radial,40,40" + overlay0_desc0_next_target = "overview_overlay" # When this overlay_next is pressed. It will go to index 2 directly, instead of the default 1. +