#include #include #include #include #include #include "input.h" #include "snes.h" Input* input_init(Snes* snes) { Input* input = malloc(sizeof(Input)); input->snes = snes; // TODO: handle (where?) input->type = 1; input->currentState = 0; return input; } void input_free(Input* input) { free(input); } void input_reset(Input* input) { }