controllers done i guess
This commit is contained in:
@@ -108,6 +108,7 @@ void CFunnyGameBridge::Init()
|
||||
for ( uint32_t i = 0; i < pHeadSet->GetControllerCount(); i++ )
|
||||
{
|
||||
pHeadSet->GetController(i)->SetInputCallback(XRInputCallback);
|
||||
V_printf("callback set on %p\n", pHeadSet->GetController(i));
|
||||
|
||||
}
|
||||
}
|
||||
@@ -161,7 +162,6 @@ void CFunnyGameBridge::Frame( float fDelta )
|
||||
if (pHeadSet) {
|
||||
XRRenderSurface_t s = pHeadSet->GetSurface(0);
|
||||
g_pWorldRenderer->SetCameraPosition(s.m_vPosition);
|
||||
V_printf("%f\n", s.m_vPosition.y);
|
||||
g_pWorldRenderer->SetCameraRotation(s.m_vRotation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user