aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-09-23 18:55:43 +0200
committerdec05eba <dec05eba@protonmail.com>2023-09-23 18:58:07 +0200
commitc584f6a67815234208947e462205242ba861188e (patch)
treea64843383582475d126c2624ac8a42ebac884c1e
parent8a5c83effaf9303c9d5422cd67b4721ee4087903 (diff)
Mention Esc to close the application
-rw-r--r--README.md2
-rw-r--r--src/main.cpp2
2 files changed, 3 insertions, 1 deletions
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();
}