Is it possible to capture touch events in the background on a device with the i-th jailbreak?

I have an installation project that uses a jailbroken iPad. I would like the background process to record all touch events regardless of whether the application is running in the foreground and send them through OSC.

Please note that this is using a jailbroken iPad with root access, and users will be warned not to enter any sensitive data. But I'm not an iOS developer, so I'm not sure if this is possible. I would appreciate any suggestions or suggestions.

[edit] Since someone asked my motive for this question, I will try to explain a little: to be specific, I would like to create a mechanical system with Arduino that emulates user touch on the iPad, but I do not want to limit them to using an application that has nothing does not, except for recording touch events.

+2
source share
1 answer

There are three options:

  • Use the IOHIDFamily subsystem to capture all touch events. This will do most of the processing for you, the only thing you will need to do is get events using the HID client, get their types and, if they relate to events, get your position, radius and other things that you need.
  • Use the MultitouchSupport structure. Thus, you will have to manually process the digitizer data frames, which is difficult.
  • Use the MobileSubstrate hook to connect an existing HID client inside SpringBoard.
+5
source

All Articles