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

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

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