From ea1fe0dfc37acd11a6e3ed0ead68a15964c5b501 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 17 Jun 2016 21:58:43 +0200 Subject: [PATCH] Handle not handled switch(key) values --- src/classes/Keyboard.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/classes/Keyboard.cpp b/src/classes/Keyboard.cpp index f1c4fe1..61e1a30 100644 --- a/src/classes/Keyboard.cpp +++ b/src/classes/Keyboard.cpp @@ -215,6 +215,7 @@ bool Keyboard::getKeyAddress(Key key, KeyAddress &keyAddress) { case Key::shift_right: keyAddress.id = 0xe5; break; case Key::alt_right: keyAddress.id = 0xe6; break; case Key::win_right: keyAddress.id = 0xe7; break; + default: break; } break; }