]> git.mxchange.org Git - flightgear.git/commitdiff
#605: Reduce warning level for unsupported keys.
authorThorstenB <brehmt@gmail.com>
Wed, 18 Jan 2012 20:41:55 +0000 (21:41 +0100)
committerThorstenB <brehmt@gmail.com>
Wed, 18 Jan 2012 20:41:55 +0000 (21:41 +0100)
src/Input/FGKeyboardInput.cxx

index 73c7c5b0d92e192602ed77cd37254748160ceaf2..f6fe803ceb3ae345e677bcbf9d5ef0915bd8743d 100644 (file)
@@ -208,7 +208,8 @@ void FGKeyboardInput::doKey (int k, int modifiers, int x, int y)
 {
   // Sanity check.
   if (k < 0 || k >= MAX_KEYS) {
-    SG_LOG(SG_INPUT, SG_WARN, "Key value " << k << " out of range");
+    // normal for unsupported keys (i.e. left/right shift key press events)
+    SG_LOG(SG_INPUT, SG_DEBUG, "Key value " << k << " out of range");
     return;
   }