1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2024-11-28 11:00:49 +01:00
segatools-hay1tsme/hkbhook/hkb-dll.h
2024-06-08 00:43:06 -04:00

20 lines
351 B
C

#pragma once
#include <windows.h>
#include "hkbio/hkbio.h"
struct hkb_dll {
uint16_t api_version;
HRESULT (*init)(void);
HRESULT (*poll)(uint8_t *opbtn, uint8_t *gamebtn);
};
struct hkb_dll_config {
wchar_t path[MAX_PATH];
};
extern struct hkb_dll hkb_dll;
HRESULT hkb_dll_init(const struct hkb_dll_config *cfg, HINSTANCE self);