loop

open fun loop(gamepad: Gamepad)

Call this from inside your loop to put the current menu state into telemetry, and process gamepad inputs for navigating the menu

Parameters

gamepad

the gamepad you want to use to navigate the menu