1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2025-01-10 07:41:46 +01:00

26 lines
600 B
C
Raw Normal View History

2022-12-10 22:01:52 -05:00
#pragma once
#include <windows.h>
#include "carolio/carolio.h"
struct carol_dll {
uint16_t api_version;
HRESULT (*jvs_init)(void);
void (*jvs_poll)(uint8_t *opbtn, uint8_t *beams);
void (*jvs_read_coin_counter)(uint16_t *total);
HRESULT (*touch_init)();
2023-04-11 00:20:51 -04:00
HRESULT (*ledbd_init)();
2022-12-10 22:01:52 -05:00
HRESULT (*controlbd_init)();
2023-05-31 04:54:38 -04:00
void (*touch_start)(carol_io_touch_callback_t callback);
void (*touch_stop)();
2022-12-10 22:01:52 -05:00
};
struct carol_dll_config {
wchar_t path[MAX_PATH];
};
extern struct carol_dll carol_dll;
HRESULT carol_dll_init(const struct carol_dll_config *cfg, HINSTANCE self);