2023-07-13 22:59:10 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
struct touch_screen_config {
|
|
|
|
bool enable;
|
2023-08-15 15:28:19 +00:00
|
|
|
bool remap;
|
|
|
|
bool cursor;
|
2023-07-13 22:59:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Init is not thread safe because API hook init is not thread safe blah
|
|
|
|
blah blah you know the drill by now. */
|
|
|
|
|
2023-08-15 15:28:19 +00:00
|
|
|
void touch_screen_hook_init(const struct touch_screen_config *cfg, HINSTANCE self);
|
2024-05-12 17:36:08 +00:00
|
|
|
void touch_hook_insert_hooks(HMODULE target);
|