cardmaker: hook, touch screen hook added

Thanks @domeori https://dev.s-ul.net/domeori/segatools/-/tree/mr-imports
This commit is contained in:
2023-07-14 00:59:10 +02:00
parent 2a6a8bf8b2
commit 01be6ee33c
24 changed files with 952 additions and 0 deletions

14
hooklib/touch.h Normal file
View File

@ -0,0 +1,14 @@
#pragma once
#include <windows.h>
#include <stdbool.h>
struct touch_screen_config {
bool enable;
};
/* Init is not thread safe because API hook init is not thread safe blah
blah blah you know the drill by now. */
void touch_screen_hook_init(const struct touch_screen_config *cfg, HINSTANCE self);