| Main > Main Forum |
| Analog guns with U-HID ---- configuration options? |
| << < (2/2) |
| TheShanMan:
No, it's not really to make it work like a 4 way or 8 way joystick. Take the game Spy Hunter for example. If you let go of the steering wheel, you should go perfectly straight. How about if you're holding it and therefore it's not exactly centered. It might just be a hair away from being centered. It would not play that well if that meant the car started turning left or right, and it isn't how the original game was designed to work. So a dead zone means even if it moves a hair left or right, the game will still see it as centered. But once you go out of the dead zone, normal analog action takes place. As for alignment, I would think that could be accomplished via the windows joystick calibration app (or if the u-hid handles it's own calibration, through its app) by carefully tracing around the edges of the screen. |
| jhuie:
I see what you are saying. Since Lucky & Wild is both a driver and a shooter I'll need to set up a dead zone on the steering wheel. But there's no reason to have one on the guns, gas pedal or brakes. I'll tinker more with the gun calebration and report back! Thank you again. John |
| u_rebelscum:
To tell the truth, the current use of mame's deadzone isn't the same as it was earlier. It used to be designed to do both the analog-2-digital 4/8 way conversion point, and to stop accidental just off center drift. Currently -joystick_map has mostly taken over the analog-2-digital conversion, with more flexiblity; however deadzone still has effect (if the deadzone is bigger than the joystick_map's center. Still, mame's default value is the same as it was, and IMO 30% is much higher than needed to just cover wandering or off centers, even for the worst cases. Something all people using analog joysticks 270 steering wheels, and joystick (positional) guns should decrease. I usually recommend setting the deadzone between 0.0 to 0.05 because I don't know how off center the user's hardware is that the deadzone has to cover. If the hardware is perfect, zero is fine, but even the best devices sometimes need a little deadzone. (A setting of 0.05 will get a 12x12 square deadzone around the center in positional gun games. edit: 12 out of 256 input values per axis that is; it has nothing to do with the resolution.) |
| jhuie:
Thanks guys...this has been great info. Changing the deadzone fixed the one problem. However, I've still got tracking issues. Gun #2 tracks really well, but gun #1 doesn't. If I point it at the extreme left then the cursor will be at the correct position horizontally. But as I move across the screen to the right, the cursor moves faster than the gun and gets way ahead of it. The further I move to the right the worse it gets until I get to about the middle and then it starts closing the gap again until I get to the extreme right when it's right on target. And the same thing is happening vertically with that gun. I've tried recalibrating through windows several times with the same results. Anyone else have any ideas? |
| KissMyWookie:
Check that the pots are the same in the left gun as in the right gun. It's possible that it was repaired some time in the past and an incorrect pot was used (either in resistance value or log/linear types). Steve Edit: Also, it could be that the pot is worn out and giving a higher resistance as the wiper sweeps across. |
| Navigation |
| Message Index |
| Previous page |