Matrix, diagnostics and generic flipper positions
pinmame.input.switch
- -7 … -53 slots
- 1 … 4848 slots
- 81 … 888 slots
- libpinmamechannel=switch
- controller_plugingroup_id=5 · contract_revision=46e1a01a0f73
Technical details for Matrix, diagnostics and generic flipper positionsSource-derived address behavior and exceptions
Sequential matrix numbering: public = 8 * zero-based strobe + zero-based return + 1. The shared by35.c reader can select six columns; a five-column machine fits only 1-40. Self test -7 drives PIA0 CA1, CPU diagnostic -6 drives NMI, and sound diagnostic -5 calls the selected sound board; a chime-only game has no sound board to receive it. GEN_STMPU100 uses the Bally-style cabinet port (coins 9-11, credit 6, tilt 7, slam 16), unlike GEN_STMPU200. Those port writes occur only with keyboard handling enabled. The row read is uncomplemented, the generation does not select BY35HW_REVSW, and the game supplies any inversion mask. Consume public state as delivered. The generic flipper column publishes 81-88; lower buttons are right 82 and left 84. FLIP_SW without FLIP_SWNO does not copy them into the ROM matrix, but core_updateSw still uses the lower button bits to synthesize flipper outputs. The driver cannot select the generic flipper column in its row reader. Availability and physical fitment are game-specific.