Main > Main Forum

Turbo Twist 2 & Trackball won't play nice!

<< < (2/7) > >>

Encryptor:
Does anyone know if there is a setting or line of code in MAME that can be changed to fix this?

Any smart programmers that can fix this and release a patch?

I just upgraded not long ago to v120. I'd hate to have to go back to a much lesser version to fix this issue.

Any help would be greatly appreciated!

Encryptor

u_rebelscum:
Without looking at any code, I'll bet it's the switch to RawInput.  I'll check it out.

mybrainhurtz:
That sounds great... do some detective work and let us know what you come up with. I would rather hook it to the TT2 interface, but for now I just wired my trackball to an old mouse that I had sitting around and it seems to work pretty well.

Encryptor:

--- Quote from: u_rebelscum on January 22, 2008, 06:57:11 pm ---Without looking at any code, I'll bet it's the switch to RawInput.  I'll check it out.

--- End quote ---

u_rebelscum - Just curious to know if you ever get a chance to look into this?


Encryptor

u_rebelscum:

--- Quote from: Encryptor on February 08, 2008, 11:02:21 pm ---
--- Quote from: u_rebelscum on January 22, 2008, 06:57:11 pm ---Without looking at any code, I'll bet it's the switch to RawInput.  I'll check it out.

--- End quote ---

u_rebelscum - Just curious to know if you ever get a chance to look into this?

--- End quote ---
Freaky, even though I didn't read your post till today, for some reason I had an urge and time to look at this issue again this weekend. :o  Spent too much of the free time I had DL'ing the source and finding and rewiring my TT2 (it's not on a CP yet), though. :-\

So I was only able to test normal mouse & TT2 Z axis on XP with rawinput, and look in the code.   From glancing at the code, mame isn't dividing by 120 (or 30) like it used to in directInput nor in rawInput.  IIRC directInput & TT2 didn't need the divisor, and from testing it looks like normal mouse Z axis on rawInput doesn't need the divisor.  I'm busy tonight (league game), but maybe tomorrow while it's still fresh.

TODO
test on directInput
test divisors (I'm guessing I needs 120 on TT2, but then normal mice won't work)
(maybe) write independent for mame rawinput & dInput testing app
test possible fixes (I'm thinking increase sensitivity range beyond the 1% to 255%).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version