Add API versioning to mu3io

This commit is contained in:
Tau 2021-06-06 14:25:32 -04:00
parent 9ae697d4fc
commit cfb39cd066
2 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,11 @@ static uint8_t mu3_right_btn;
static int16_t mu3_lever_pos; static int16_t mu3_lever_pos;
static int16_t mu3_lever_xpos; static int16_t mu3_lever_xpos;
uint16_t mu3_io_get_api_version(void)
{
return 0x0100;
}
HRESULT mu3_io_init(void) HRESULT mu3_io_init(void)
{ {
return S_OK; return S_OK;

View File

@ -17,6 +17,8 @@ enum {
MU3_IO_GAMEBTN_MENU = 0x10, MU3_IO_GAMEBTN_MENU = 0x10,
}; };
uint16_t mu3_io_get_api_version(void);
HRESULT mu3_io_init(void); HRESULT mu3_io_init(void);
HRESULT mu3_io_poll(void); HRESULT mu3_io_poll(void);