Good Point!

On 11/14/06, Anders Backman <[EMAIL PROTECTED]> wrote:
MM, not a very clean solution, I mentioned that in my previous post.
Its better if we dont get any event at all.
Otherwise, windows will burst out keyboard events through producer in vain.

Also, what if you start the app with a keyboard pressed?
Not very likely, but if you want to catch everything, it could be a problem.

(Users are likely to cause problems, if they can, they will, without
them it would be a lot easier to develop software :-)

(Dont quote me on that!)


/Anders


On 11/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hey I just ran into this very thing (although I didn't even think to look if
> OSG already was handling it).  I used a std::set and kept the keys that were
> pressed until they weren't pressed anymore.  That was pretty easy.
>
>
> On 11/13/06, Anders Backman <[EMAIL PROTECTED]> wrote:
> >
> > Just to check.
> >
> > In the post:
> >
> http://openscenegraph.org/archiver/osg-users/2003-June/0517.html
> >
> > I sort of mentioned that a way of turning of keyrepeat under windows
> > could come in handy.
> >
> > Guess if I was happy to find the setAutoRepeat(bool) method in
> > Producer/KeyboardMouse
> >
> > Equally sad when I spotted the implementation: setAutoRepeat(bool flag) {}
> >
> > :-)
> >
> > Now, is this something that deserves more attention?
> > I mean there is a vad way of solving it outside producer/osgProducer
> > by creating a std::map<> and store all the keyboard events to see if
> > they have changed or not.
> > But I dont want to implement this just to find that a better solution
> > is already in the pipeline...
> >
> > So whats the status?
> >
> > /Anders
> >
> >
> > --
> >
> >
> >
> ________________________________________________________________
> > Anders Backman               Email:    [EMAIL PROTECTED]
> > HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
> > Umea university              Cellular: +46 (0)70-392 64
> 67
> > S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
> >                                http://www.cs.umu.se/~andersb
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
> >
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
>


--


________________________________________________________________
Anders Backman               Email:    [EMAIL PROTECTED]
HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
Umea university              Cellular: +46 (0)70-392 64 67
S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
                              http://www.cs.umu.se/~andersb
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to