The code is written by Copyright 2015 John D. Corrado (anarkavre).
This is the simplest possible sample for writing an Oculus Application. This source is taken from:
https://forums.oculus.com/viewtopic.php?f=20&t=8949#p155558
but the changes are done to be able to run it using Oculus 0.4.4 API and Driver version.