3rdGear
Posts: 1
Joined: Sat Mar 17, 2018 11:58 pm

Raspberry Pi as a remote keyboard

Sun Mar 18, 2018 12:16 am

I have a project in mind and I need some help.

1) ssh into my raspberry pie. [easy done]
2) have the Raspberry pie connected to a PC via a usb cable [the usb cable would need to have two male ends] [easy done]
3) push keyboard command from the raspberry to the pc via the USB cable.

So if someone could point me in the right direction on how to make the raspberry push keyboard commands to a pc via a usb cable that would be a great help.


Thank you in advance.
Pete Smith

fruitoftheloom
Posts: 21362
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Raspberry Pi as a remote keyboard

Sun Mar 18, 2018 7:52 am

3rdGear wrote:
Sun Mar 18, 2018 12:16 am
I have a project in mind and I need some help.

1) ssh into my raspberry pie. [easy done]
2) have the Raspberry pie connected to a PC via a usb cable [the usb cable would need to have two male ends] [easy done]
3) push keyboard command from the raspberry to the pc via the USB cable.

So if someone could point me in the right direction on how to make the raspberry push keyboard commands to a pc via a usb cable that would be a great help.


Thank you in advance.
Pete Smith


If you have a Raspberry Pi Zero then you can use Gadget Mode.

Please be aware USB needs a Host & Slave so connecting 2 slaves will not work.
Retired disgracefully.....
......to a more gentile life !

vladnt
Posts: 78
Joined: Sun Feb 21, 2016 10:16 am

Re: Raspberry Pi as a remote keyboard

Tue Mar 20, 2018 7:08 pm

Realized on Zero W, through VNC. Mouse + keyboard + USB flash drive.
I can send an archive to the mail, with scripts and code in python
https://github.com/vladrobot/Raspberry-GadgetFS.git

Return to “Raspbian”