Keycodes are almost never constructed by hand, but rather received from some third-party system library which provides raw keycodes/keysyms. Applications like winit are then forced to remap them to some intermediate type like the one provided in this crate.
To avoid having to write this conversion from system format to keyboard-types in every single application, it would make sense to centralize this in the keyboard-types crate. This would also likely benefit keyboard support overall, since there are some pretty niche keys that are usually rarely supported unless a person happens to be using them.
Keycodes are almost never constructed by hand, but rather received from some third-party system library which provides raw keycodes/keysyms. Applications like winit are then forced to remap them to some intermediate type like the one provided in this crate.
To avoid having to write this conversion from system format to keyboard-types in every single application, it would make sense to centralize this in the keyboard-types crate. This would also likely benefit keyboard support overall, since there are some pretty niche keys that are usually rarely supported unless a person happens to be using them.