Description
Working on a Bevy project, I want to store keybindings and their defaults as physical keys but display them to the user as logical keys. There is currently no complete ecosystem solution for this (the closest is keyboard_keynames which does not have macos support or esoteric platform support).
winit creates key events on input with both physical and logical keys, but does not have a conversion API. It would make sense for winit to support conversions since it already has a large keyboard and OS internal/external surface.
Related:
Relevant platforms
No response
Description
Working on a Bevy project, I want to store keybindings and their defaults as physical keys but display them to the user as logical keys. There is currently no complete ecosystem solution for this (the closest is
keyboard_keynameswhich does not have macos support or esoteric platform support).winitcreates key events on input with both physical and logical keys, but does not have a conversion API. It would make sense forwinitto support conversions since it already has a large keyboard and OS internal/external surface.Related:
Relevant platforms
No response