aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-10 08:11:58 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-10 08:11:58 +0200
commit8511933929a06c99a0ad358653a4db8f177a4527 (patch)
treee3539ef24fd8db60a3271db3c4d4f6e11a8b8b69 /README.md
parentcd3065f541fe8b4177e1aad2ccacc16cb25954d8 (diff)
Change the behavior of cursor in stereoscopic mode to match the cursor position in the game (--cursor-wrap|--no-cursor-wrap)
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9190793..fc23ec8 100644
--- a/README.md
+++ b/README.md
@@ -42,9 +42,17 @@ killall -USR1 vr-video-player`
You can launch vr-video-player without any arguments to show a list of all arguments:
```
-usage: vr-video-player [--flat] [--left-right|--right-left|--plane] [--stretch|--no-stretch] [--zoom zoom-level] [--cursor-scale scale] <window_id>
+usage: vr-video-player [--flat] [--left-right|--right-left|--plane] [--stretch|--no-stretch] [--zoom zoom-level] [--cursor-scale scale] [--cursor-wrap|--no-cursor-wrap] <window_id>
```
+Note: If the cursor position is weird and does not match what you are seeing in stereoscopic vr mode, then try running the vr video player with the --cursor-wrap option:
+
+--cursor-wrap and --no-cursor-wrap changes the behavior of the cursor in steroscopic mode. Usually in games the game view is mirrored but the cursor is not and the center of the
+game which is normally at the center moves to 1/4 and 3/4 of the window. With --cursor-wrap, the cursor position in VR will match the real position of the
+cursor relative to the window and with --no-cursor-wrap the cursor will match the position of the cursor as the game sees it.
+
+Note: --cursor-scale is set to 0 by default in 180 degrees stereoscopic mode and --no-cursor-wrap is set by default in --flat mode.
+
# Games
This vr video player can also be used to play games in VR to to get a 3D effect, and even for games that don't support VR.\
For games such as Trine that have built-in side-by-side view, you can launch it with proton and there is a launch option for side-by-side view. Select this and when the game launches, get the X11 window id of the game