Thank you for you quick answer. Looks like you're referring to the Arduino library of M5Stack.
I wonder if there is an equivalent function in UI-FLOW? I'm currently using UI-Flow to program my Fire.
I can also try to burn the Arduino firmware, but I'm worried if I can control the UI as easily as in UI-Flow.