LWJGL Forum

Programming => Bug Reports / RFE => Topic started by: mattdesl on May 07, 2012, 20:50:56

Title: [RFE] X-axis mouse wheel input
Post by: mattdesl on May 07, 2012, 20:50:56
Right now LWJGL assumes all mouse wheel changes are up/down, i.e. along y-axis. It would be great for certain games and GUIs to allow for left/right mouse wheel input, i.e. along the x-axis. Is this possible with JInput?
Title: Re: [RFE] X-axis mouse wheel input
Post by: Fool Running on May 15, 2012, 12:29:40
Each application chooses how to handle the mouse wheel movements. I don't think you can just change something in LWJGL or whatever and get applications to treat it differently.
Title: Re: [RFE] X-axis mouse wheel input
Post by: CodeBunny on May 15, 2012, 17:35:13
You mean pressing the mouse wheel towards the right or left, or a "scroll-ball" type of setup?
Title: Re: [RFE] X-axis mouse wheel input
Post by: mattdesl on May 17, 2012, 04:51:14
Currently LWJGL only reports "mouse wheel delta" -- i.e. it does not report mouse wheel direction.

Some mouse wheels are actually a ball that can be moved in any direction. Others are track pads; like finger swiping on a laptop or Mac magic mouse. This allows users to scroll up/down and left/right using the same input (ball/wheel/trackpad).

Seems to be a question of whether or not JInput would support direction for the mouse wheel...