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

28 lines
1.2 KiB
C++
Raw Permalink 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.

//////////////////////////////////////////////////////////////////////////
// VS-Unisystem Zapper //
//////////////////////////////////////////////////////////////////////////
class EXPAD_VSZapper : public EXPAD
{
public:
EXPAD_VSZapper( NES* parent ) : EXPAD( parent ) {}
void Reset();
void Strobe();
BYTE Read4016();
BYTE Read4017();
void Sync();
void SetSyncData( INT type, LONG data );
LONG GetSyncData( INT type );
protected:
BYTE readlatch[2];
LONG zapper_x, zapper_y;
BYTE zapper_button;
BYTE zapper_offscreen;
private:
};