Hello Guest

Tilt Wheel?

  • 3 Replies
  • 6401 Views
Tilt Wheel?
« 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!

*

Offline dangerdoc

  • **
  • 75
  • Thats right... Nikola Tesla
Re: Tilt Wheel?
« Reply #1 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:

Code: [Select]
Mouse.getDWheel();
Hope this helps!

dangerdoc


Re: Tilt Wheel?
« Reply #2 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. :(

Re: Tilt Wheel?
« Reply #3 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)?
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D