[Feature Request]: Add absolute input support for Train Mascon/Master Controller
Description
The Mast Controller / Train Mascon emulation only accepts Power up / Power down buttons. Controllers with a notched physical handle, such as the ZUIKI one-handle mascon for Nintendo Switch, report the handle position as a single axis. They cannot be bound to the Master Controller handle directly.
Proposal: an optional absolute input mode for the Master Controller handle.
A handle axis binding (Full Axis). Each ZUIKI notch has a fixed axis value. The value is decoded to the nearest notch.
The selected notch is held and sent with the existing Master Controller handle commands.
only Physical EB selects the emergency position.
B1 up to the game's maximum brake map one-to-one. Physical brake notches past the maximum hold the maximum brake; they do not become EB.
N always selects neutral.
P1 up to the game's maximum power map one-to-one. Physical power notches past the maximum hold the maximum power.
Only a few games support the Master Controller, and their notch ranges differ. The range could be chosen per game, either as a preset or from the game serial.
Example with Tokyu (P4/B7):
- Select Master Controller and set the handle input mode to Absolute.
- Bind the handle axis to the ZUIKI handle axis.
- Moving the lever from N straight to B5 selects B5 immediately.
- Physical B8 selects B7, the game's maximum brake. Physical P5 selects P4.
- Physical EB selects emergency brake.
Reason
A notched lever cannot be used with current Power Up / Power Down button mapping. Each lever movement has to be converted into button presses, and a missed press leaves the in-game notch out of sync with the lever.
With absolute input, the in-game notch always matches the lever
The ZUIKI mascon is a widely available train controller today, so many players already own one.
Examples
- ZUIKI handle axis values
| Detent | Raw (0–255) | Normalized |
|---|---|---|
| EB | 0 | 0.000 |
| B8 | 5 | 0.020 |
| B7 | 19 | 0.075 |
| B6 | 32 | 0.125 |
| B5 | 46 | 0.180 |
| B4 | 60 | 0.235 |
| B3 | 73 | 0.286 |
| B2 | 87 | 0.341 |
| B1 | 101 | 0.396 |
| N | 128 | 0.502 |
| P1 | 159 | 0.624 |
| P2 | 183 | 0.718 |
| P3 | 206 | 0.808 |
| P4 | 230 | 0.902 |
| P5 | 255 | 1.000 |
2.Physical detent -> game notch and MC command (They are basically all the PS2 games MC supports.)
| Zuiki Physical | Tokyu P4/B7 | Midosuji P4/B6 | Yamanote P5/B8 | Keisei etc. P5/B5 | Kyushu P5/B7 |
|---|---|---|---|---|---|
| EB | EB TSB30 |
EB TSB40 |
EB TSB20 |
EB TSE99 |
EB TSB30 |
| B8 | B7 TSB40 |
B6 TSE99 |
B8 TSB30 |
B5 TSA05 |
B7 TSB40 |
| B7 | B7 TSB40 |
B6 TSE99 |
B7 TSB40 |
B5 TSA05 |
B7 TSB40 |
| B6 | B6 TSE99 |
B6 TSE99 |
B6 TSE99 |
B5 TSA05 |
B6 TSE99 |
| B5 | B5 TSA05 |
B5 TSA05 |
B5 TSA05 |
B5 TSA05 |
B5 TSA05 |
| B4 | B4 TSA15 |
B4 TSA15 |
B4 TSA15 |
B4 TSA15 |
B4 TSA15 |
| B3 | B3 TSA25 |
B3 TSA25 |
B3 TSA25 |
B3 TSA25 |
B3 TSA25 |
| B2 | B2 TSA35 |
B2 TSA35 |
B2 TSA35 |
B2 TSA35 |
B2 TSA35 |
| B1 | B1 TSA45 |
B1 TSA45 |
B1 TSA45 |
B1 TSA45 |
B1 TSA45 |
| N | N TSA50 |
N TSA50 |
N TSA50 |
N TSA50 |
N TSA50 |
| P1 | P1 TSA55 |
P1 TSA55 |
P1 TSA55 |
P1 TSA55 |
P1 TSA55 |
| P2 | P2 TSA65 |
P2 TSA65 |
P2 TSA65 |
P2 TSA65 |
P2 TSA65 |
| P3 | P3 TSA75 |
P3 TSA75 |
P3 TSA75 |
P3 TSA75 |
P3 TSA75 |
| P4 | P4 TSA85 |
P4 TSA85 |
P4 TSA85 |
P4 TSA85 |
P4 TSA85 |
| P5 | P4 TSA85 |
P4 TSA85 |
P5 TSA95 |
P5 TSA95 |
P5 TSA95 |
Source: PCSX2/pcsx2