Files
Remus/ui/prompts/xbox/xbox_button_view.svg
Ansho Rei 28a8b8af11 feat: show keyboard keys or the controller's own buttons in the hint bar
The hint bar always named Xbox buttons, so someone at a keyboard was
told to press buttons they did not have, and owners of other pads got
the wrong letters. Hints now name an action, and the keys or button
icons come from the input used last: keyboard, or an Xbox, PlayStation,
Switch or Steam Deck controller.

Behind Steam, every pad is Steam's virtual one. remus reads the file
Steam names in SteamVirtualGamepadInfo to find the physical controller,
matching the slot in the pad's name, as SDL does. Icons are Kenney's
Input Prompts (CC0), with the licence beside them.
2026-11-04 10:43:56 +01:00

6 lines
483 B
XML

<svg width="64" height="64" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs/>
<g>
<path stroke="none" fill="#FFFFFF" d="M28 43 L29 44 44 44 45 43 45 30 44 29 29 29 28 30 28 43 M20 35 L21 36 26 36 26 33 23 33 23 23.95 34 23.95 34 27 37 27 37 22 36 21 21 21 20 22 20 35 M56 32 Q56 42 48.95 48.95 42 56 32 56 22.05 56 15 48.95 8 42 8 32 8 22.05 15 15 22.05 8 32 8 42 8 48.95 15 56 22.05 56 32 M42 32 L42 41 31 41 31 32 42 32"/>
</g>
</svg>