From f3c518ac7f8da8ad13b0a506aceb5aeb166a9297 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 13 Mar 2017 23:08:09 -0700 Subject: [PATCH] Remove unused AxisPos. --- Common/KeyMap.h | 2 +- ext/native/input/input_state.h | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/Common/KeyMap.h b/Common/KeyMap.h index abc4f774b..334b5a53f 100644 --- a/Common/KeyMap.h +++ b/Common/KeyMap.h @@ -21,7 +21,7 @@ #include #include #include -#include "input/input_state.h" // KeyDef, AxisPos +#include "input/input_state.h" // KeyDef #include "input/keycodes.h" // keyboard keys #include "../Core/HLE/sceCtrl.h" // psp keys diff --git a/ext/native/input/input_state.h b/ext/native/input/input_state.h index 2b1b771aa..0e81c913f 100644 --- a/ext/native/input/input_state.h +++ b/ext/native/input/input_state.h @@ -105,22 +105,6 @@ public: } }; -// Represents a single bindable axis direction -struct AxisPos { - int axis; - float position; - - bool operator < (const AxisPos &other) const { - if (axis < other.axis) return true; - if (axis > other.axis) return false; - return position < other.position; - } - bool operator == (const AxisPos &other) const { - return axis == other.axis && position == other.position; - } -}; - - // Collection of all possible inputs, and automatically computed // deltas where applicable. struct InputState {