Files
sm-vita/src/snes/input.c
2023-03-05 22:06:32 +01:00

27 lines
412 B
C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#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) {
}