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

Wrong keyboard path, keyboard not found #18

Open gabricgallo opened 3 years ago

gabricgallo commented 3 years ago

Hi! I really enjoy this project, thank you! When I tried to use it the first time, I had a problem: the mouse was working, but the keyboard wasn't (keyboard not found). Then I found the problem: the keyboard path (in kb_client.py, line 57). The original was:

/dev/input/event0

I tried with

/dev/input/by-path/platform-...-event-kbd

and it worked. I use a Raspberry Pi 4 with the last version of Raspberry OS.

quangthanh010290 commented 3 years ago

hi gabricgallo, Thank you for your feedback. I had done the auto-detect feature for the mouse client only. I'm going to add the auto-detect feature for the keyboard also.

gabricgallo commented 3 years ago

This is the first time I try Github and this is my first project. You made my life easier (I use an Ipad for school so using mouse and keyboard is very useful). I'll continue to let you know about everything that could help you with this project. 😁