Boingo the Clown asked me to make a post on this board, so if you don't like it, blame him.
Here we go...
GZDoom Virtual Reality
A guide for Android users.
Since the kickstarter of Oculus Rift in 2012, many have been intrigued by the concept of playing their favorite games in virtual reality. When the Rift was released as a consumer product in early 2016, many people including DooMers were disappointed that the rift cost over $500, not to mention the cost of a computer fast enough to use the rift, or the inability of Oculus to get the product into the hands of pre-order customers on time. Fortunately, many other companies took it upon themselves to create ways of playing games in VR without either the high price tag or inevitable waiting for delivery.
Today I will show you how with a budget of less than $100 you can setup and configure your very own GZDoom Virtual Reality.
Hardware!The most important thing we need is the hardware. A phone that is compatible with Google Cardboard has G-sensors that will permit the user to control the mouse/cross-hair with his head when playing a game. A rather small list of compatible phones was released on StackOverflow some time back. I will provide the list at the end of this post.
Example:
The phone I will be using in this tutorial is my 2 yo Motorola “Moto G”.
Next thing we need is a good head mount which is what holds the phone to your face. There are plenty of different models that can be found on Amazon.com for less than $20.00, The one I bought is called Cynoculars, which can be obtained at any local Toys 'R' Us and comes with a wireless blue tooth controller which is useful.
Example:
While you're at it. If your computer doesn't have built in blue tooth support, go grab an adapter off Amazon for a couple of bucks.
Now that we have our hardware. Its time to tie everything together.Software!Now we need software to run our scheme. The software we will use is called TrinusVR. TrinusVR is free for any PC running Microsoft Windows Windows Vista or above. For Android, TrinusVR has a 15 minute demo to test on your android phone before buying the full $10 app.

So far we have probably spent somewhere around $60-70 (have to count shipping) for our goodies. Much less than the $500 Rift. Now we just need to tie it all together.
Configuration!First, you want to make sure your computer and android phone are both on the same WIFI connection, or better yet, have your computer plugged directly into the router's LAN port.
The most important thing to do after installing TrinusVR to your computer is to click on the advance button in the config menu and change the
Capture Mode from
Fast to
Compatible.
Example:
Otherwise, instead of this:

You get this:
Bluetooth Controller!If you decided on the Cynoculars, here is the best way to configure the bluetooth controller in GZDoom.
First, make sure to pair them with your computer, but not the phone, according to the instructions in the manual.
Second, On the wireless controller press the @ & B buttons together for 3 seconds to set it for gamepad mode.
Third, run Zdoom/GZdoom and go to
Joystick Options and set
Enable Controller Support to
Yes.
Example:
Fourth, scroll down to
Keyboard #2, which is actually the game controller.
Once there set both
Z Rotation and
Z Axis to
None, otherwise bad things will happen.
Example:
One thing I did was because I wanted to hold the controller like a pistol, was set
X Axis to
Moving Forward, and
Y Axis to
Strafing.
After that, setup your control buttons in the
Customize Controls menu and you should be on your way. Hope you have fun!
Appendix!A quick little list of compatible G-sensor enabled phones.Amazon fire
Droid Maxx/Ultra
Droid turbo. (see /u/G3yost 's comments about getting the magnet to work)
Honor 6 (But the magnet has to be on the other side.)
HTC Sensation
HTC Sensation XL
HTC Evo 3D
HTC One S
HTC One X
Huawei Ascend P1
Huawei Ascend X (U9000)
Huawei Honor (U8860)
iPhone 5, 6+
LG g3 works, (but you need to put 2 pads on the cardboard to elevate the phone. Or the magnet doesn't work)
LG Nitro HD (P930)
LG/Google Nexus 4
LG/Google Nexus 5
LG Optimus 2x (P990)
LG Optimus 3D (P920)
LG Optimus Black (P970)
LG Optimus G
Motorola Moto G 2014 (works with mixed results, need second opinion)
Motorola Moto X 2014
Nexus 7 (2012)
OnePlus One
OPPO Find 7
Samsung Galaxy S II (i9100)
Samsung Galaxy S III (i9300)
Samsung Galaxy S4
Samsung galaxy S5
Samsung Galaxy S6 Edge is fully functional
Samsung Galaxy R (i9103)
Samsung Google Nexus S (i9020)
Samsung Galaxy Nexus (i9250)
Samsung Galaxy Note (n7000)
Samsung Galaxy Note 2, Note 3, Note 4
Sony Xperia P (LT22i)
Sony Xperia S (LT26i)
Sony Xperia Z3 Compact
Tablets:
Acer Iconia Tab A100 (7")
Acer Iconia Tab A500 (10.1")
Asus Eee Pad Transformer (TF101)
Asus Eee Pad Transformer Prime (TF201)
Motorola Xoom (mz604)
Samsung Galaxy Tab (p1000)
Samsung Galaxy Tab 7 plus (p6200)
Samsung Galaxy Tab 10.1 (p7100)
Sony Tablet P
Sony Tablet S
Toshiba Thrive 7"
Toshiba Trhive 10"