Remove unused AxisPos.

This commit is contained in:
Unknown W. Brackets 2017-03-13 23:08:09 -07:00
parent 94700f287d
commit f3c518ac7f
2 changed files with 1 additions and 17 deletions

View File

@ -21,7 +21,7 @@
#include <map>
#include <vector>
#include <set>
#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

View File

@ -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 {