Send Keystrokes Over USB to External Computer

Is it possible to write a simple application in Ruby that can send
keystrokes to an external computer via USB (or any other physical
connection) and have the external computer recognize the input as if it
were from a keyboard?

Kt Ludlow wrote:

Is it possible to write a simple application in Ruby that can send
keystrokes to an external computer via USB (or any other physical
connection) and have the external computer recognize the input as if it
were from a keyboard?

I’m not sure about USB. If you have some sort of network connection
between the two you (and are on windows), then au (+ drb) might help.

http://old.nabble.com/-ANN--au3-0.1.1-released-td26942428.html

Of course, if you’re on windows with a network connection, you could
just use synergy, anyway :slight_smile:

GL.
-rp

I’m not sure about USB. If you have some sort of network connection
between the two you (and are on windows), then au (+ drb) might help.

http://old.nabble.com/-ANN--au3-0.1.1-released-td26942428.html

there’s also some snippets on moving the mouse on the ffi example page:

http://wiki.github.com/ffi/ffi/windows-examples

GL.
-rp

<?xml version="1.0" encoding="utf-8" ?>
  • 14196913 e3ccc4322224d9840ad19204bcdfc999 carasen12 http://gravatar.com/carasen12 carasen12 http://0.gravatar.com/avatar/e3ccc4322224d9840ad19204bcdfc999
  • http://0.gravatar.com/avatar/e3ccc4322224d9840ad19204bcdfc999 thumbnail
  • http://1.gravatar.com/userimage/14196913/95d3af28a1b340c9f8c822b76d7761e1
  • carlos asensio carasen12
  • blogger.com 09940914286136500856 blogger.com http://www.blogger.com/profile/09940914286136500856 true blogger
  • facebook.com carasen12 carasen12 http://www.facebook.com/carasen12 true facebook
  • flickr.com 47552737@N05 47552737@N05 http://www.flickr.com/people/47552737@N05/ true flickr
  • linkedin.com linkedin.com linkedin.com http://www.linkedin.com/pub/carlos-asensio/12/720/690 true linkedin
  • myspace.com carasen carasen http://www.myspace.com/carasen true myspace
  • twitter.com carasen12 @carasen12 http://twitter.com/carasen12 true twitter
  • pulse.yahoo.com _X7QX3EQGH3IYOSAMCG7ZMD5F74 pulse.yahoo.com http://pulse.yahoo.com/_X7QX3EQGH3IYOSAMCG7ZMD5F74 true yahoo
  • youtube.com 12carasen 12carasen http://www.youtube.com/user/12carasen true youtube