Open yatee12 opened 6 years ago
I tried it and I'm afraid it's not possible. The central device can't detect the same peripheral device as mouse and keyboard. I tried creating a single connection for mouse and keyboard, the mouse works fine and then when I try to send a key through the sendKeys()
method, the mouse pointer is moving down. You can try sending the keys through another characteristic via gatt.
It is possible I've implemented that.
On Dec 8, 2017 10:21 AM, "Shinil M S" notifications@github.com wrote:
I tried it and I'm afraid it's not possible. The central device can't detect the same peripheral device as mouse and keyboard. I tried creating a single connection for mouse and keyboard, the mouse works fine and then when I try to send a key through the sendKeys() method, the mouse pointer is moving down. You can try sending the keys through another characteristic via gatt.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kshoji/BLE-HID-Peripheral-for-Android/issues/4#issuecomment-350171780, or mute the thread https://github.com/notifications/unsubscribe-auth/AfnFjzGpyjQCe-c65pgNmCAmomkMM5gzks5s-MBFgaJpZM4QIoOU .
@yatee12 Can you guide me to do it? I've tried playing with the getReportMap() but couldn't get it right. Or do I have to add one more HID service?
I've made mouse and keyboard work with a single connection. check it out 891cfd6687af3109362e887f6eababb5725fa733
I've made mouse and keyboard work with a single connection. check it out 891cfd6
oh i need this.thank u!!
work good
Hi,
This is not an proper issue but it could be added feature if you can use single connection to use all input method i was wondering is it possible to do it since we have to send Characteristic.
If it is possible please let me know how to do it or any reference would be helpful.
Thanks,