added code for auto scanning, but it crashes...

This commit is contained in:
Hay1tsme
2022-01-08 17:19:10 -05:00
parent 12b523ad9f
commit 85461cadc6
5 changed files with 110 additions and 13 deletions

View File

@ -14,6 +14,7 @@ enum {
MERCURY_IO_GAMEBTN_VOL_DOWN = 0x02,
};
typedef void (*mercury_io_touch_callback_t)(const uint8_t *state);
/* Get the version of the Wacca IO API that this DLL supports. This
function should return a positive 16-bit integer, where the high byte is
the major version and the low byte is the minor version (as defined by the
@ -61,4 +62,4 @@ void mercury_io_get_gamebtns(uint8_t *gamebtn);
HRESULT mercury_io_touch_init(void);
HRESULT mercury_io_touch_start(void);
void mercury_io_touch_start(mercury_io_touch_callback_t callback);