Add carolhook for Wonderland Wars

This commit is contained in:
2022-12-10 22:01:52 -05:00
committed by Hay1tsme
parent 04ca905467
commit 376dad0bc8
29 changed files with 1296 additions and 1 deletions

17
carolhook/touch.h Normal file
View File

@ -0,0 +1,17 @@
#pragma once
#include <windows.h>
#include <stdbool.h>
#include <stdint.h>
struct touch_config {
bool enable;
};
struct touch_req {
uint8_t cmd; // First byte is the command byte
uint8_t data[256]; // rest of the data goes here
uint8_t data_length; // Size of the data including command byte
};
HRESULT touch_hook_init(const struct touch_config *cfg);