AxibugEmuOnline/virtuanessrc097-master/NES/PadEX/EXPAD.h

32 lines
2.1 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//////////////////////////////////////////////////////////////////////////
// //
// NES EXPAD //
// Norix //
// written 2001/04/08 //
// last modify ----/--/-- //
//////////////////////////////////////////////////////////////////////////
class EXPAD
{
public:
EXPAD( NES* parent ) : nes( parent ) {}
virtual ~EXPAD() {};
// メンバ関数
virtual void Reset() {}
virtual void Strobe() {}
virtual BYTE Read4016() { return 0x00; }
virtual BYTE Read4017() { return 0x00; }
virtual void Write4016( BYTE data ) {}
virtual void Write4017( BYTE data ) {}
// For synchronized
virtual void Sync() {}
virtual void SetSyncData( INT type, LONG data ) {}
virtual LONG GetSyncData( INT type ) { return 0x00; }
protected:
NES* nes;
private:
};