Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
Lightweight Java Gaming Library
Tilt Wheel?
« previous
next »
Print
Pages: [
1
]
Tilt Wheel?
3 Replies
5522 Views
MWisBest
1
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!
Logged
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
Logged
CodeBunny
562
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.
Logged
Fool Running
828
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)?
Logged
Programmers will, one day, rule the world... and the world won't notice until its too late.
Just testing the marquee option
Print
Pages: [
1
]
« previous
next »