[Orxonox-commit 5177] r9842 - code/branches/wiimote/src/libraries/core/input
georgr at orxonox.net
georgr at orxonox.net
Mon Dec 2 14:47:14 CET 2013
Author: georgr
Date: 2013-12-02 14:47:14 +0100 (Mon, 02 Dec 2013)
New Revision: 9842
Modified:
code/branches/wiimote/src/libraries/core/input/WiiMote.cc
Log:
trying to get a reaction out of the wiiMote, 2nd try
Modified: code/branches/wiimote/src/libraries/core/input/WiiMote.cc
===================================================================
--- code/branches/wiimote/src/libraries/core/input/WiiMote.cc 2013-12-02 13:46:02 UTC (rev 9841)
+++ code/branches/wiimote/src/libraries/core/input/WiiMote.cc 2013-12-02 13:47:14 UTC (rev 9842)
@@ -20,7 +20,6 @@
if(p->Buttons.isPressed(CButtons::BUTTON_A))
orxout()<<"ZOMG!!1!"<<endl;
Orientation o;
- p->Accelerometer.
p->Accelerometer.GetOrientation(o.pitch, o.roll, o.yaw);
int x = (int)(1000*(o.yaw-lastOrientation.yaw)/time.getDeltaTime());
int y = (int)(1000*(o.pitch-lastOrientation.pitch)/time.getDeltaTime());
More information about the Orxonox-commit
mailing list