[Bglug] Using Raspberry Pi to emulate USB keyboard?

Andrew Howlett andrew at howlett.net
Sat Dec 5 20:12:50 EST 2015


looks like what you want to do has been done with arduino

http://blog.petrockblock.com/2012/05/19/usb-keyboard-with-arduino-and-v-usb-library-an-example/ <http://blog.petrockblock.com/2012/05/19/usb-keyboard-with-arduino-and-v-usb-library-an-example/>

raspberry pi is harder. you probably already found this link on stackexchange, but just in case:

http://raspberrypi.stackexchange.com/questions/32197/can-the-pi-emulate-an-hid-device-with-via-usb <http://raspberrypi.stackexchange.com/questions/32197/can-the-pi-emulate-an-hid-device-with-via-usb>

but that doesn’t provide any actual code, just a good description of the problem on pi

i suppose you could pass instructions from the pi to an arduino and use the arduino to emulate the keyboard. Mission completed.

later,
andrew.

> On 3 Dec 2015, at 2:31 PM, William Park <opengeometry at yahoo.ca> wrote:
> 
> Following on the recent discussion of $5 Raspberry Pi...
> 
> Do you guys know if it's possible to use Raspberry Pi to emulate USB keyboard?  As far as PC is concerned, it's receiving keypresses from some keyboard, which happens to be RPi faking as keyboard.
> 
> If so, where do I start my reading?
> -- 
> William
>   
> _______________________________________________
> Group mailing list
> Group at bglug.ca
> http://bglug.ca/mailman/listinfo/group_bglug.ca

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://bglug.ca/pipermail/group_bglug.ca/attachments/20151205/0120bac6/attachment-0002.html>


More information about the Group mailing list