one, external functions: Similar to the analog button, this type of plug is mainly used for image recognition, using LUAC script to identify the image. And then through the private API to achieve touch-screen operation function. second, external features Plug-in installation, there will be the following three main procedures, Touchsprite,tsevent,tsdeamon.
Among them, Touchsprite is GUI interface program, its main function is to provide interactive interface by user choose to load script. (script saved in/user/media/touchsprite/lua) third, plug implementation The other two programs are the core procedures for the realization of analog touch control. Where Tsdeamon is the daemon, monitoring the volume of the phone's "-" key event (used to eject the window that runs the script), and is responsible for parsing the Lua script. and pass the touch events in the script through shared memory to tsevent processing And Tsevent is primarily responsible for handling analog touch information, which leverages Apple's series of proprietary APIs:
Realizing the function of analog touch control |