Main > Main Forum
Mouse wheel as spinner in MAME?
tmasman:
--- Quote from: elvis on March 14, 2005, 02:37:10 am ---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.
--- End quote ---
This is also because the encoder wheel only has half the number of slots in it... The blades & cuts are much wider... So instead of maybe 20 "changes" per revolution, you're only getting 10. The clicking feeling of the wheel is inconsequential to the functionality... It's just that way for the "feel". Some wheels do not have this feel, & actually work much smoother (on-screen).
I'm going to try & finish up my hack tonight... I'll see if I can use the "Z" axis for one of the trackball axis.
- tmasman
tmasman:
--- Quote from: u_rebelscum on March 14, 2005, 01:58:02 am ---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.
--- End quote ---
It sounds like you're saying that MAME won't support the "Z" axis out-of-the-box... Say it ain't so...
I'm not too keen on compiling C, or I'd try your diff...
Hm... Must find a way...
This would solve a lot of peoples' problems with spinner & trackball not working together, or having 2 hacks, etc...
u_rebelscum:
--- Quote from: elvis on March 14, 2005, 02:37:10 am ---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.
--- End quote ---
Not that simple. The page jumping has to do with a mouse setting on wheel on number lines to jump. (Specific name varies depending on driver.)
Usually, but not always, one wheel's step (click) = one blade & cut (notch) = number of lines jumped as set in mouse setting. But as said, this isn't a set rule, and a few (far too few, IMO) don't click. I scroll so much normally, the non-smooth wheel clicks tire my finger; I very much prefer the smooth rolling wheels.
Also, some wheels are so one click > one notch, while others are the opposite (need multiple clicks for a notch to be sensed).
Then, some drivers are set so it takes multiple notches before it does one of the page scroll jumps.
So it could be the wheel's resolution, the resolution to click ratio, the driver setting, and/or the mouse scroll setting. ;D
--- Quote from: tmasman on March 14, 2005, 09:23:04 am ---It sounds like you're saying that MAME won't support the "Z" axis out-of-the-box... Say it ain't so...
--- End quote ---
Mame doesn't . . . yet. Hopefully the changes will be included in the next version, and make it ain't so. ;D If you can't get it working on your own by then, no problems.
And adding diffs and compiling is fairly easy. (Hmm, was going to link, but the ones I know are a little out of date; anyone have an up to date one?)
NoBonus:
I wonder if there are mice with higher resolution wheels? Hmm...
tmasman:
--- Quote from: NoBonus on March 14, 2005, 02:42:32 pm ---I wonder if there are mice with higher resolution wheels? Hmm...
--- End quote ---
Yes...
There are even mice with 2 scroll wheels... (Horiz & vert)
Wait a second..........
If you patched MAME you could probably even drive 2 trackballs with 1 mouse...
ooooooohhhhh....
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version