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

SOLUTION: Does not work on RPI 4 #41

Open Danc2050 opened 11 months ago

Danc2050 commented 11 months ago

I was tweaking another implementation when I found this one. At first I thought my changes did nothing, but I had to restart as I believe my old tweaking had some cross over into this great project.

I changed this line in bluetooth.service as the path has chnaged for bluetoothd:

-ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=input
+ExecStart=/usr/libexec/bluetooth/bluetoothd --noplugin=input

I also changed this in dbus/org.thanhle.btkbservice.conf, which I do not know if this made any difference and I did not seek to understand it (just looking at another implementation and trying it out first...probably bad practice):

-                <deny own="org.thanhle.btkbservice"/>
+                <allow own="org.thanhle.btkbservice"/>