aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
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-25/+51
2020-07-16Add doc for Q and E zoom keys, show cursor inside the companion windowdec05eba-1/+2
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-8/+25
2020-07-10Change the behavior of cursor in stereoscopic mode to match the cursor ↵dec05eba-10/+28
position in the game (--cursor-wrap|--no-cursor-wrap)
2020-07-08mmdec05eba-1/+1
2020-07-08Improve usage guide in README.mddec05eba-9/+31
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/+33
2020-07-02Change title of companion window to vr-video-playerdec05eba-12/+1
2020-07-02Show cursor instead of yellow circledec05eba-37/+7790
2020-07-02Fix crash when closing target windowdec05eba-0/+22
2020-06-20Update readme with info about vkBasaltdec05eba-1/+1
2020-06-13Set width/height ratio of plane to the same as the target window and reduce ↵dec05eba-15/+17
curvature
2020-06-13Only follow camera in sphere projection modedec05eba-10/+48
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-3/+35
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
2020-06-05Add simple build script instead of depending on sibsdec05eba-3/+14
2020-06-04Fix freeze on target window resizedec05eba-145/+210
2020-05-13Remove dependency on glxdec05eba-1/+0
2020-05-03Add key to reset rotation of videodec05eba-47/+45
2020-05-02Update readme with game related infodec05eba-0/+6
2020-05-02Remove unused files and soil dependencydec05eba-3/+0
2020-05-02Attempt to reduce stutteringdec05eba-6/+6
2020-05-01Enable vsyncdec05eba-1/+1
2020-05-0132 bit colordec05eba-0/+1
2020-05-01Fix incorrect colors on systems that support 10-bit outputdec05eba-0/+1
2020-05-01Fix build for ubuntu and fedora (missing glm ext files)dec05eba-10/+10
2020-05-01Show video forward as set by steamvr, instead of showing it backwardsdec05eba-2/+3
2020-05-01Add option to switch left and right view and to disable video stretchingdec05eba-2/+25
2020-04-30Find config file and exit if not founddec05eba-1/+10
2020-04-30Add option for flat projection and zoom leveldec05eba-98/+146
2020-04-29Update readme with installation instructionsdec05eba-3/+8
2020-04-29Fix for DE (xfce4). Only redirect the target windowdec05eba-5/+1
2020-01-05make it workDEC05EBA-273/+78
2020-01-05cursor...wipDEC05EBA-74/+292
2019-12-16Replace homemade matrix/vector classes with glmDEC05EBA-2145/+124
2019-12-16Fix controller not showingDEC05EBA-2/+7
2019-12-16initial commitDEC05EBA-0/+4483