hi, I'm completely new to arduino and setting up my first project! reading http://hunt.net.nz/users/darran/weblog/c6f35/Arduino_USB_Keyboard_Passthrough.html it appears that adding another usb host to the arduino can allow it to act as a host to a usb keyboard and forward keypresses via its usb hid.
i'd like to modify an existing library that runs on an arduino uno and forwards stuff corresponding to keypresses to some i2c thing from a computer, which is connected via usb to the arduino and grabs some java SerialPort object corresponding to /dev/ttyACM0 and communicates with the arduino via said SerialPort's InputStream/OutputStream objects. i want to maintain this pc-arduino interface but have the uno pretend to be a usb keyboard (with its usb hic right?) and send keypresses to another computer (rather than sending to i2c) for testing purposes.
questions: 1) the uno built-in usb dude is functioning as a usb host in this situation, right? 2) if i add a usb host shield to an uno and free up its main port to function as the fake keyboard, could the communication described above still occur via the add-on host interface? 3) if so, can i do this with just an arduino uno, a usb host shield, and some a-a and a-b usb cables?
thanks for reading!