mirror of
https://gitea.tendokyu.moe/TeamTofuShop/segatools.git
synced 2026-09-29 13:28:00 +03:00
cxb: touch emulation
This commit is contained in:
@@ -71,4 +71,5 @@ void cxb_hook_config_load(
|
||||
cxb_dll_config_load(&cfg->dll, filename);
|
||||
revio_config_load(&cfg->revio, filename);
|
||||
led_config_load(&cfg->led, filename);
|
||||
touch_screen_config_load(&cfg->touch, filename);
|
||||
}
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "cxbhook/revio.h"
|
||||
#include "cxbhook/led.h"
|
||||
|
||||
#include "hooklib/touch.h"
|
||||
|
||||
#include "gfxhook/gfx.h"
|
||||
|
||||
#include "platform/platform.h"
|
||||
@@ -23,6 +25,7 @@ struct cxb_hook_config {
|
||||
struct cxb_dll_config dll;
|
||||
struct revio_config revio;
|
||||
struct led_config led;
|
||||
struct touch_screen_config touch;
|
||||
};
|
||||
|
||||
void cxb_dll_config_load(
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "hooklib/serial.h"
|
||||
#include "hooklib/spike.h"
|
||||
#include "hooklib/touch.h"
|
||||
|
||||
#include "platform/platform.h"
|
||||
|
||||
@@ -114,6 +115,8 @@ static DWORD CALLBACK cxb_pre_startup(void)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
touch_screen_hook_init(&cxb_hook_cfg.touch, cxb_hook_mod);
|
||||
|
||||
/* Initialize debug helpers */
|
||||
|
||||
spike_hook_init(get_config_path());
|
||||
|
||||
Reference in New Issue
Block a user