sdlterm/cython/sdlterm.pyx
changeset 55 1ab0edd5d784
parent 54 86b84535726e
child 57 911927edbdde
--- a/sdlterm/cython/sdlterm.pyx	Sun Jan 06 23:03:24 2013 +0100
+++ b/sdlterm/cython/sdlterm.pyx	Mon Jan 07 00:23:45 2013 +0100
@@ -94,6 +94,8 @@
             return ('mousedown', event.mouse.x, event.mouse.y, event.mouse.button)
         if event.type == event.MOUSEUP:
             return ('mouseup', event.mouse.x, event.mouse.y, event.mouse.button)
+        if event.type == event.MOUSEWHEEL:
+            return ('mousewheel', event.mouse.x, event.mouse.y, event.mouse.button)
         if event.type == event.KEYPRESS:
             keyname = event.key.keyname
             if keyname: