Play-/Source/ControllerInfo.h

40 lines
486 B
C
Raw Normal View History

2015-09-23 04:43:51 +00:00
#pragma once
#include "Types.h"
namespace PS2
{
class CControllerInfo
{
public:
enum BUTTON
{
ANALOG_LEFT_X,
ANALOG_LEFT_Y,
ANALOG_RIGHT_X,
ANALOG_RIGHT_Y,
DPAD_UP,
DPAD_DOWN,
DPAD_LEFT,
DPAD_RIGHT,
SELECT,
START,
SQUARE,
TRIANGLE,
CIRCLE,
CROSS,
L1,
L2,
L3,
R1,
R2,
R3,
MAX_BUTTONS
};
2018-04-30 20:01:23 +00:00
static const char* m_buttonName[MAX_BUTTONS];
2018-04-30 20:01:23 +00:00
static bool IsAxis(BUTTON);
};
};