From 037b4802dbe790ea888b4c4e501978e9aabd0cbb Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 13 Jun 2018 19:26:59 -0400 Subject: [PATCH] Eliminates unused `using`s. --- Inputs/Joystick.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Inputs/Joystick.hpp b/Inputs/Joystick.hpp index ca0c39085..bb25f5e67 100644 --- a/Inputs/Joystick.hpp +++ b/Inputs/Joystick.hpp @@ -166,7 +166,6 @@ class ConcreteJoystick: public Joystick { // Otherwise this is logically to an analogue axis; for now just use some // convenient hard-coded values. TODO: make these a function of time. using Type = Joystick::Input::Type; - using Precision = Joystick::Input::Precision; switch(input.type) { default: did_set_input(input, is_active ? 1.0f : 0.0f); break; case Type::Left: did_set_input(Input(Type::Horizontal, input.info.control.index), is_active ? 0.25f : 0.5f); break; @@ -185,7 +184,6 @@ class ConcreteJoystick: public Joystick { // Otherwise apply a threshold test to convert to digital, with remapping from axes to digital inputs. using Type = Joystick::Input::Type; - using Precision = Joystick::Input::Precision; switch(input.type) { default: did_set_input(input, value > 0.5f); break; case Type::Horizontal: