quicktime_video_hack icon indicating copy to clipboard operation
quicktime_video_hack copied to clipboard

Possible to add ios assistive touch hack to enable touch

Open krishtoautomate opened this issue 4 years ago • 7 comments

Ios device supports assistive touch using bluetooth or usb. If it can be hacked, touch functionality also can be added without need of webdriveragent. Assistive touch is faster compared to wda

krishtoautomate avatar May 06 '21 04:05 krishtoautomate

An easy way would be to install and quickly run a XCUITest that enables it. You can do it with Linux also using my other repo go-ios.

danielpaulus avatar Jun 09 '21 07:06 danielpaulus

I am already using webdriveragent to perform touches but i saw assistive touch functionality with mouse connected and it is more faster and smoother compared to webdriveragent. So possible to hack the functionality?

krishtoautomate avatar Jun 09 '21 11:06 krishtoautomate

Ios device supports assistive touch using bluetooth or usb. If it can be hacked, touch functionality also can be added without need of webdriveragent. Assistive touch is faster compared to wda

connect a mouse to Iphone with usb,the iPhone is the usb host; while, quicktime_hack works when the iPhone connected a macOS, at this time, the iPhone is the usb device. so quicktime_hack cann't work with a mouse using usb,but using bluetooth is okay。

prife avatar Jun 27 '21 08:06 prife

I have some private code that I used to emulate a bluetooth keyboard on Linux. It is relatively easy to do, just depends on how many devices you want to set up. I guess for your own device farm with 100s of devices, bluetooth wouldn't be a great option.

danielpaulus avatar Jun 28 '21 13:06 danielpaulus

@prife i understand connect a mouse and usb in parallel is not possible. Possible to hack - replace communicating with mouse with usb of macbook? kind of cheating device that mouse is connected and sending mouse commands to usb similar to mouse.

krishtoautomate avatar Jun 28 '21 14:06 krishtoautomate

@danielpaulus possible to share private code to emulate bluetooth mouse and keyboard commands?

krishtoautomate avatar Jun 28 '21 14:06 krishtoautomate

Let me ask my company :-)

danielpaulus avatar Jun 28 '21 15:06 danielpaulus