Skip to content

USB HID to Bluetooth HID converter app for Android.

License

Notifications You must be signed in to change notification settings

T-Dynamos/USBtoBLHid

Repository files navigation

USBtoBLHid icon

USBtoBLHid

Here is APK download link: Download APK

USB HID to Bluetooth HID converter app for Android.

Turn your wired USB keyboard and mouse into a Bluetooth keyboard and mouse by using an Android device as a bridge.

What this project does

  • Take input from USB keyboard or USB mouse.
  • Send it as Bluetooth HID (keyboard + mouse) to other device.
  • So you can type or move on other device without cable.

How it works

  • Android register as Bluetooth HID Device profile.
  • App listen for input events from connected USB devices.
  • App send HID reports over Bluetooth to the paired device.

Requirements

  • Android 9+ (API 28+).
  • Bluetooth need be enabled and device set discoverable to pair.
  • USB OTG and HUB needed for keyboard or mouse.

Test footage

Playing minecraft bedrock (PE) with this project.

HUB, mouse and keyboard are connected to another device nearby.

trimmed.mp4

Build

Use Gradle version 7.3.3.
Download link: Gradle 7.3.3 binary (unzip to get ./gradle/ folder). Example build and install command:

ANDROID_HOME=~/.buildozer/android/platform/android-sdk ./gradle/bin/gradle assembleDebug && adb install app/build/outputs/apk/debug/app-debug.apk

Note about input movement

Reference for motion and input: https://developer.android.com/develop/ui/views/touch-and-input/gestures/movement

Original author and attribution

This project is based on original work: https://github.com/LiangLuDev/HidPeripheral

App icon credit: Pointer icons created by meaicon - Flaticon

About

USB HID to Bluetooth HID converter app for Android.

Resources

License

Stars

Watchers

Forks

Packages

No packages published