Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2008, 1:26:48 PM (16 years ago)
Author:
rgrieder
Message:

Fixed two issues with input:

  • Buffer gets cleared now when the window focus changes
  • Added a configValue in the InGameConsole:

Until now the input was always transparent to the level when activating the console (exception keyboard input of course)
bHidesAllInput_ can change that setting (configured in orxonox.ini)

@Oli: Sorry, couldn't apply the patch in the network branch because of conflicts (I have already made some changes to the InputManager in the trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/input/SimpleInputState.h

    r1755 r1878  
    5252        bool setJoyStickHandler   (JoyStickHandler* handler, unsigned int joyStickID);
    5353        bool setJoyStickHandler   (JoyStickHandler* handler);
    54         bool setHandler(InputTickable* handler);
    55         void removeAndDestroyAllHandlers();
     54        bool setHandler(InputHandler* handler);
     55        //void removeAndDestroyAllHandlers();
    5656
    5757    private:
     
    8484        std::vector<JoyStickHandler*> joyStickHandler_;
    8585        JoyStickHandler*              joyStickHandlerAll_;
    86         std::vector<InputTickable*>   allHandlers_;
     86        std::vector<InputHandler*>   allHandlers_;
    8787    };
    8888}
Note: See TracChangeset for help on using the changeset viewer.