Added remapping of special keys to be handle like a convential key press.

This commit is contained in:
Robert Osfield
2002-10-10 09:29:07 +00:00
parent 41893927c1
commit 50e8ea423c

View File

@@ -227,9 +227,11 @@ void Window::keyboard(unsigned char key, int , int )
}
}
void Window::special(int , int , int )
void Window::special(int k, int x, int y)
{
osg::notify(osg::INFO)<<"info : Window::special() unhandled."<<std::endl;
// will remap to a straight keyboard event...
keyboard((unsigned char)k, x, y);
// osg::notify(osg::INFO)<<"info : Window::special() unhandled."<<std::endl;
}
void Window::spaceballMotion(int , int , int )