I’m creating a Bluetooth pointer machine to regulate an iPad utilizing HID. Most performance works nicely, together with mouse motion and button presses. Nonetheless, I’m encountering an odd difficulty with button releases.
For the HID descriptor for the iPad I outlined the next:
0501
0902
A101
8503
0509 // Mouse Buttons
1901
2902 // 2 buttons
1500
2501
9502 // Report depend for 2 buttons
7501
8102
9501
7506 // Padding
8103
0501
0901
A100
1500 // Min worth
26FF7F // Max worth (0...32767)
0930
0931
7510
9502
8102 // Absolute coordinate pointer
C0
Do you see a problem with the descriptor?
Instance packages despatched over bluetooth:
0xA103 01 4F3A FB50 // 01 is a left button click on, works nicely, an icon is clicked on iPad.
0xA103 00 4F3A FB50 // 00 must be a left button launch, bundle is distributed and obtained, however button is NOT launched, however held on the iPad! The mouse coordinates are up to date nicely, nevertheless, I anticipate the button to be launched when sending 0xA103 00 4F3A FB50, however it’s held down as an alternative.