aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
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
2020-05-01Enable vsyncdec05eba
2020-05-0132 bit colordec05eba
2020-05-01Fix incorrect colors on systems that support 10-bit outputdec05eba
2020-05-01Fix build for ubuntu and fedora (missing glm ext files)dec05eba
2020-05-01Show video forward as set by steamvr, instead of showing it backwardsdec05eba
2020-05-01Add option to switch left and right view and to disable video stretchingdec05eba
2020-04-30Find config file and exit if not founddec05eba
2020-04-30Add option for flat projection and zoom leveldec05eba
2020-04-29Fix for DE (xfce4). Only redirect the target windowdec05eba
2020-01-05make it workDEC05EBA
2020-01-05cursor...wipDEC05EBA
2019-12-16Replace homemade matrix/vector classes with glmDEC05EBA
2019-12-16Fix controller not showingDEC05EBA
2019-12-16initial commitDEC05EBA