Set repr of VirtualKeyCode to u32
This allows to have an array of bools for the key states.
This commit is contained in:
parent
544ee13bf3
commit
c4cdb9aa5c
1 changed files with 1 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ pub enum MouseScrollDelta {
|
|||
}
|
||||
|
||||
#[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)]
|
||||
#[repr(u32)]
|
||||
pub enum VirtualKeyCode {
|
||||
/// The '1' key over the letters.
|
||||
Key1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue