Hi Andre,
I'm not quite sure what you are saying here.
If I put this in a GUIEventHandler
switch (ea.getEventType())
{
// ......etc ....
case(osgGA::GUIEventAdapter::KEYDOWN):
{
std::cout << "down "<< ea.getKey()
<< " shift l = " << osgGA::GUIEventAdapter::KEY_Shift_L
<< " shift r = " << osgGA::GUIEventAdapter::KEY_Shift_R
<<std::endl;
I see
down 16 shift l = 65505 shift r = 65506
for both left and right shift keys, and similar for the "up" event. Is
this what you'd expect ?
-Drew
--
Drew Whitehouse
ANU Supercomputer Facility Vizlab
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/