FGO: add keyboard input (#61)

Probably self-explanatory :p

Reviewed-on: TeamTofuShop/segatools#61
Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
This commit is contained in:
2025-04-05 15:22:14 +00:00
committed by Dniel97
parent 61f95c3f2e
commit 39711a994a
12 changed files with 375 additions and 90 deletions

10
fgoio/backend.h Normal file
View File

@ -0,0 +1,10 @@
#pragma once
#include <stdint.h>
#include "fgoio/fgoio.h"
struct fgo_io_backend {
void (*get_gamebtns)(uint8_t *gamebtn);
void (*get_analogs)(int16_t *x, int16_t *y);
};