Files
Remus/ui/prompts/keyboard/keyboard_tab.svg
T
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
966 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="M56 22 L56 42 Q56 46.9 53 48.8 51.1 50 48 50 L16 50 Q12.9 50 11 48.8 8 46.9 8 42 L8 22 Q8 14 16 14 L48 14 Q56 14 56 22 M42.5 29.9 L42.3 30 41 30 41 28 42.05 28 Q42.45 28 42.7 28.25 L43 29 42.75 29.65 42.7 29.7 42.5 29.9 M46 29 Q46 27.35 44.8 26.15 43.65 25 42.05 25 L38 25 38 38 42.15 38 Q43 38 43.85 37.6 L44 37.5 44.8 36.8 44.8 36.85 Q46 35.7 46 34 46 32.55 45.15 31.5 46 30.45 46 29 M42.3 33 Q42.5 33.05 42.7 33.25 L43 34 42.75 34.65 42.7 34.7 42.5 34.9 42.15 35 41 35 41 33 42.3 33 M17 28 L20 28 20 38 23 38 23 28 26 28 26 25 17 25 17 28 M31 28.75 L31.2 28.3 31.25 28.25 Q31.55 28 32 28 32.45 28 32.8 28.3 L33 28.75 33 31 31 31 31 28.75 M28 28.75 L28 38 31 38 31 34 33 34 33 38 36 38 36 28.75 Q36 27.15 34.75 26.05 33.55 25 32 25 30.4 25 29.25 26.05 L29.2 26.05 Q28 27.15 28 28.75"/>
</g>
</svg>