mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-29 06:07:56 +03:00

Fixed TR1 compilance. Input configuration support for Win32. Support for analog axis in PadMan. git-svn-id: http://svn.purei.org/purei/trunk@361 b36208d7-6611-0410-8bec-b1987f11c4a2
16 lines
440 B
C++
16 lines
440 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
|