898db260a3
This patch changes the definition of KeyCode from an enum, which was constraining the possible key codes, to a struct with a u32 field, which covers all possible cases of a key code. Key codes in Flash are not related to the physical buttons, but rather to logical button values. For instance, typing a non-ASCII key produces a key code related to that character, and using a non-ANSI keyboard or a layout different from US QWERTY also produces results matching that assumption. |
||
---|---|---|
.. | ||
assets | ||
packages | ||
src | ||
Cargo.toml | ||
build.rs |