Shop OBEX P1 Docs P2 Docs Learn Events
Keyboard emulator — Parallax Forums

Keyboard emulator

boeboyboeboy Posts: 301
edited 2008-11-30 13:35 in Propeller 1
··· As the title suggests I want to make a keyboard emulator that will plug into a computer and send the scan codes.· The problem is I have know idea how to write an object to send scan codes.

Any help would be appreciated.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My computer made with the propeller, http://forums.parallax.com/showthread.php?p=630466

Comments

  • SRLMSRLM Posts: 5,045
    edited 2008-11-29 19:33
    I'm working on one right now. Basically, what you need to do is to read the PS/2 protocol and understand it, since it's more than just sending the keycodes: it's a communication protocol (the term used was "bidirectional synchronous serial") and you need to be able to create packets. The site here is really good. At the moment, I'm working on taking in data, I've got output packet formation completed. Then, I'll put it together into a mouse object first (since it's a little bit simpler), debug, then go onto keyboard. I'll post when I get something working.
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2008-11-30 13:35
    Or as an option - you could use an old application (vb) that I wrote years ago .. It runs on a PC - monitoring a serial port - when data is received it injects that into the keyboard buffer as if it was typed on a keyboard ..link to that app here ..

    http://forums.parallax.com/forums/default.aspx?f=25&m=167400

    Rgds,
    John Twomey

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Those who can, do.Those who can’t, teach.
Sign In or Register to comment.