#605: Reduce warning level for unsupported keys.
This commit is contained in:
parent
90ce4ec93d
commit
64fda03bd6
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue