fork/GramFirmware
git clone https://git.julia.blue/fork/GramFirmware
38b67d3
master
1#ifndef _COMMS_GAMECUBEBACKEND_HPP 2#define _COMMS_GAMECUBEBACKEND_HPP 3 4#include "core/CommunicationBackend.hpp" 5 6#include <GamecubeConsole.hpp> 7#include <hardware/pio.h> 8 9class GamecubeBackend :public CommunicationBackend { 10public : 11GamecubeBackend ( 12InputSource ** input_sources , 13size_t input_source_count , 14uint data_pin , 15PIO pio = pio0 , 16int sm = -1 , 17int offset = -1 18 ); 19 ~GamecubeBackend (); 20void SendReport (); 21int GetOffset (); 22 23private : 24GamecubeConsole * _gamecube ; 25gc_report_t _report ; 26}; 27 28#endif