lovr.wheelmoved
EditThis callback is called on scroll action, from a mouse wheel or a touchpad
function lovr.wheelmoved(dx, dy)
-- your code here
end
Arguments
Name | Type | Description |
dx | number | The relative horizontal motion; rightward movement resuts in positive values. |
dy | number | The relative vertical motion; upward movement results in positive values. |
Returns
Nothing