From 189736c1a96a1ad0e571ad69f01039e96455011a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 22 Feb 2025 13:31:51 +0100 Subject: Add option to take a screenshot (default hotkey: alt+f1) --- tools/gsr-ui-cli/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/gsr-ui-cli') diff --git a/tools/gsr-ui-cli/main.c b/tools/gsr-ui-cli/main.c index bcb5c81..9f1eb03 100644 --- a/tools/gsr-ui-cli/main.c +++ b/tools/gsr-ui-cli/main.c @@ -50,6 +50,7 @@ static void usage(void) { printf(" toggle-stream Start/stop streaming.\n"); printf(" toggle-replay Start/stop replay.\n"); printf(" replay-save Save replay.\n"); + printf(" take-screenshot Take a screenshot.\n"); printf("\n"); printf("EXAMPLES:\n"); printf(" gsr-ui-cli toggle-show\n"); @@ -65,6 +66,7 @@ static bool is_valid_command(const char *command) { "toggle-stream", "toggle-replay", "replay-save", + "take-screenshot", NULL }; -- cgit v1.2.3-70-g09d2