Fixed issue with default constructor and no map resulting in failing to initialize keyboard

pull/389/head
Ben Gemperline 7 years ago
parent f5cb8760dd
commit e4a00f2a33

@ -40,7 +40,7 @@ uint16_t SpaceCadet::time_out = 1000;
//Empty Constructor //Empty Constructor
SpaceCadet::SpaceCadet() { SpaceCadet::SpaceCadet() {
SpaceCadet::KeyBinding initialmap[] = { static SpaceCadet::KeyBinding initialmap[] = {
//By default, respect the default timeout //By default, respect the default timeout
{Key_LeftShift, Key_LeftParen, 0} {Key_LeftShift, Key_LeftParen, 0}
, {Key_RightShift, Key_RightParen, 0} , {Key_RightShift, Key_RightParen, 0}

Loading…
Cancel
Save