Hi Robert,

Is this solution (get/setRawKey) planned to be inserted in OSG, or do I
have to 
write it by myself? If so, can I get some pointers on how to write this 
function to get the raw key and not the converted one?

Roni


Robert Osfield <[EMAIL PROTECTED]> writes:

> 
> Hi Roni,
> 
> The character will that converted by your native windowing system into
ascii.
> 
> One possible solution would be to add a get/setRawKey into
> GUIEventAdatper to provide the modified keypress and the raw key
> press.
> 
> Robert.
> 
> On 7/31/07, ROSENZWEIG RONI <[EMAIL PROTECTED]> wrote:
> > Hello
> >
> > I have a problem which started in osg2.0 (worked fine in osg1.2).
> >
> > I want to read keyboard input with the ctrl key, such as ctrl+k,
ctrl+l etc.
> >
> > However when I use ea.getKey() I never get the "k" or "k" keys, but
some key
> > I can't understand.
> >
> > To demonstrate the problem, try running osgkeyboard, and press
ctrl+k  -
> > instead of typing "k" (like the demo did in osg1.2), an unknown
character is
> > shown (on my computer it looks like a square ...).
> >
> > I see that this problem (in a different form) was discovered a few
months
> > ago, was there a fix to the problem or a work-around?
> >
> > Roni
> > _______________________________________________
> > osg-users mailing list
> > [EMAIL PROTECTED]
> >
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
> >
> >
> 


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to