Changeset 9844 for code/branches/wiimote/src/libraries/core
- Timestamp:
- Dec 2, 2013, 2:50:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wiimote/src/libraries/core/input/WiiMote.cc
r9842 r9844 21 21 orxout()<<"ZOMG!!1!"<<endl; 22 22 Orientation o; 23 p->SetMotionSensingMode(CWiimote::ON); 23 24 p->Accelerometer.GetOrientation(o.pitch, o.roll, o.yaw); 24 25 int x = (int)(1000*(o.yaw-lastOrientation.yaw)/time.getDeltaTime());
Note: See TracChangeset
for help on using the changeset viewer.