InputShare enables you to share the keyboard and mouse of your computer with an Android device via ADB in wired / wireless way.
Pairing | Connecting | System Tray |
---|---|---|
Go to the [release page][https://github.com/BHznJNs/InputShare/releases] and download the latest compressed package, uncompress it and the executable is in it.
You firstly need to enable the Developer Settings of your Android device.
For wired connection:
For wireless connection:
The shortcuts following are available after connection:
Shortcut | Description |
---|---|
<Ctrl>+<Alt>+s |
toggle the control between your computer and your Android device |
<Ctrl>+<Alt>+q |
quit the program |
F1 |
Multi-task switching |
F2 |
Return to Home |
F3 |
Back |
F4 |
Previous Media |
F5 |
Play / Pause Media |
F6 |
Next Media |
F7 |
Volume Down |
F8 |
Volume Up |
F9 |
Brightness Down |
F10 |
Brightness Up |
F11 |
Screen Sleep |
F12 |
Wake Up |
The shortcuts following are available after connection and not sharing:
Shortcut | Description |
---|---|
<Alt>+UP |
Scroll Up |
<Alt>+DOWN |
Scroll Down |
<Alt>+[ |
Previous Media |
<Alt>+] |
Next Media |
<Alt>+\ |
Play / Pause Media |
You can refer to this video to add the Wireless Debugging to Quick Setting Shortcut: How To Add / Remove Wireless Debugging Quick Setting Shortcut
No, InputShare only shares the keyboard and mouse, it will not mirror the screen of your Android device to your computer.
No, there is a built-in ADB packaged, which will be called automatically.
Clone this repo:
git clone https://github.com/BHznJNs/InputShare
cd InputShare
Install the requirements with:
pip install -r requirements.txt
Run the entry script:
python main.py
If you want to build this project by yourself, go on:
Install the pyinstaller:
pip install pyinstaller
Get the customtkinter
library path
pip show customtkinter
A Location will be shown, for example: c:\users\<user_name>\appdata\local\programs\python\python310\lib\site-packages
Use this command to build (replace <CustomTkinter Location>
with customtkinter
library path got above):
pyinstaller --windowed --icon=ui/icon.ico --add-data "./ui/icon.ico;ui/" --add-data "./ui/icon.png;ui/" --add-data "./adb-bin/;adb-bin/" --add-data "./server/scrcpy-server;server/" --add-data "<CustomTkinter Location>/customtkinter;customtkinter/" main.py