[Orxonox-commit 5195] r9860 - code/branches/wiimote/src/libraries/core/input
georgr at orxonox.net
georgr at orxonox.net
Mon Dec 2 16:33:40 CET 2013
Author: georgr
Date: 2013-12-02 16:33:40 +0100 (Mon, 02 Dec 2013)
New Revision: 9860
Modified:
code/branches/wiimote/src/libraries/core/input/WiiMote.cc
Log:
3s of lag are still here...
Modified: code/branches/wiimote/src/libraries/core/input/WiiMote.cc
===================================================================
--- code/branches/wiimote/src/libraries/core/input/WiiMote.cc 2013-12-02 15:28:22 UTC (rev 9859)
+++ code/branches/wiimote/src/libraries/core/input/WiiMote.cc 2013-12-02 15:33:40 UTC (rev 9860)
@@ -11,13 +11,14 @@
const std::string WiiMote::deviceName = "WiiMote";
void WiiMote::update(const Clock& time)
{
- orxout(user_warning) << this->inputStates_.size() << std::endl;
+ //orxout(user_warning) << this->inputStates_.size() << std::endl;
if(p == NULL)
exit(0);
//else
//orxout(user_warning) << "pointer is not null, yay" << std::endl;
if (PWii->Poll())
{
+ p->UpdateStatus();
//CWiimote::EventTypes e = p->GetEvent();
if(p->Buttons.isPressed(CButtons::BUTTON_A)||p->Buttons.isJustPressed(CButtons::BUTTON_A))
{
More information about the Orxonox-commit
mailing list