When the controller does the wrong thing
16 / DEBUGGING A REAL INTERACTION
Suppose Look works on the amber cell but picking the blue relay seems impossible. First find out whether the game selected the relay at all. That one observation separates a selection problem from a broken Look or Use action.
| In the captured Prototype Lab room | What the runner reported |
|---|---|
| Standing near both props | The candidate list contained power_cell and relay. The first selected ID was power_cell. |
| Right shoulder pressed once | The active ID changed to relay. The on-screen label changed to Blue relay. |
| Top face button pressed | The runner opened the interaction coin. Its visible choices included Look, Use and Pick Up. |
| Wheel closed, left face pressed | The Parts Tray opened and the runtime reported an authored modal GUI input lock. That is expected while inventory owns the input. |
These observations came from injected controller-button events in the Linux runner. The test room skipped its opening events, used direct gamepad movement and widened the radius to show both props at once. The separate standalone build test on page 8 kept the ordinary startup intact.
What to do with the result#
If the label never changes, inspect the candidates, distances and shoulder mapping. If the label changes but Use affects the amber cell, log the entity ID that receives the verb. If the wheel opens but a press also moves the player, look for a second input handler that processes the same event after the wheel handles it.
On a real pad repeat the route slowly, then repeat it with the shoulder held briefly. Open inventory, release the button, then close it. Finally unplug the pad while the wheel is open. Check that focus returns to a usable place after reconnection and that a held key never selects an item by accident.
