Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2013, 3:38:51 PM (11 years ago)
Author:
georgr
Message:

Added some simple wobbling action. To be tested.

File:
1 edited

Legend:

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

    r9805 r9813  
    234234
    235235        // Find and connect to the wiimotes
    236         std::vector<CWiimote>& wiimotes = wii.FindAndConnect();
     236        std::vector<CWiimote>& wiimotes = wii.FindAndConnect(30);
    237237        if (!wiimotes.size())
    238238        {
    239239                cout << "No wiimotes found." << endl;
     240                return;
    240241                }
    241242
Note: See TracChangeset for help on using the changeset viewer.