Added MouseInputHandler and firstPersonInputController to aid in creation of first person movement.

This commit is contained in:
2015-12-11 14:49:43 +01:00
parent 35624008e7
commit 013f911ae2
8 changed files with 205 additions and 8 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ void InputProxy::Process()
for (auto& value : pair.second) {
e.Value += value;
}
e.Value = std::max(-1.f, std::min(e.Value, 1.f));
//e.Value = std::max(-1.f, std::min(e.Value, 1.f));
m_EventBroker->Publish(e);
LOG_DEBUG("Input: Published command %s=%f for player %i", e.Command.c_str(), e.Value, e.PlayerID);
}