fork/GramFirmware
git clone https://git.julia.blue/fork/GramFirmware
818d962
gram
1#ifndef _COMMS_N64BACKEND_HPP 2#define _COMMS_N64BACKEND_HPP 3 4#include "core/CommunicationBackend.hpp" 5 6#include <N64Console.hpp> 7#include <hardware/pio.h> 8 9class N64Backend :public CommunicationBackend { 10public : 11N64Backend ( 12InputState & inputs , 13InputSource ** input_sources , 14size_t input_source_count , 15uint data_pin , 16PIO pio = pio0 , 17int sm = -1 , 18int offset = -1 19 ); 20CommunicationBackendId BackendId (); 21void SendReport (); 22int GetOffset (); 23 24private : 25N64Console _n64 ; 26n64_report_t _report ; 27}; 28 29#endif