Added remapping of special keys to be handle like a convential key press.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user