aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2022-07-17Readd bspwm (and i3) fix when changing workspacedec05eba
2022-05-16Remove restriction on free camera option (allow for sphere modes)dec05eba
2022-04-22Add --reduce-flicker option to reduce flickering for textdec05eba
2022-04-13Temp: revert bspwm fix because of flickeringdec05eba
2022-04-13Fix flickering issue caused by visibility change spamdec05eba
2022-03-23Fix for bspwmdec05eba
2021-10-15sphere360 sphere :(dec05eba
2021-09-26Make camera position follow hmd position by default. Use --free-camera to ↵dec05eba
revert back to old behavior where the window position is a set position in the world
2021-09-21Remove unused glu and xproto/glxproto dependenciesdec05eba
2021-09-08Update readmedec05eba
2021-07-16Add global alt+q/e for zoomdec05eba
2021-05-31Remove unecessary window texture resizedec05eba
2021-05-31Fix after xfixes update, add --follow-focused to make vr-video-player ↵dec05eba
automatically update when the focused window changes
2020-11-25Make default position the standing positiondec05eba
2020-11-25Asdf, add --sphere360 modedec05eba
2020-08-29Add alt+f1 global hotkey to reset window rotation (keyboard mapping update ↵dec05eba
not tested)
2020-07-28Revert "Add alt+f1 keybind on target window to reset window rotation"dec05eba
This reverts commit cf0a94502a791f2b8a64cc6449b1e9dcaa3e3874.
2020-07-28Add alt+f1 keybind on target window to reset window rotationdec05eba
2020-07-27float > intdec05eba
2020-07-27Use x11 cursor image instead of a regular png imagedec05eba
2020-07-17Remove more unused controller render codedec05eba
2020-07-17Add examples to usage outputdec05eba
2020-07-16Make plane less curveddec05eba
2020-07-16Remove unused code (controller rendering from hellovr_opengl valve example)dec05eba
2020-07-16Use correct window ratio for --plane modedec05eba
2020-07-16Fix window resize memory leak (nvidia is not cleaning up on glDeleteTextures)dec05eba
2020-07-16Add doc for Q and E zoom keys, show cursor inside the companion windowdec05eba
2020-07-16Fix /tmp/vr-video-player_ file not being written to when using Q keydec05eba
2020-07-16hotkeys for live zoom with temp filefrostworx
2020-07-16Print more info when using invalid arguments or no argumentsdec05eba
2020-07-10Change the behavior of cursor in stereoscopic mode to match the cursor ↵dec05eba
position in the game (--cursor-wrap|--no-cursor-wrap)
2020-07-03Use correct cursor offset, add --cursor-scale option to change cursor scaledec05eba
2020-07-02Change title of companion window to vr-video-playerdec05eba
2020-07-02Show cursor instead of yellow circledec05eba
2020-07-02Fix crash when closing target windowdec05eba
2020-06-13Set width/height ratio of plane to the same as the target window and reduce ↵dec05eba
curvature
2020-06-13Only follow camera in sphere projection modedec05eba
2020-06-13add APIs to control mouse cursorWebFreak001
not currently used yet, but useful if we add VR controller support to point and click inside VR on the window.
2020-06-13trim "window:" from start of window IDWebFreak001
Allows to simply copy-paste the output of `xdotool getmouselocation` when double clicking the window ID without needing to manually remove it from the start. Yes I'm lazy
2020-06-13show mouse cursor as yellow circle inside VRWebFreak001
when the cursor is over the tracked window, show a yellow cursor in the VR view where it would be. Useful if you are moving the cursor and clicking on things while showing a window such as firefox in VR.
2020-06-13add ability to reset rotation via signal + gamepadWebFreak001
The gamepad change isn't the best as it requires the window to be focused, but it allows to use a wireless gamepad to reset the rotation and position like using the w key on the keyboard. I currently hardcoded the reset button to 6 on a joystick, which was equal to the select button on my steam controller using sc-controller simulating an xbox controller. Maybe the controller update isn't quite fit to stay and should use the VR controllers instead & work without focus. The more interesting part of this patch is adding signal handling of SIGUSR1 or SIGUSR2 to do the same thing. This allows to simply run a command like `killall -USR1 vr-video-player` to reset the rotation and position even without window focus. This is especially useful for example for adding a custom command action to KDE connect so you can reset the VR view from your phone without needing to have any special software. However I believe even this signal handling should eventually be replaced with some more advanced API like dbus or a unix socket to also allow for more advanced features like changing tracked windows on the fly.
2020-06-13remove q/escape button to quitWebFreak001
regular alt-f4 (or similar) key combinations work fine
2020-06-13use quaternions for resetting rotationWebFreak001
now uses yaw, pitch and roll for resetting rotation this is something very opinionated, but is useful for example when lying down and looking up
2020-06-13make moving around head not move around pictureWebFreak001
use reset rotation (W) to reset position as well now
2020-06-13add cylindrical projectionWebFreak001
basically a curved monitor floating in front of you. Nicer to look at for long periods of time.
2020-06-13add --plane mode for plane in 3D space to look atWebFreak001
2020-06-04Fix freeze on target window resizedec05eba
2020-05-03Add key to reset rotation of videodec05eba
2020-05-02Remove unused files and soil dependencydec05eba
2020-05-02Attempt to reduce stutteringdec05eba