forked from sin365/AxibugEmuOnline
28 lines
1.2 KiB
C++
28 lines
1.2 KiB
C++
//////////////////////////////////////////////////////////////////////////
|
||
// 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:
|
||
};
|