aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorLines
2022-04-27Reordered source filesHEADmasterLeonard Kugis-258/+2
2022-04-27Added MakefileLeonard Kugis-4/+5
2022-04-27Implemented SPHERE360N rendering mode for YouTubeLeonard Kugis-56/+221
2022-04-22Add --reduce-flicker option to reduce flickering for textdec05eba-1/+11
2022-04-13Temp: revert bspwm fix because of flickeringdec05eba-4/+3
2022-04-13Fix flickering issue caused by visibility change spamdec05eba-5/+9
2022-03-23Fix for bspwmdec05eba-3/+10
2021-10-15sphere360 sphere :(dec05eba-11/+1
2021-09-26Make camera position follow hmd position by default. Use --free-camera to ↵dec05eba-1/+5
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-7/+2
2021-09-08Update readmedec05eba-1/+1
2021-07-16Add global alt+q/e for zoomdec05eba-42/+66
2021-05-31Remove unecessary window texture resizedec05eba-1/+0
2021-05-31Fix after xfixes update, add --follow-focused to make vr-video-player ↵dec05eba-72/+146
automatically update when the focused window changes
2020-11-25Make default position the standing positiondec05eba-0/+3
2020-11-25Asdf, add --sphere360 modedec05eba-21/+177
2020-08-30switch from rgba to rgb for window texturedec05eba-2/+2
2020-08-29Add alt+f1 global hotkey to reset window rotation (keyboard mapping update ↵dec05eba-1/+36
not tested)
2020-07-28Revert "Add alt+f1 keybind on target window to reset window rotation"dec05eba-10/+0
This reverts commit cf0a94502a791f2b8a64cc6449b1e9dcaa3e3874.
2020-07-28Add alt+f1 keybind on target window to reset window rotationdec05eba-0/+10
2020-07-27float > intdec05eba-1/+1
2020-07-27Use x11 cursor image instead of a regular png imagedec05eba-52/+96
2020-07-17Remove more unused controller render codedec05eba-130/+0
2020-07-17Add examples to usage outputdec05eba-0/+10
2020-07-16Make plane less curveddec05eba-2/+2
2020-07-16Remove unused code (controller rendering from hellovr_opengl valve example)dec05eba-341/+0
2020-07-16Use correct window ratio for --plane modedec05eba-5/+8
2020-07-16Fix window resize memory leak (nvidia is not cleaning up on glDeleteTextures)dec05eba-24/+50
2020-07-16Add doc for Q and E zoom keys, show cursor inside the companion windowdec05eba-1/+0
2020-07-16Fix /tmp/vr-video-player_ file not being written to when using Q keydec05eba-10/+4
2020-07-16hotkeys for live zoom with temp filefrostworx-0/+34
2020-07-16Print more info when using invalid arguments or no argumentsdec05eba-4/+24
2020-07-10Change the behavior of cursor in stereoscopic mode to match the cursor ↵dec05eba-9/+19
position in the game (--cursor-wrap|--no-cursor-wrap)
2020-07-05Fix window texture not working for certain window (like termite)dec05eba-6/+35
2020-07-03Use correct cursor offset, add --cursor-scale option to change cursor scaledec05eba-10/+31
2020-07-02Change title of companion window to vr-video-playerdec05eba-12/+1
2020-07-02Show cursor instead of yellow circledec05eba-35/+129
2020-07-02Fix crash when closing target windowdec05eba-0/+22
2020-06-13Set width/height ratio of plane to the same as the target window and reduce ↵dec05eba-14/+16
curvature
2020-06-13Only follow camera in sphere projection modedec05eba-9/+46
2020-06-13try to improve capture a little bitWebFreak001-1/+5
I'm not too sure if the pixmap config part actually changes something like this but the API of glXCreatePixmap says it will result in a BadMatch error if the window doesn't have the GLX_WINDOW_BIT. Also adds some XSync calls which help debugging crashes.
2020-06-13add APIs to control mouse cursorWebFreak001-0/+43
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-0/+4
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-0/+27
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-2/+30
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-5/+0
regular alt-f4 (or similar) key combinations work fine
2020-06-13use quaternions for resetting rotationWebFreak001-6/+6
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-4/+6
use reset rotation (W) to reset position as well now
2020-06-13add cylindrical projectionWebFreak001-7/+40
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-6/+31