Topic: Mouse wheel input

Ok I want to make something with mouse wheel input something like

if isKeyPressed("MOUSE_WHEELUP") then
     print("TEST")
end

but im not sure what to do
any help would be appreciated

Last edited by Rapdorian (2013-01-26 19:48:31)

Re: Mouse wheel input

hi,
the mouse wheel has been added to the code on svn, but the current build doesn't have it.

if you can compile maratis it will be used like that :
wheel = getAxis("MOUSE_WHEEL")

If you cannot compile, the next version will be build in Februray.

Re: Mouse wheel input

Thank you I might try to compile but I'm rarely successful in that sort of thing

Re: Mouse wheel input

That's alright, I'll just send you the latest build. What's your email?

Re: Mouse wheel input

I can wait till febuary no problem im just trying to make sure maratis has some inputs I need for a game i've been brain storming for a while but i apreciate your offer

Re: Mouse wheel input

Sure