Latest File Releases: Mark IV Engine

Friday, 21 December 2007

keyboard repeat problems in kde

From OGRE forums:

On linux OIS disables key repeats globally, and if not shut down cleanly won't restore them.

run "xset r" in terminal to turn them back on


if you are using ois the native cursor issue is more than likely from the relation with OIS and the window, i had this problem before. As in foreground, nonexclusive etc.

Here is my parameter list for the input manager's creation
Code:

OIS::ParamList paramList;
paramList.insert( std::make_pair( std::string( "WINDOW" ), windowString.str( ) ) );
paramList.insert( std::make_pair( std::string( "w32_mouse" ), std::string( "DISCL_FOREGROUND" ) ) );
paramList.insert( std::make_pair( std::string( "w32_mouse" ), std::string( "DISCL_NONEXCLUSIVE" ) ) );
paramList.insert( std::make_pair( std::string( "w32_keyboard" ), std::string( "DISCL_FOREGROUND" ) ) );
paramList.insert( std::make_pair( std::string( "w32_keyboard" ), std::string( "DISCL_NONEXCLUSIVE" ) ) );


try that and see how it goes


0 comments: