diff --git a/test/meshviewer.cpp b/test/meshviewer.cpp index a29ae2dc..985f1da0 100644 --- a/test/meshviewer.cpp +++ b/test/meshviewer.cpp @@ -213,7 +213,7 @@ public: is_fov = m_controller->GetKey(KEY_CAM_FOV).IsDown(); tmp = vec2((float)m_controller->GetKey(KEY_CAM_UP ).IsDown() - (float)m_controller->GetKey(KEY_CAM_DOWN).IsDown(), - ((float)m_controller->GetKey(KEY_CAM_RIGHT ).IsDown() - (float)m_controller->GetKey(KEY_CAM_LEFT).IsDown())); + (float)m_controller->GetKey(KEY_CAM_RIGHT ).IsDown() - (float)m_controller->GetKey(KEY_CAM_LEFT).IsDown()); #endif //!__native_client__ //Base data diff --git a/test/nacl_phystest.cpp b/test/nacl_phystest.cpp index e9be063a..64fa674c 100644 --- a/test/nacl_phystest.cpp +++ b/test/nacl_phystest.cpp @@ -26,7 +26,7 @@ int gNumObjects = 64; Nacl_PhysTest::Nacl_PhysTest(bool editor) { /* Register an input controller for the keyboard */ - m_controller = new Controller(KEY_MAX, 0); + m_controller = new Controller("Default", KEY_MAX, 0); m_controller->GetKey(KEY_MOVE_FORWARD).Bind("Keyboard", "Up"); m_controller->GetKey(KEY_MOVE_BACK).Bind("Keyboard", "Down"); m_controller->GetKey(KEY_MOVE_LEFT).Bind("Keyboard", "Left");