#pragma once #include #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);