# Inputs and the LS-30 rotary joystick ## The LS-30 SNK's LS-30 is an 8-way joystick whose knob also turns through 12 positions, read by the board as an absolute direction (12 positions: the common description, and MAME models it as a `positional` control with minimum 0 and maximum 12, sensitivity 15, key delta 1, reversed, on tnk3, ikari, victroad, gwar, bermudat, worldwar: OBSERVED in listxml; no SNK document for the LS-30 itself was found). The joystick's own harness is 13 pins with one common, of which the GND pin's position varies between LS-30 versions (RndMnkIII's LS-30 SNAC adapter README, no licence, facts only: "the ground (GND) cable ... can go in the position 7 ... or ... 13"; his TNK III core maps "the LS-30 rotary four wire data", so the board-side signal is **4 bits**). atrac17's RP2040 adapter README and pinout figure (LS30-RP, LS30-PIN, pinned; the README states MIT) give the joystick connector pinout. ## How the board reads it - **Rotary PROMs.** MAME's sets for the rotary games carry a region `rjproms` of two 4 KB PROMs (`1.1d`, `1.2d`; `l.1w`, `l.1x` on gwar), **dumped** for victroad, dogosoke, dogosokb and the gwar sets and **not dumped** for ikari, bermudat and worldwar (MAME runs those without them, so its rotary path does not read them). What they do (decode the 12 switch lines to a code, or turn the code into the value the CPU reads) is U7: the dumped ones are data the board can read in place, and SCH-TNK3's I/O sheet shows the input path. - **Joystick-hack bootlegs** (`ikarijpb`, `ikariram`, `dogosokb`, `gwarb`, `fsoccerb`, `fsoccerba`, `tnk3b`) replace the rotary with buttons; MAME lists them with `joy8` only. They show the game code tolerates another input path; they are not evidence of the original's. - **Dial and trackball.** TouchDown Fever and Fighting Soccer have a `dial`, Country Club a `trackball` (MAME). Out of the first milestones. ## What the host sees The board exposes the 12 positions as a value per player. A host maps a gamepad's right stick or two shoulder buttons onto it (RndMnkIII's TNK III core uses the triggers; atrac17's RP2040 firmware turns an LS-30 into a USB device). That is host policy, not board behaviour: the board's input is the 4-bit (or 12-line) signal the schematics show.