[osg-users] Keyboard event: Remove time between key down events

2019-11-07 Thread Tobias Sedeki
Hello, I am wondering how to remove the time between keydown events? Right now, it is working kind of like you'd expect keydown events appearing to text inputs. For example, if I were to hold down the D-key in this textbox: D D D D D D. I want it to behave more smoothly, as like in a game. (I

Re: [osg-users] Keyboard Event handler Problem

2012-06-12 Thread Koduri Lakshmi
Hi, This is my mistake. I am deactivating the render window and activating another window. I am getting messages when I selected the render window. ... Thank you! Cheers, Koduri -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48195#48195 __

Re: [osg-users] Keyboard Event handler Problem

2012-06-12 Thread Robert Osfield
On 12 June 2012 07:58, Koduri Lakshmi wrote: > Hi, > > Can any one please help me what could be the mistake. The code looks kinda messy but I can't really spot what might be the mistake as there is clearly stuff missing, but can't say whether this is because you simply didn't copy and paste it in

Re: [osg-users] Keyboard Event handler Problem

2012-06-12 Thread Koduri Lakshmi
Hi, Can any one please help me what could be the mistake. ... Thank you! Cheers, Koduri -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48188#48188 ___ osg-users mailing list osg-users@lists.opens

[osg-users] Keyboard Event handler Problem

2012-06-11 Thread Koduri Lakshmi
Hi, I want to get events from the keyboard. To do this I created a class by deriving "osgGA::GUIEventHandler" and implemented "hanlder" method. But my program is not catching the events. Here is my code Code: class KeyboardEventHandler : public osgGA::GUIEventHandler { boo

Re: [osg-users] Keyboard event

2009-03-17 Thread Simon Loic
My bad, I didn't see that a thread was already launched and treated this problem : cf [osg-users] osg+QT MODKEY How to It was due to the conversion of QT events into osg ones. I've been through the thread and find work around but I'm not convinced it is good for long term. 2009/3/17 Robert Osfield

Re: [osg-users] Keyboard event

2009-03-17 Thread Robert Osfield
HI Loic, What happens when you run the osgkeyboard example? I've just tried it and it detects the page up and page down without problems. I'm working with Kubuntu 8.10. Robert. 2009/3/17 Simon Loic > Hi, > > I faced the following problem with the osgGA::GUIEventAdapter::getKey(). > When ever

[osg-users] Keyboard event

2009-03-17 Thread Simon Loic
Hi, I faced the following problem with the osgGA::GUIEventAdapter::getKey(). When ever I press an arrow key or PageUp or PageDown it returns 0 instead of the right key id. I noticed this behaviour on both windows and linux machines. Don't know if it makes a difference but I tried both with my l