Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: jhuie on May 09, 2009, 03:20:08 pm
-
Ok, I've been fighting with this for weeks now and I'm stumped. I configured a Lucky & Wild cabinet with a U-HID device which acts as a gameport controller. Each gun is set up with the pots wired to the U-HID. Gun one x and y axis are mapped to the first two analog axis on the U-HID. Gun 2 x and y axis are the next 2. Both of them control the crosshairs and move properly. Gun 2 is aligned properly "out of the box" after running through the windows adjustment program. But Gun 1....and this is making me want to throw the whole thing out the window....Gun 1 won't align properly. It's always off in some way. The x direction is close...but the y axis is way off. It will be way to high when I first configure it. If I run the U-HID program that lets you change the scale and offset then I can sometimes get it closer. But it will always be off. Either I can't get the crosshairs to go all the way to the top or bottom. Or it will be off from where the gun is actually pointing. Generally, the crosshairs will move faster than the gun itself. In Windows configuration it seems to work perfect and tracks along the edges of the square. But not with the gun in Mame.
I even thought the pot must be bad. So I disassembled the front, removed the pot and threw a new one in there. But it does the same thing. Is there someone out there, anyone who has done this or had a similar problem? Do you know someone who has done this? I'm desperate!!!!
Thank you.
-
Still no solution to this. I guess I'm doomed to having gun1 shoot about an inch high and to the right of where I'm actually pointing the gun.
-
I just thought of something from back when I had a set of Terminator 2 guns. I think I had a similar problem at some point, and I think it was resolved by adjusting the range of the pot. If your guns are similar to the T2 guns, then there should be a geared lever on the bottom of the gun base. This moves with the gun as it is turned and meshes with the gear on the x-axis pot. There is a similar setup on the side of the gun base for the y-axis pot.
Check the numbers when you are calibrating. If it doesn't read close to 0 in its minimum position, and close to 255 in its max, try this: Aim the gun's plastic sights at the middle of the screen and hold it there (have someone else hold it if necessary.) Loosen the nut on one of the the geared levers (the one that is the problem), and adjust it until that axis calibration reads about 128. Tighten the nut. Move the gun thru its range of motion and the numbers should change all the way through. If you find a dead spot along one edge, you may need to readjust. Just try to get it so there is a pretty consistent range of input with no major dead zones.
Hope this helps!
-
You might also have a defective or worn pot... or the pot is the wrong type.
There are linear and audio taper at radio shack. I believe you want linear.
Where it goes like : 1,2,3,4,5,6,7,8,9... instead of the other type which
is more like: 1,2,5,8,12,30,100...
-
Thank you for the tips...still no go though. The guns don't have adjustments like T2 does. They are just set the way they are going to be set it appears. And I already tried swapping out the pot. The one that was in there previously appeared to be unmolested and I suspect it was the original. The new one I put in seems to work exactly the same as the original.
-
Thank you for the tips...still no go though. The guns don't have adjustments like T2 does. They are just set the way they are going to be set it appears. And I already tried swapping out the pot. The one that was in there previously appeared to be unmolested and I suspect it was the original. The new one I put in seems to work exactly the same as the original.
I think I made an error as well. I believe the adjustment needed would be to the pots themselves, screwing off the nut around the pot and turning it to a different angle. Don't know if that does you any good...it's been a few years since I had a set of analog guns in hand.
-
I've tried that as well. I've tried setting the pot near the middle, near either extreme and at random other locations with similar results. It's odd that Gun #2 never required any adjustment at all and just worked after I calibrated it. I'm starting to wonder if something is wrong with the U-HID or if I actually wired something wrong. Except that it works....other than being way off positionally.
-
Maybe another u-hid connected separately to the the other gun would work?
-
Have you tried swapping which gun is hooked up to which inputs on the uhid? If the problem stays with that particular gun, then it points to a problem with the gun. If it switches to the other gun, then the uhid would be suspect. At that point you ought to contact Andy at Ultimarc - he's really good with supporting his products.
-
Have you tried swapping which gun is hooked up to which inputs on the uhid? If the problem stays with that particular gun, then it points to a problem with the gun. If it switches to the other gun, then the uhid would be suspect. At that point you ought to contact Andy at Ultimarc - he's really good with supporting his products.
Good ideas. I'll try swapping them and if I can't get it then I'll contact him and see what he says. Thanks again.
-
Ok, I got it working ....axis 1 and 2 simply aren't returning linear values under Windows. They speed up near the edges which throws everything off. I tried redefining Axis 1 and 2 to work under Axis 7 and 8 instead. Then I calibrated and went back into Mame....and it works perfect now. I have no idea why. I ended up mapping my brake to the first axis instead since I'm not as concerned about it being linear. And it's not. But it works! Both guns track very nicely. I just played Terminator 2 and it was pretty cool. Thank you all for the great tips.
John
-
Ok, I'm just throwing this info on here in case anyone researches this later. It might help out....on the U-HID device, apparently J1, J2 and J3 do not support analog devices. Andy over at Ultimarc said this isn't clearly documented but that he will be updating the documentation to reflect that. It's not a bug. It's by design.
By switching everything to J5 and J6 I solved the problem. Once you know this, the U-HID is a great thing to work with.