winit-sonoma-fix/src/platform_impl/linux
Christian Duerr a2db4c0a32
Unify Minus/Subtract virtual keycodes
On all platforms other than Linux/X11, the Subtract key was uniformly
used only for the Numpad. To make this cross-platform compatible, the
`-` key will now map to `Minus` on X11 instead of `Subtract`.

Since people have been confused about the difference between `Minus` and
`Subtract` in the past, the `Subtract` key has also been renamed to
`NumpadSubtract`. This is a breaking change that might be annoying to
downstream since there's no direct improvement, but it should help new
users in the future. Alternatively this could just be documented, rather
than explicitly mentioning the Numpad in the name.
2020-08-29 16:38:41 +03:00
..
wayland Unify Minus/Subtract virtual keycodes 2020-08-29 16:38:41 +03:00
x11 Unify Minus/Subtract virtual keycodes 2020-08-29 16:38:41 +03:00
mod.rs Fix crash on NetBSD 2020-08-20 21:12:01 +03:00