Added mouse wheel handling.

This commit is contained in:
Branimir Karadžić
2014-08-05 21:13:50 -07:00
parent d536bb8c72
commit 0098be04d7
8 changed files with 45 additions and 19 deletions

View File

@@ -216,6 +216,7 @@ namespace entry
{
m_eventQueue.postMouseEvent(xbutton.x
, xbutton.y
, 0
, mb
, event.type == ButtonPress
);
@@ -228,6 +229,7 @@ namespace entry
const XMotionEvent& xmotion = event.xmotion;
m_eventQueue.postMouseEvent(xmotion.x
, xmotion.y
, 0
);
}
break;