|
Re: MAME Config - input changes
05/01/23 08:53 PM
|
|
|
That’s only true for an Xbox style dual analog pad though. An Xinput fight pad has different tokens, as does an Xinput guitar controller, or whatever.
The de facto standard for dual analog DirectInput controllers (e.g. Logitech gamepads and PlayStation adapters) is to make the left thumb stick X/Y and the right thumb stick Z/Rz. The newer PlayStation pads with analog triggers extend that by making the left trigger Rx and the right trigger Ry. Xinput dual analog pads in MAME now follow the convention for the thumb sticks.
When Microsoft added support for Xbox pads in Windows, they went out of their way to ensure that it wouldn’t work well with existing software via DirectInput. They made the right thumb stick Rx/Ry and combined the triggers into a single Z axis, as well as making it impossible to use vibration features via the DirectInput API. For whatever reason, Nintendo Switch controllers also se Rx/Ry for the right thumb stick, but they don’t have analog triggers.
Blame Microsoft for going out of their way to make Xbox pads work poorly with DirectInput to try and push developers to use the Xinput API (and hence only support Xbox-style peripherals), and blame Brad Hughes for doing a shoddy job of Xinput support in MAME in the first place.
|
|