Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 13, 2009, 6:41:58 PM (15 years ago)
Author:
rgrieder
Message:

Shoved some code around to reduce contents of 'global' InputPrereqs.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/core/input/Mouse.h

    r3276 r3285  
    3535namespace orxonox
    3636{
     37    struct MouseTraits
     38    {
     39        typedef Mouse DeviceClass;
     40        typedef OIS::Mouse OISDeviceClass;
     41        typedef MouseButtonCode::ByEnum ButtonType;
     42        typedef MouseButtonCode::ByEnum ButtonTypeParam;
     43        static const OIS::Type OISDeviceValue = OIS::OISMouse;
     44    };
     45
    3746    /**
    3847    @brief
     
    92101        bool mouseMoved(const OIS::MouseEvent &arg);
    93102
     103        static std::string getClassNameImpl() { return "Mouse"; }
     104
    94105        // HACK:
    95106        static Mouse* instancePointer_s;
Note: See TracChangeset for help on using the changeset viewer.