hide pump_t inside RageINput
This commit is contained in:
@@ -34,6 +34,19 @@ static const char *PumpButtonNames[] = {
|
||||
"P2 UL", "P2 UR", "P2 MID", "P2 DL", "P2 DR"
|
||||
};
|
||||
|
||||
struct RageInput::pump_t
|
||||
{
|
||||
HANDLE h;
|
||||
OVERLAPPED ov;
|
||||
long buf;
|
||||
bool pending;
|
||||
|
||||
pump_t();
|
||||
~pump_t();
|
||||
bool init(int devno);
|
||||
int GetPadEvent();
|
||||
};
|
||||
|
||||
int DeviceInput::NumButtons(InputDevice device)
|
||||
{
|
||||
switch( device )
|
||||
@@ -383,7 +396,6 @@ void RageInput::Update( float fDeltaTime )
|
||||
|
||||
}
|
||||
|
||||
|
||||
bool RageInput::BeingPressed( DeviceInput di, bool bPrevState )
|
||||
{
|
||||
switch( di.device )
|
||||
|
||||
Reference in New Issue
Block a user