LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Nop on October 04, 2005, 07:49:25

Title: HW-dependent mouse wheel feedback?
Post by: Nop on October 04, 2005, 07:49:25
I'm trying to build some mouse wheel support into my game. I have two different mouses with mouse wheel and it appears that those two show different behaviours:

- one seems to operate in a delta mode, i have to sum up the different values I get from Mouse.getEventDWheel() and start an action when it returns 0
- the other seems to operate in an absolute mode where values increase/decrease with wheel movement and never jump back to zero

My question is: Is it possible that Mouse.getEventDWheel() is dependent on the hardware?
How would you write a game that works for all users?