From 8511933929a06c99a0ad358653a4db8f177a4527 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 10 Jul 2020 08:11:58 +0200 Subject: Change the behavior of cursor in stereoscopic mode to match the cursor position in the game (--cursor-wrap|--no-cursor-wrap) --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'README.md') 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] +usage: vr-video-player [--flat] [--left-right|--right-left|--plane] [--stretch|--no-stretch] [--zoom zoom-level] [--cursor-scale scale] [--cursor-wrap|--no-cursor-wrap] ``` +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 -- cgit v1.2.3