1
0
Fork 0

#605: Reduce warning level for unsupported keys.

This commit is contained in:
ThorstenB 2012-01-18 21:41:55 +01:00
parent 90ce4ec93d
commit 64fda03bd6

View file

@ -208,7 +208,8 @@ void FGKeyboardInput::doKey (int k, int modifiers, int x, int y)
{ {
// Sanity check. // Sanity check.
if (k < 0 || k >= MAX_KEYS) { 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; return;
} }