Files
Remus/ui/prompts/switch/switch_dpad_horizontal.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

7 lines
1.6 KiB
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="M23 23 L23 12 Q23 8 27 8 L37 8 Q41 8 41 12 L41 23 41 41 41 52 Q41 56 37 56 L27 56 Q23 56 23 52 L23 41 23 23 M48 28.3 L51.15 30.4 51.9 31.35 Q52.1 32 51.9 32.6 L51.15 33.65 48 35.7 46.7 36 Q45.95 35.9 45.5 35.35 45 34.8 45 34.05 L45 29.9 Q45 29.2 45.5 28.65 45.95 28.1 46.7 28.05 47.4 27.9 48 28.3 M35.7 16 L33.6 12.85 32.65 12.1 Q32 11.9 31.4 12.1 30.75 12.35 30.35 12.85 L28.3 16 Q27.9 16.6 28 17.3 28.1 18.05 28.65 18.5 29.2 19 29.95 19 L34.1 19 Q34.8 19 35.35 18.5 35.9 18.05 35.95 17.3 36.1 16.6 35.7 16 M16 28.3 Q16.6 27.9 17.3 28.05 18.05 28.1 18.5 28.65 19 29.2 19 29.9 L19 34.05 Q19 34.8 18.5 35.35 18.05 35.9 17.3 36 16.6 36.1 16 35.7 L12.85 33.65 12.1 32.6 Q11.9 32 12.1 31.35 12.35 30.75 12.85 30.4 L16 28.3 M35.7 48 Q36.1 47.4 35.95 46.7 35.9 45.95 35.35 45.5 34.8 45 34.1 45 L29.95 45 Q29.2 45 28.65 45.5 28.1 45.95 28 46.7 27.9 47.4 28.3 48 L30.35 51.15 Q30.75 51.65 31.4 51.9 32 52.1 32.65 51.9 L33.6 51.15 35.7 48"/>
<path stroke="none" fill="#E73246" d="M41 23 L52 23 Q56 23 56 27 L56 37 Q56 41 52 41 L41 41 41 23 M23 41 L12 41 Q8 41 8 37 L8 27 Q8 23 12 23 L23 23 23 41 M48 28.3 Q47.4 27.9 46.7 28.05 45.95 28.1 45.5 28.65 45 29.2 45 29.9 L45 34.05 Q45 34.8 45.5 35.35 45.95 35.9 46.7 36 L48 35.7 51.15 33.65 51.9 32.6 Q52.1 32 51.9 31.35 L51.15 30.4 48 28.3 M16 28.3 L12.85 30.4 Q12.35 30.75 12.1 31.35 11.9 32 12.1 32.6 L12.85 33.65 16 35.7 Q16.6 36.1 17.3 36 18.05 35.9 18.5 35.35 19 34.8 19 34.05 L19 29.9 Q19 29.2 18.5 28.65 18.05 28.1 17.3 28.05 16.6 27.9 16 28.3"/>
</g>
</svg>