forked from Hay1tsme/segatools
How does the mai2 touch emulation work? #10
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I personally want to achieve using keyboard to activate each touch sensors as a other former project is able to do this, and create something based on this, but I have no idea about how the current code is working. Great thanks if you could talk a little about it, or I have to try to emulate touch event in Windows.
Great question actually, as the touch sensors are not emulated by segatools at all and are handles by the DebugInput class inside the
Sinmai_Data/Managed/AssemblyCSharp.dll
file and require the filemai2.ini
set to:The biggest Problem actually is hooking the COM ports in Unity Games, thats why you have to use com0com or some other software to redirect the SerialPorts, f.e. you can find an implementation in the MaiDXR program here: https://github.com/xiaopeng12138/MaiDXR/blob/main/Assets/Scripts/IOs/Serial/SerialManager.cs.
Thanks for giving me an entry point for discovery! It is quite useful for me to working on it.