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

28 lines
1.2 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.

//////////////////////////////////////////////////////////////////////////
// Toprider //
//////////////////////////////////////////////////////////////////////////
class EXPAD_Toprider : public EXPAD
{
public:
EXPAD_Toprider( NES* parent ) : EXPAD( parent ) {}
void Reset();
void Write4016( BYTE data );
BYTE Read4017();
void Sync();
void SetSyncData( INT type, LONG data );
LONG GetSyncData( INT type );
protected:
BYTE rider_bita;
BYTE rider_bitb;
INT rider_pos;
INT rider_accel;
INT rider_brake;
BYTE rider_button;
private:
};