Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9844


Ignore:
Timestamp:
Dec 2, 2013, 2:50:52 PM (11 years ago)
Author:
georgr
Message:

trying to get a reaction out of the wiiMote, 3rd try

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wiimote/src/libraries/core/input/WiiMote.cc

    r9842 r9844  
    2121                                orxout()<<"ZOMG!!1!"<<endl;
    2222                        Orientation o;
     23                        p->SetMotionSensingMode(CWiimote::ON);
    2324                        p->Accelerometer.GetOrientation(o.pitch, o.roll, o.yaw);
    2425                        int x = (int)(1000*(o.yaw-lastOrientation.yaw)/time.getDeltaTime());
Note: See TracChangeset for help on using the changeset viewer.