quangthanh010290 / keyboard_mouse_emulate_on_raspberry

Bluetooth Keyboard Mouse Emulator on Raspberry Pi
https://thanhlev.github.io/
MIT License
289 stars 98 forks source link

Windows 10 compatibility #32

Open emanuelelarosa opened 2 years ago

emanuelelarosa commented 2 years ago

Hi,

I tried your project to make a raspberry as a custom bluetooth peripheral with a windows 10 computer. When I want to pair the device everything goes right, then window 10 store the connection but doesn't offer a way to connect the raspberry a second time. So, if I want to use again the raspberry as keyboard and mouse I have to unpair the devices.

To resolve this issue I've modified the code to make the raspberry a client of Windows using the connect function. Alas WIndows 10 accept a short connection and then disconnect. Have you any clue about how to solve this problem?

With Android phones and linux system I don't have any problem.

Thanks Emanuele

quangthanh010290 commented 2 years ago

could you please share the change you make, in your case we may need to implement a pairing accept feature

emanuelelarosa commented 2 years ago

Yes,

I've changed your project quite a lot, since I'm working on a system that should help disabled people. I've added a graphic interface and other features. Alas, while everything is fine with android systems and linux systems, I have some troubles with windows . btk_server.txt

Regards Emanuele