mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-26 11:16:13 +00:00
Remove unused AxisPos.
This commit is contained in:
parent
94700f287d
commit
f3c518ac7f
@ -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
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user