Main > Main Forum
Revolution x guns with potentiometers and UHID trouble
(1/1)
Sumguy:
Hoping someone can help out with a problem I’m having with pots getting “stuck” in the middle.
I have a 3 player revolution x cabinet and my last pcb died so I’ve put mame in it.
I used ultimarc uhid for the pots 2 per gun.
After a few days of fighting with it I finally got the guns all working but when you pass a spot on the screen pretty close to the center going up/down and left/right the cursor gets stuck and you have to like jerk the gun to get it past that spot.
Anybody ever have this problem?
I haven’t really been able to find any info on this kinda setup.
The uhid does have 2 sliders you can adjust
One for scale and one for offset.
I’m not sure what either of them do. Could one of them be my problem?
After finally getting everything working I was kinda afraid to change anything.
Thanks for any help.
PL1:
--- Quote from: Sumguy on October 20, 2024, 11:41:43 pm ---when you pass a spot on the screen pretty close to the center going up/down and left/right the cursor gets stuck and you have to like jerk the gun to get it past that spot.
--- End quote ---
Sounds like maybe you haven't adjusted the deadzone in MAME.
BadMouth's advice regarding 270° wheels in racing cabs also applies to positional guns like yours since both use potentiometers.
--- Quote from: BadMouth on September 18, 2010, 07:46:50 pm --- For 270° wheels, set the joystick deadzone to .05 in the mame.ini file;
the default .3 means that you have to turn the wheel fairly far before it does anything.
--- End quote ---
Scott
BadMouth:
Here is the setup procedure I posted like a decade ago, lol.
--- Quote ---1. Calibrate the positional gun in windows (game controllers) by pointing it along the edges of the screen.
2. In mame.ini set the dead zone to zero.
3. In mame.ini set the saturation to 1 (100%)
4. Calibrate the gun in the game's service menu
5. Adjust the sensetivity under analogue controls in MAME's in-game menu until the crosshairs don't lag behind the gun movement.
(there is only ONE sensetivity setting, ignore all settings that include the word DIGITAL)
--- End quote ---
Saturation sets how far you have to turn the gun before MAME sees it as turned to the limit. If set to .85, the game will see it as turned all the way when it is only 85% turned.
The game's in-game calibration menu corrects for it, but the old Exidy gun games do not have in game calibration.
You may be able to improve accuracy in those games by tweaking the saturation setting in the game's individual ini file.
The in game service menu is usually mapped to F2 in MAME, but some games are different, some had service switches that can be flipped via DIP switches in MAME's in game menu (TAB) and as stated, some old ones did not have a service menu.
Sumguy:
That’s it! The dead zone fixed it
Thank you
Navigation
[0] Message Index
Go to full version