树莓派/香橙派等向电脑/平板模拟蓝牙键盘鼠标

schaepher 3ca01f0b7d controll script add stop service option 4 tahun lalu
dbus cf60559d16 added mouse support 4 tahun lalu
keyboard 8d0b944e2f send_keys exception 4 tahun lalu
mouse 300a8d32e3 extract dbus objec name and path 4 tahun lalu
server aae40e8a22 move device creating to btk_server 4 tahun lalu
.gitignore f2363d74e6 git ignore vscode 4 tahun lalu
.travis.yml 69ad258060 skip trvis test for package installation 4 tahun lalu
LICENSE 18252e0e71 Initial commit 7 tahun lalu
README.md f8b465a383 combine scripts content to controll script 4 tahun lalu
bluetooth.service def0c7aab2 update bootup process that support auto connect 4 tahun lalu
controll 3ca01f0b7d controll script add stop service option 4 tahun lalu

README.md

Build Status

Make things work first

Step 1: Setup

sudo ./controll install

Step 2: Run the Server

sudo ./controll boot

Step 3.1: Run Keyboard Client (using physical keyboard)

  • Need a physical keyboard connected to raspberry PI board

    sudo ./controll start-keyboard
    

Step 3.2: Run Keyboard Client (no need physical keyboard, send string through dbus)

  • Dont need a physical keyboard connected to raspberry PI board

    ./keyboard/send_string.py "hello client, I'm a keyboard"
    

Step 3.3: Run mouse client (using physical mouse)

  • Need a physical mouse connected to raspberry PI board

    sudo ./controll start-mouse
    

Step 3.4: Run Mouse client (no need physical mouse, string mouse data through dbus)

  • Dont need a physical mouse connected to raspberry PI board

    ./mouse/mouse_emulate.py 0 10 0 0
    

To understand what I'm doing in the background

Make Raspberry Pi3 as an emulator bluetooth keyboard

Keyboard setup demo (old version)

ScreenShot

Mouse setup demo (ongoing)

Emulate Bluetooth mouse with Raspberry Pi ScreenShot