Used notify for reporting the keypressing to the commandline.
This commit is contained in:
parent
b63a49ca3f
commit
d820449931
@ -43,7 +43,7 @@ protected:
|
||||
|
||||
void KeyboardModel::keyChange(int key,int value)
|
||||
{
|
||||
std::cout << "key value change, code="<<std::hex << key << "\t value="<< value << std::dec << std::endl;
|
||||
osg::notify(osg::INFO) << "key value change, code="<<std::hex << key << "\t value="<< value << std::dec << std::endl;
|
||||
|
||||
// toggle the keys graphical representation on or off via osg::Swithc
|
||||
KeyModelMap::iterator itr = _keyModelMap.find(key);
|
||||
|
Loading…
Reference in New Issue
Block a user