From c584f6a67815234208947e462205242ba861188e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 23 Sep 2023 18:55:43 +0200 Subject: Mention Esc to close the application --- README.md | 2 ++ src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df987c0..93f052a 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ The video might not be in front of you, so to move the video in front of you, yo * Press the select/back button on an xbox controller while the application is focused * Send a SIGUSR1 signal to the application, using the following command: `killall -USR1 vr-video-player` +You can close the application by pressing Esc when the application is focused. + You can zoom the view with Alt + Q/E. When using the built-in video player and the vr window is focused you can then use left/right arrow keys to move back/forward in the video and space to pause. In the future vr-video-player will show a graphical interface inside vr to manipulate the video. diff --git a/src/main.cpp b/src/main.cpp index 36773bb..0d3143e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2759,7 +2759,7 @@ CMainApplication *pMainApplication; void reset_position(int signum) { - printf("ok\n"); + write(STDOUT_FILENO, "ok\n", 3); if(pMainApplication) pMainApplication->ResetRotation(); } -- cgit v1.2.3