increase MAX_KEYS constant to match underlying SDL key scancode max
SDL_NUM_SCANCODES is defined as 512 currently
This commit is contained in:
parent
43c921680b
commit
e0a4ea9c5b
|
@ -5,7 +5,7 @@ use crate::system::input_devices::{ButtonState, InputDevice};
|
||||||
pub mod codes;
|
pub mod codes;
|
||||||
pub mod scancodes;
|
pub mod scancodes;
|
||||||
|
|
||||||
const MAX_KEYS: usize = 256;
|
const MAX_KEYS: usize = 512;
|
||||||
|
|
||||||
/// Holds the current state of the keyboard.
|
/// Holds the current state of the keyboard.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue