From: curt Date: Tue, 24 Jul 2001 23:50:52 +0000 (+0000) Subject: - removed some verbose output X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ffd94e24a1e83fd4952693cd0bdb19699eb045f1;p=flightgear.git - removed some verbose output --- diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 812019359..f346622a8 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -212,8 +212,8 @@ FGInput::update () void FGInput::doKey (int k, int modifiers, int x, int y) { - SG_LOG(SG_INPUT, SG_INFO, "User pressed key " << k - << " with modifiers " << modifiers); + // SG_LOG( SG_INPUT, SG_INFO, "User pressed key " << k + // << " with modifiers " << modifiers ); // Sanity check. if (k < 0 || k >= MAX_KEYS) { @@ -257,7 +257,7 @@ FGInput::doKey (int k, int modifiers, int x, int y) // Use the old, default actions. - SG_LOG(SG_INPUT, SG_INFO, "(No user binding.)"); + // SG_LOG( SG_INPUT, SG_INFO, "(No user binding.)" ); if (modifiers&FG_MOD_UP) return; @@ -550,14 +550,14 @@ FGInput::_update_button (button &b, int modifiers, bool pressed) if (pressed) { // The press event may be repeated. if (!b.last_state || b.is_repeatable) { - SG_LOG(SG_INPUT, SG_INFO, "Button has been pressed"); + // SG_LOG( SG_INPUT, SG_INFO, "Button has been pressed" ); for (unsigned int k = 0; k < b.bindings[modifiers].size(); k++) b.bindings[modifiers][k].fire(); } } else { // The release event is never repeated. if (b.last_state) { - SG_LOG(SG_INPUT, SG_INFO, "Button has been released"); + // SG_LOG( SG_INPUT, SG_INFO, "Button has been released" ); for (unsigned int k = 0; k < b.bindings[modifiers|FG_MOD_UP].size(); k++) b.bindings[modifiers|FG_MOD_UP][k].fire(); }