mirror of
https://github.com/libretro/Play-.git
synced 2024-11-28 03:00:49 +00:00
14 lines
386 B
C++
14 lines
386 B
C++
#pragma once
|
|
|
|
#include "Types.h"
|
|
#include "ControllerInfo.h"
|
|
|
|
class CPadListener
|
|
{
|
|
public:
|
|
virtual ~CPadListener() = default;
|
|
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);
|
|
};
|