[osg-users] osgkeyboard

2007-02-22 Thread ha.public
hi, I am new to osg and so I have some beginner troubles one is, that when I write a eventhandler for keyboardinput, keyup und keydown events repeat when a key is pressed for a longer time (0.5 secund or so) is this the normal behavior? is there a chance to avoid the repeat of up and down events

Re: [osg-users] osgkeyboard

2007-02-22 Thread ha.public
additional info, i have forgotten to write befor, sory the osgkeyboard sample i have has the same problem eg. I press the f key and hold it, screen writes Press some keys.. fff until i let the f key off system is slackware 11 lg harri hi, I am

Re: [osg-users] osgkeyboard

2007-02-22 Thread ha.public
found the solution _viewer-realize(); _viewer-getKeyboardMouse()-setAutoRepeatMode(false); (autorepeat must be called after realize or it will block) thats it, sorry for just making traffic on the mail list, but for a beginner its realy hard to find out wich funktion is where and what i does