increase MAX_KEYS constant to match underlying SDL key scancode max

SDL_NUM_SCANCODES is defined as 512 currently
This commit is contained in:
Gered 2023-04-13 14:44:36 -04:00
parent 43c921680b
commit e0a4ea9c5b

View file

@ -5,7 +5,7 @@ use crate::system::input_devices::{ButtonState, InputDevice};
pub mod codes;
pub mod scancodes;
const MAX_KEYS: usize = 256;
const MAX_KEYS: usize = 512;
/// Holds the current state of the keyboard.
///