mirror of
https://github.com/libretro/Play-.git
synced 2024-12-04 23:36:30 +00:00
7a4a6cc4aa
git-svn-id: http://svn.purei.org/purei/trunk@979 b36208d7-6611-0410-8bec-b1987f11c4a2
17 lines
426 B
C++
17 lines
426 B
C++
#ifndef _PADLISTENER_H_
|
|
#define _PADLISTENER_H_
|
|
|
|
#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);
|
|
};
|
|
|
|
#endif
|