Replace -1 constant in keycode with enum value (#120126)
Tthe key code logic uses the constant `-1` in a number of places. With the latest TS 4.3 nightly build, this causes a compile error since there is no overlap between `-1` and the `KeyCode` enum This change adds a `-1` value to the `KeyCode` and `ScanCode` enums
Showing
想要评论请 注册 或 登录