Show
Ignore:
Timestamp:
04/01/03 20:35:31 (12 years ago)
Author:
robert
Message:

Used notify for reporting the keypressing to the commandline.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgkeyboard/osgkeyboard.cpp

    r1750 r1784  
    4444void KeyboardModel::keyChange(int key,int value) 
    4545{ 
    46     std::cout << "key value change, code="<<std::hex << key << "\t value="<< value << std::dec  << std::endl; 
     46    osg::notify(osg::INFO) << "key value change, code="<<std::hex << key << "\t value="<< value << std::dec  << std::endl; 
    4747 
    4848    // toggle the keys graphical representation on or off via osg::Swithc