You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
billyb2 opened this issue
Apr 23, 2021
· 2 comments
Labels
A-InputPlayer input via keyboard, mouse, gamepad, and moreA-UIGraphical user interfaces, styles, layouts, and widgetsC-FeatureA new feature, making something new possible
What problem does this solve or what need does it fill?
By implementing ToString for each KeyCode, it would make it possible to easily display the keybindings for a game.
What solution would you like?
A pretty long impl std::fmt::Display for KeyCode with every KeyCode either having their literal character printed out, or a description (like Backspace)
What alternative(s) have you considered?
Possibly just implementing std::fmt::Display, though I feel as though ToString wouldn't be very difficult once that is implemented
Other solutions to solve and/or work around the problem presented.
Limiting the possible charaters used, and then having a display for each of those characters, though that feels like implementing ToString and Display with extra steps.
Additional context
Any other information you would like to add such as related previous work,
screenshots, benchmarks, etc.
The text was updated successfully, but these errors were encountered:
A-InputPlayer input via keyboard, mouse, gamepad, and moreA-UIGraphical user interfaces, styles, layouts, and widgetsC-FeatureA new feature, making something new possible
What problem does this solve or what need does it fill?
By implementing ToString for each KeyCode, it would make it possible to easily display the keybindings for a game.
What solution would you like?
A pretty long
impl std::fmt::Display for KeyCode
with every KeyCode either having their literal character printed out, or a description (like Backspace)What alternative(s) have you considered?
Possibly just implementing
std::fmt::Display, though I feel as though ToString wouldn't be very difficult once that is implemented
Other solutions to solve and/or work around the problem presented.
Limiting the possible charaters used, and then having a display for each of those characters, though that feels like implementing ToString and Display with extra steps.
Additional context
Any other information you would like to add such as related previous work,
screenshots, benchmarks, etc.
The text was updated successfully, but these errors were encountered: