LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: MWisBest on June 08, 2012, 13:34:51

Title: Tilt Wheel?
Post by: MWisBest on June 08, 2012, 13:34:51
I was wondering if there is any way to access the tilt wheel on my mouse. It would be a very interesting feature for the project I'm currently working on. Thanks!
Title: Re: Tilt Wheel?
Post by: dangerdoc on June 08, 2012, 15:42:54
Could you further explain what a "tilt wheel" is? If you mean the scroll wheel, then this code will return an integer value for you based on the movement:

Mouse.getDWheel();

Hope this helps!

dangerdoc

Title: Re: Tilt Wheel?
Post by: CodeBunny on June 09, 2012, 14:02:47
He means tilting the scroll wheel to the side. Some mice have support for this, though I've never used one.

I don't know how the LWJGL input back-end works, so I can't help you there. Sorry. :(
Title: Re: Tilt Wheel?
Post by: Fool Running on June 11, 2012, 16:57:01
If he means tilting to the side, I think it would come as extra buttons on the mouse (but I'm not sure of that).

@MWisBest: Have you tried to get these values (i.e. tried to spit out the event values when you use the tilt wheel)?