[osg-users] keyboard autorepeat

Robert Osfield robert.osfield at gmail.com
Tue Sep 11 03:11:33 PDT 2007


HI Anders,

There isn't such a feature right now.  The changes back in June were
down to making X11 behave more like Windows and OSX w.r.t keyboard
repeats.

I presume switching off keyboard repeat will require a platform
specific call to the windowing system to switch it off.   I don't know
about the implementations so will need to defer to others.  Feel free
to submit an implementation.

Robert.

On 9/11/07, Anders Backman <andersb at cs.umu.se> wrote:
> In producer there was a method for specifying if one should get (or not)
> auto repeat for keyboard events when a user holds a key down...
>
> RenderSurface::setAutoRepeatMode(bool flag);
>
> Is there something similar available is osgViewer?
>
> I found a post from June discussing this behaviour in X11, but I didnt find
> anything related in  the current release (did a grep on repeat in header
> files).
>
> Cheers,
> Anders
>
> --
>
>
> ________________________________________________________________
>  Anders Backman               Email:    andersb at cs.umu.se
>  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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list