From 282d9868e4cd89d2f48a3fca067c1f2c95b55076 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 23 Sep 2013 12:09:23 +0000 Subject: [PATCH] input: disable keyboard tests the new input system doesn't support yet. --- neercs/term/term.cpp | 4 ++++ neercs/video/render.cpp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/neercs/term/term.cpp b/neercs/term/term.cpp index c02765c..5a6179c 100644 --- a/neercs/term/term.cpp +++ b/neercs/term/term.cpp @@ -42,6 +42,7 @@ void Term::TickGame(float seconds) Entity::TickGame(seconds); #if defined HAVE_PTY_H || defined HAVE_UTIL_H || defined HAVE_LIBUTIL_H +#if 0 if (!g_setup) { bool have_ctrl = Input::GetStatus(Key::LeftCtrl) @@ -108,6 +109,7 @@ void Term::TickGame(float seconds) m_pty->WriteData(lut[i].str, lut[i].len); } } +#endif m_time += seconds; @@ -147,8 +149,10 @@ void Term::TickGame(float seconds) } /* Some fancy shit if we press F3 */ +#if 0 if (Input::WasPressed(Key::F3)) m_debug = !m_debug; +#endif if (m_debug) { diff --git a/neercs/video/render.cpp b/neercs/video/render.cpp index e4b2fc3..080a253 100644 --- a/neercs/video/render.cpp +++ b/neercs/video/render.cpp @@ -1076,6 +1076,7 @@ void Render::Pause() void Render::TickDraw(float seconds) { /* keyboard manager */ +#if 0 if (Input::WasPressed(Key::F1)) { g_setup = !g_setup; @@ -1371,6 +1372,7 @@ void Render::TickDraw(float seconds) //flash_flag = true; //flash_angle = main_angle; } +#endif Entity::TickDraw(seconds);