It's a bit hard to test without actual head tracking, so I added the tracking code for my Vuzix 1200VR headset.
While I'm not overly happy with the headset itself, the Vuzix sdk is very nice. Just call IWROpenTracker() to turn it on, then call IWRGetTracking() every frame to read the current pitch, roll, yaw values. There's calibration functions too, very easy to use.
Hmm, maybe I should make this demo be Vuzix and Oculus compatible. Both use side by side stereo and have 3dof tracking, I just need to turn off the barrel compositor for the vuzix. That way I can run it here too.

Now to take a look in the Oculus tracking sdk.
(In case any Oculus devs are hear, don't freak out. I'm not going to break the eula rule against using the oculus sdk code with another brand of headset. The vuzix stuff will be separate)
Mini rant: I hate it when companies release an sdk but require you to specify what project you intend to use the sdk for. With the Oculus Rift, you have to name your project before you can get the sdk, others require project descriptions.
Well, some of us don't know exactly what we want to make yet! We want to learn what the sdk can do before deciding on a project! We want to do some R&D to find potential uses. Requiring us to know in advance what our one specific use of the sdk will be is stupid. I had this problem with photoshop years ago. I applied for the sdk (it wasn't public back around photoshop 5). They wanted to know why I wanted it (no, shut up and give it to me!). I told them for filter development and adding my own file format import/export support (I had a 96bit tiled streaming file format for my raytracer). They responded that the sdk didn't support adding file formats, I had to pay for the premium sdk to get that. I would have known that if they gave me the damn sdk first so I could see what it exposed!
For the latest Vuzix sdk I need to give them my phone number and a description of how I intend to use the sdk before I can download it! Luckily a hard drive search found a copy of their old sdk that I got back in 2011.
Ok, end of rant.