Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 6, 2009, 12:03:05 PM (15 years ago)
Author:
rgrieder
Message:

Extracted joy stick related code from InputManager to a new JoyStick class in order to make the InputManger less of a monster class and to apply a little bit more OO.

File:
1 edited

Legend:

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

    r3196 r3270  
    4040#include <vector>
    4141#include "InputInterfaces.h"
     42#include "JoyStickDeviceNumberListener.h"
    4243
    4344namespace orxonox
    4445{
    45     class _CoreExport InputState
     46    class _CoreExport InputState : public JoyStickDeviceNumberListener
    4647    {
    4748        friend class InputManager;
     
    111112
    112113    private:
    113         void setNumOfJoySticks(unsigned int n)
     114        void JoyStickDeviceNumberChanged(unsigned int n)
    114115        {
    115116            bInputDeviceEnabled_.resize(n + 2);
Note: See TracChangeset for help on using the changeset viewer.