Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8339 in orxonox.OLD


Ignore:
Timestamp:
Jun 13, 2006, 11:10:02 AM (18 years ago)
Author:
bensch
Message:

trunk: shell receives events again

Location:
trunk/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/event_handler.cc

    r8316 r8339  
    1414*/
    1515
    16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_EVENT
     16#define DEBUG_SPECIAL_MODULE 4 //DEBUG_MODULE_EVENT
    1717
    1818#include "event_handler.h"
     
    112112    return;
    113113
     114  PRINTF(4)("Switching to State %s\n", EventHandler::ELStateToString(state).c_str());
     115
    114116  /// When Changing the State, all the keys will be released.
    115117  /// This is done by sending each eventListener, that still
  • trunk/src/lib/shell/shell_input.cc

    r7919 r8339  
    5252    for (int i = 1; i < SDLK_LAST; i++)
    5353    {
    54       if (!this->isEventSubscribed(ES_SHELL, i))
     54      //if (!this->isEventSubscribed(ES_SHELL, i))
    5555        this->subscribeEvent(ES_SHELL, i);
    5656    }
Note: See TracChangeset for help on using the changeset viewer.