// $Id: NinjaTap.hh 5359 2006-05-06 18:00:30Z m9710797 $ #ifndef NINJATAP_HH #define NINJATAP_HH #include "JoyTap.hh" namespace openmsx { class NinjaTap : public JoyTap { public: NinjaTap(PluggingController& pluggingController, const std::string& name); //Pluggable virtual const std::string& getDescription() const; //JoystickDevice byte read(const EmuTime& time); void write(byte value, const EmuTime& time); private: byte status; byte previous; byte buf[4]; }; } // namespace openmsx #endif