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.
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
|
||||
One section per version, newest first.
|
||||
|
||||
## v0.3.0 (2026-11-04)
|
||||
|
||||
### Features
|
||||
|
||||
- The hint bar shows the keys to press when there is no controller, and switches to whichever was used last, keyboard or controller.
|
||||
- Controller hints use button icons for Xbox, PlayStation, Switch and Steam Deck controllers. Behind Steam, remus finds the physical controller the way SDL does. Icons are Kenney's Input Prompts (CC0).
|
||||
|
||||
## v0.2.1 (2026-11-04)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
Reference in New Issue
Block a user