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/orxonox/gui/GUIManager.cc

    r1810 r1878  
    156156                SimpleInputState* state = InputManager::getInstance().createInputState<SimpleInputState>("gui", 30);
    157157                state->setHandler(this);
    158                 state->setJoyStickHandler(new EmptyHandler());
     158                state->setJoyStickHandler(&InputManager::EMPTY_HANDLER);
    159159
    160160                // load the background scene
Note: See TracChangeset for help on using the changeset viewer.