pub type KeyCode = KbKey;
👎Deprecated since 0.7.0: Use KbKey instead
Expand description
The meaning (mapped value) of a keypress.
Note that in previous versions, the KeyCode
field referred to the
physical position of the key, rather than the mapped value. In most
cases, applications should dispatch based on the value instead. This
alias is provided to make that transition easy, but in any case make
an explicit choice whether to use meaning or physical location and
use the appropriate type.