|
|
@ -138,6 +138,16 @@ InputWrapper::InputWrapper(SDL_Window* window, osg::ref_ptr<osgViewer::Viewer> v
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case SDL_CLIPBOARDUPDATE:
|
|
|
|
case SDL_CLIPBOARDUPDATE:
|
|
|
|
break; // We don't need this event, clipboard is retrieved on demand
|
|
|
|
break; // We don't need this event, clipboard is retrieved on demand
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case SDL_FINGERDOWN:
|
|
|
|
|
|
|
|
case SDL_FINGERUP:
|
|
|
|
|
|
|
|
case SDL_FINGERMOTION:
|
|
|
|
|
|
|
|
case SDL_DOLLARGESTURE:
|
|
|
|
|
|
|
|
case SDL_DOLLARRECORD:
|
|
|
|
|
|
|
|
case SDL_MULTIGESTURE:
|
|
|
|
|
|
|
|
// No use for touch & gesture events
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
std::ios::fmtflags f(std::cerr.flags());
|
|
|
|
std::ios::fmtflags f(std::cerr.flags());
|
|
|
|
std::cerr << "Unhandled SDL event of type 0x" << std::hex << evt.type << std::endl;
|
|
|
|
std::cerr << "Unhandled SDL event of type 0x" << std::hex << evt.type << std::endl;
|
|
|
|