| File | Date | Author | Commit |
|---|---|---|---|
| adb-bin | 2024-10-24 |
|
[c25459] use customtkinter, pairing window appended |
| android | 2024-10-26 |
|
[ab60df] mouse scroll & keyboard keys |
| input | 2024-10-26 |
|
[b3f8a8] ui bug fixed |
| server | 2024-10-26 |
|
[4d3736] replace all `exit` call with `sys.exit` call |
| ui | 2024-10-26 |
|
[b3f8a8] ui bug fixed |
| .gitignore | 2024-10-26 |
|
[476ceb] i18n update & README.md and README_zh.md update |
| LICENSE | 2024-10-24 |
|
[755bba] LICENSE appended |
| README.md | 2024-10-26 |
|
[be7825] README.md update |
| README_zh.md | 2024-10-26 |
|
[476ceb] i18n update & README.md and README_zh.md update |
| adb_controller.py | 2024-10-26 |
|
[4d3736] replace all `exit` call with `sys.exit` call |
| main.py | 2024-10-26 |
|
[ab60df] mouse scroll & keyboard keys |
| requirements.txt | 2024-10-24 |
|
[c25459] use customtkinter, pairing window appended |
| utils.py | 2024-10-26 |
|
[476ceb] i18n update & README.md and README_zh.md update |
InputShare enables you share keyboard and mouse of your computer with an Android device via ADB in wired / wireless way.
Note: Currently, this program is not completed yet, and there are some functions unavailable.
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 device.
For wired connection:
python main.py and skip stepsFor wireless connection:
python main.pyThe shortcuts following are available after connection
<Ctrl>+<Shift>+s: toggle the control between your computer and your Android device
<Ctrl>+<Shift>+q: quit the program
Clone this repo:
git clone https://github.com/BHznJNs/InputShare
cd InputShare
Install the requirements with:
pip install -r requirements.txt
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 --add-data "./adb-bin/;adb-bin/" --add-data "./server/scrcpy-server;server/" --add-data "<CustomTkinter Location>/customtkinter;customtkinter/" main.py