Main > Main Forum
Mouse wheel as spinner in MAME?
<< < (2/5) > >>
NoBonus:
Why would the resolution be any different than the X or Y axis?  Any would the resolution really be too bad for mame games?  If it can be used, a single mouse-hack could control the spinner and trackball... just a thought.
tmasman:
I'm currently in the process of hacking a mouse (MS Intellimouse) & was thinking the same thing...
The mouse wheel is just another optical sensor with a encoder wheel...

Of course it's got lower resolution... It's got fewer teeth on the wheel... Not a problem for a hack though.

I'll have to see what happens... (I don't have a spinner yet, so don't wait on me for anything...)

- tmasman
NoBonus:
I guess a simple test is in order.  Someone should use their wheel-mouse wheel in mame for the spinner function (but while still part of the mouse).  Seems like that simple test should tell us if it works or not... right?
u_rebelscum:

--- Quote from: NoBonus on March 13, 2005, 11:38:40 pm ---I guess a simple test is in order.  Someone should use their wheel-mouse wheel in mame for the spinner function (but while still part of the mouse).  Seems like that simple test should tell us if it works or not... right?

--- End quote ---

Mame needs 4 lines added for the scroll wheel to work.  I just submitted diff to mameDev.

Attatched is a diff.  Add same as mame's u# diffs.
elvis:

--- Quote from: NoBonus on March 13, 2005, 11:13:50 pm ---Why would the resolution be any different than the X or Y axis?  Any would the resolution really be too bad for mame games?  If it can be used, a single mouse-hack could control the spinner and trackball... just a thought.

--- End quote ---

As I sit here and view this page, I scroll my mouse wheel back and forth.  The page does tend to "jump" rather than glide slowly up and down, but that could well be the physical wheel itself (there seems to be notches or points at which the wheel "clicks" into place) rather than the input resolution of the wheel.

Still, I'll be interested to see what comes of the above diff, and the experiments following.
Navigation
Message Index
Next page
Previous page

Go to full version