Searched refs:g_kb (Results 1 – 2 of 2) sorted by relevance
53 Keyboard *g_kb = 0; //Keyboard Device variable183 if( g_kb ) in main()185 g_kb->capture(); in main()186 if( !g_kb->buffered() ) in main()346 g_kb = (Keyboard*)g_InputManager->createInputObject( OISKeyboard, true ); in doStartup()347 g_kb->setEventCallback( &handler ); in doStartup()379 if( g_kb->isKeyDown( KC_ESCAPE ) || g_kb->isKeyDown( KC_Q ) ) in handleNonBufferedKeys()382 if( g_kb->isModifierDown(Keyboard::Shift) ) in handleNonBufferedKeys()384 if( g_kb->isModifierDown(Keyboard::Alt) ) in handleNonBufferedKeys()386 if( g_kb->isModifierDown(Keyboard::Ctrl) ) in handleNonBufferedKeys()
34 Keyboard *g_kb = 0; //Keyboard Device variable108 g_kb->capture(); in main()139 g_InputManager->destroyInputObject( g_kb ); in main()200 g_kb = (Keyboard*)im.createInputObject( OISKeyboard, true ); in doStartup()201 g_kb->setEventCallback( &handler ); in doStartup()