ESP32-BLE-Mouse icon indicating copy to clipboard operation
ESP32-BLE-Mouse copied to clipboard

Does it control iphone?

Open ShiverZm opened this issue 4 years ago • 23 comments

as title is , it means use arduino control iphone?

ShiverZm avatar Aug 31 '20 12:08 ShiverZm

I don't have any Apple devices, so I can't really support them. It seems to work for some iPhones if you read through the issues. For example #3

T-vK avatar Aug 31 '20 12:08 T-vK

I have an iPhone XS and an iPad Air both with IOS 14 and it does work.

consciouspnm avatar Sep 25 '20 08:09 consciouspnm

cooool,does it need jailbroken?

ShiverZm avatar Sep 25 '20 09:09 ShiverZm

@consciouspnm did you do anything special to make it work ? It doesn't work on my iPAD 10.5" iOS 14 (doesn't even appear in the the bluetooth devices list) nor on my iPhone SE iOS13.4 (appears and connects in Bluetooth and AssistiveTouch devices BUT the pointer doesn't move) I'm using an ESP-32 DevkitD v4...

DareDareHub avatar Sep 25 '20 10:09 DareDareHub

Did you remove the REPORT_ID line mentioned in the other thread? Windows doesn't seem to mind it but IOS doesn't like it. Also I added mine straight from the Bluetooth menu but I can see it in the Assistive Touch section.

Edit @DareDareHub Assistive Touch is not the same as the mouse pointer and does not need to be turned on. The mouse pointer is a small (3-4mm) grey dot which appears when you do a .Move and goes away a few seconds after you stop.

consciouspnm avatar Sep 25 '20 11:09 consciouspnm

@consciouspnm Thanks, yes I've removed the REPORT_ID... and thanks, Indeed Assistive touch doesn't need to be turned on ! (I'm connecting a BLE mouth successfully) ~~but still no luck with the ESP-32 and iOS 14, would you please share your descriptor code so I can test and feedback on the results. maybe create a table of compatible hardware.~~

Edit: sorry after deleting cache (.o) it worked !

DareDareHub avatar Sep 28 '20 06:09 DareDareHub

@DareDareHub Yes, if you change anything it's best to forget the device and re-add it.

consciouspnm avatar Sep 28 '20 09:09 consciouspnm

All that's left to find now is absolute mouse ! :)

DareDareHub avatar Sep 29 '20 04:09 DareDareHub

With the latest release there is no need to remove the REPORT_ID anymore. Also @DareDareHub Take a look at #19 and #5. There are some examples. They aren't perfect, but maybe they do the job for you.

T-vK avatar Oct 21 '20 20:10 T-vK

Hey everyone, I am trying to make a list of apple devices that work or don't work with this library. If you read this and you have an Apple device that you have tested, I would very much appreciate it if you could add a comment in #20. (Unless of course it is already listed in there.)

T-vK avatar Oct 21 '20 20:10 T-vK

maybe iphone 8 plus did not work ,i use your report descriptor.

ShiverZm avatar Nov 04 '20 16:11 ShiverZm

@ShiverZm What version of IOS is it?

consciouspnm avatar Nov 06 '20 07:11 consciouspnm

IOS 14.1 

ShiverZm avatar Nov 06 '20 07:11 ShiverZm

but i used relative mouse report descriptor ,that worked, but it seems not convenient,some method can help?

ShiverZm avatar Nov 06 '20 07:11 ShiverZm

somebody knew, how move mouse without press left button?

ShiverZm avatar Nov 10 '20 06:11 ShiverZm

@consciouspnm what do you think?bro

ShiverZm avatar Nov 12 '20 02:11 ShiverZm

@ShiverZm You've got something wrong in the code if you have to press the button. Also, the iPhone 8 should work as it supports IOS14 and Bluetooth LE. Have you tried your code and hardware on anything else? The move code is:

BLEMouse.move(2, 2, 0, 0);
delay(10);

a click is: BLEMouse.click(1);

consciouspnm avatar Nov 12 '20 19:11 consciouspnm

i do so,but when i move for a constant time , it clicked not move ,it just came up for my iphone 8 plus ,my air2 is ok

ShiverZm avatar Nov 20 '20 06:11 ShiverZm

(2,2,0,0) it means reportId= 2, ButtonType = 2 (right Button), moveX= 0,moveY =0 ?right?

ShiverZm avatar Nov 20 '20 06:11 ShiverZm

@consciouspnm

ShiverZm avatar Nov 20 '20 06:11 ShiverZm

And did you know the Iphone Menu button how to send? i use IPAD send ButtonType = 5 is Menu Function,but it did not work for iphone

ShiverZm avatar Nov 20 '20 07:11 ShiverZm

@consciouspnm my fault, ButtonType = 5 is Home Button

ShiverZm avatar Nov 20 '20 07:11 ShiverZm

@consciouspnm would you mind giving me your email?maybe it will be convinent to talk

ShiverZm avatar Nov 23 '20 05:11 ShiverZm