keyboard-types
keyboard-types copied to clipboard
Use `#[doc(alias = "...")]`
We should use #[doc(alias = "...")] on Code/Key variants, to make things easier to search for.
Examples of where this would be helpful:
- https://github.com/pyfisch/keyboard-types/pull/61
-
Enter(aliasReturn) -
Backspace(aliasDelete) -
Meta(aliasCmd/Command,Win/Windowsand maybeSuper)
Backspace (alias Delete)
Since there is an actual key called "Delete" this would be confusing. We shouldn't make the same mistake as Apple here.