Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit 022d5ec

Browse files
author
Niek Blankers
committed
Return to homescreen from launcher with START
1 parent 2184f01 commit 022d5ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

esp32/modules/launcher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def perform_uninstall(ok):
107107
ugfx.input_attach(ugfx.JOY_UP, lambda pushed: ugfx.flush() if pushed else 0)
108108
ugfx.input_attach(ugfx.JOY_DOWN, lambda pushed: ugfx.flush() if pushed else 0)
109109

110+
ugfx.input_attach(ugfx.BTN_START, lambda pushed: appglue.start_app("") if pushed else 0)
111+
110112
ugfx.set_lut(ugfx.LUT_FULL)
111113
ugfx.flush()
112114
ugfx.set_lut(ugfx.LUT_FASTER)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy