Skip to content

Commit b188461

Browse files
author
Roger
committed
add feedback when button pressed
1 parent 21ef0bb commit b188461

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class ExampleMentraOSApp extends AppServer {
6161
this.logger.info(`Streaming photos for user ${userId} is now ${this.isStreamingPhotos.get(userId)}`);
6262
return;
6363
} else {
64+
session.layouts.showTextWall("Button pressed, about to take photo", {durationMs: 4000});
6465
// the user pressed the button, so we take a single photo
6566
try {
6667
// first, get the photo

0 commit comments

Comments
 (0)