mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Don't warn about SDL touch events
This commit is contained in:
parent
47ac20af40
commit
af5ffa5548
@ -138,6 +138,16 @@ InputWrapper::InputWrapper(SDL_Window* window, osg::ref_ptr<osgViewer::Viewer> v
|
||||
break;
|
||||
case SDL_CLIPBOARDUPDATE:
|
||||
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:
|
||||
std::ios::fmtflags f(std::cerr.flags());
|
||||
std::cerr << "Unhandled SDL event of type 0x" << std::hex << evt.type << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user