swdc: first segatools added

This commit is contained in:
2023-07-14 00:52:50 +02:00
parent 89195ed60b
commit ec072667b3
31 changed files with 2167 additions and 1 deletions

11
swdcio/backend.h Normal file
View File

@ -0,0 +1,11 @@
#pragma once
#include <stdint.h>
#include "swdcio/swdcio.h"
struct swdc_io_backend {
void (*get_opbtns)(uint8_t *opbtn);
void (*get_gamebtns)(uint16_t *gamebtn);
void (*get_analogs)(struct swdc_io_analog_state *state);
};