Fix analog input using mouse (got broken with analog passthrough)

This commit is contained in:
Ilari Liusvaara 2013-03-17 18:10:54 +02:00
parent 34e83828c3
commit b534131f21

View file

@ -327,7 +327,7 @@ namespace
if(!check_button_active(name)) if(!check_button_active(name))
return; return;
auto z = active_buttons[name]; auto z = active_buttons[name];
if(!z.bind.mode != 1) { if(z.bind.mode != 1) {
std::cerr << name << " is not a axis." << std::endl; std::cerr << name << " is not a axis." << std::endl;
return; return;
} }