Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 24, 2013, 11:15:46 AM (10 years ago)
Author:
smerkli
Message:
  • Converted some absolute paths into relative ones
  • Increased the handlers_ vector size by 1 as a hack to get the wiimote working in this branch (This will have to be cleanly redone once I have a better concept for wiimotes and joysticks)
  • Removed a local inputStates_ variable that georgr added in wiimote, it shadowed the one from the basis class and hence never got any entries

To be discussed with georgr on monday.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wiimote/src/libraries/core/input/InputState.h

    r8729 r9805  
    100100        void setMouseHandler   (InputHandler* handler)
    101101            { handlers_[mouseIndex_s]    = handler; bExpired_ = true; }
     102
     103        // SANDRO HACK
     104        void setWiiMoteHandler(InputHandler* handler)
     105        { // TODO make this a dynamically chosen number
     106          handlers_[2]    = handler; bExpired_ = true;
     107        }
     108
    102109        /**
    103110        @brief
Note: See TracChangeset for help on using the changeset viewer.