From b534131f2180229def19cb7857f4f7eeca4fab31 Mon Sep 17 00:00:00 2001 From: Ilari Liusvaara Date: Sun, 17 Mar 2013 18:10:54 +0200 Subject: [PATCH] Fix analog input using mouse (got broken with analog passthrough) --- src/core/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/controller.cpp b/src/core/controller.cpp index 1ae19ef3..d8d7fcbf 100644 --- a/src/core/controller.cpp +++ b/src/core/controller.cpp @@ -327,7 +327,7 @@ namespace if(!check_button_active(name)) return; auto z = active_buttons[name]; - if(!z.bind.mode != 1) { + if(z.bind.mode != 1) { std::cerr << name << " is not a axis." << std::endl; return; }