Page 1 of 1

Digital Input - Arcade Stick Finesse

Posted: Wed Mar 19, 2025 8:59 pm
by Scotster
Hey all!

I've got a Pandora GunMax setup inside a vertical cabinet and much to my surprise it has enough grunt to run the Supermodel emulator and the games with a decent output (I was genuinely surprised).

The only issue I'm having is with configuring the controls. I can configure them easily enough, but the actual functionality is lacking a little so just wondering if there's a trick I'm missing. With it being an arcade rig I've only got digital inputs so no analogue option that I would want to use (I suppose I could use the trackball as a secondary but I won't go down that route yet).

Is there any way of having the digital input work similar to the keyboard input? With any keypress the "InputKeyDecaySpeed" is functional and resets the position to zero/off. With the joy input this doesn't seem to happen, or be an option that I've found. Is there a way to have a digital joystick return to zero similar to that of the keyboard? I would rather avoid joy2key or that sort of software but appreciate that it might be my only option.

The Model2 emulator has no issues in this regard as it seems well versed with the joystick options for returning to zero and tempering the digital input itself based on time held.

Many thanks in advance :)

Re: Digital Input - Arcade Stick Finesse

Posted: Thu Mar 20, 2025 2:42 am
by Bart
You're right, I never realized this. I feel like we should completely rework this decay/attack (sensitivity) system altogether. I'm not sure how real games do it but I assume it's some non-linear function of time.

The straightforward solution would be to add InputJoyDecaySpeed and InputJoySensitivity settings (the latter is the attack rate). But then do I have to also add versions for the mouse, as unlikely as that would seem?

Note that the current setting can be applied on a per-keyboard basis: e.g. InputKey1Sensitivity and InputKey2Sensitivity, etc.

This actually seems like overkill. Why would you want these values to ever be different? Maybe the correct solution is to simplify the system altogether:

- Have a single AnalogDecaySpeed and AnalogAttackSpeed? Not sure what to call them... Apply this to all digital controls that are assigned to analog inputs.
- The keyboard settings would still be used if provided but for keyboards only, to retain backward compatibility.

What do you think?

Re: Digital Input - Arcade Stick Finesse

Posted: Thu Mar 20, 2025 8:26 pm
by Bart
I've implemented this in the bart/consistent-decay branch, if you want to build it and give it a try. The existing keyboard settings exist and will always take precedence if they are specified in the INI file. Otherwise, InputDigitalSensitivity and InputDigitalDecaySpeed can be used and these will also apply to all other digital controls mapped to analog inputs (i.e., mouse and joypad buttons).