From 64fda03bd6670d1672bbe3bca81b5f60a3d6997c Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Wed, 18 Jan 2012 21:41:55 +0100 Subject: [PATCH] #605: Reduce warning level for unsupported keys. --- src/Input/FGKeyboardInput.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Input/FGKeyboardInput.cxx b/src/Input/FGKeyboardInput.cxx index 73c7c5b0d..f6fe803ce 100644 --- a/src/Input/FGKeyboardInput.cxx +++ b/src/Input/FGKeyboardInput.cxx @@ -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; } -- 2.39.5