b7330ac0cc
Vanilla 26.3 has no gamepad input, so this is Horizon's own, on Bedrock's default layout (docs/controllers.md). gilrs reads the pads; the pure part (bindings, radial deadzones, the look curve, button edges, the horizon-controller.txt settings file) is in gamepad.rs with unit tests. Buttons act as the vanilla key mapping they're bound to, through the same path a rebound keyboard key takes (the keyboard's post-rebinding handling moves into Game::mapped_key). The left stick is an analog move vector, the right stick turns the view per frame, LB/RB step the hotbar, B and Start leave screens and A respawns. horizon-ctl pad injects a virtual pad. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>