Discord
Login
Community
DARK THEME

How to detect when the scroll wheel on a mouse it is scrolling up and down

How to detect when the scroll wheel on a mouse it is scrolling up and down i Would also like to know how to detect custom inputs because I'm thinking of making a game that use's a special controller (3d prints + raspberry pi pico) to play the game. I could just map the control to like up/down but i would like to know if there is a better way

update = function()
   print( mouse.wheel )
end

MicroStudio supports gamepad. But I don't know what it will be like with non-standard controllers.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community