diff options
Diffstat (limited to 'libs/input/Input.cpp')
-rw-r--r-- | libs/input/Input.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/input/Input.cpp b/libs/input/Input.cpp index 0d29b4db96..1c713f9163 100644 --- a/libs/input/Input.cpp +++ b/libs/input/Input.cpp @@ -1037,6 +1037,9 @@ std::ostream& operator<<(std::ostream& out, const MotionEvent& event) { if (event.getMetaState() != 0) { out << ", metaState=" << event.getMetaState(); } + if (event.getFlags() != 0) { + out << ", flags=0x" << std::hex << event.getFlags() << std::dec; + } if (event.getEdgeFlags() != 0) { out << ", edgeFlags=" << event.getEdgeFlags(); } |