This commit is contained in:
rexim 2019-09-19 05:41:41 +07:00
parent 3131ca0432
commit 5f0f2dec20

View File

@ -90,7 +90,7 @@ proc mouse(button, state, x, y: cint) {.cdecl.} =
echo "mouse: ", button, " ", state, " ", x, " ", y
let p: Vec2 = (x.float, y.float)
# TODO: mouse scrolling is very X11 specific (despite using GLUT)
# TODO(#23): mouse scrolling is very X11 specific (despite using GLUT)
# We rely on scrolling being reported as pressing mouse buttons 3
# and 4. May not work on other platforms.
case state: