mirror of
https://github.com/libretro/Play-.git
synced 2024-11-27 18:50:28 +00:00
16 lines
383 B
C++
16 lines
383 B
C++
#pragma once
|
|
|
|
#include "Types.h"
|
|
#include "ControllerInfo.h"
|
|
|
|
class CPadListener
|
|
{
|
|
public:
|
|
virtual ~CPadListener()
|
|
{
|
|
}
|
|
virtual void SetButtonState(unsigned int, PS2::CControllerInfo::BUTTON, bool, uint8*) = 0;
|
|
virtual void SetAxisState(unsigned int, PS2::CControllerInfo::BUTTON, uint8, uint8*) = 0;
|
|
static uint32 GetButtonMask(PS2::CControllerInfo::BUTTON);
|
|
};
|