Shop OBEX P1 Docs P2 Docs Learn Events
PS/2 Client object? — Parallax Forums

PS/2 Client object?

__red____red__ Posts: 470
edited 2012-08-20 15:51 in General Discussion
I see a few ps/2 server objects, I don't see any ps/2 client objects.

In order words, I see objects which read input from a keyboard. What I'm looking for is an object or code which appears as a ps/2 keyboard and allows me to send scancodes to my host.

Anyone know of any code?

Thanks,



Red

(Actually, even better - USB keyboard HID!)

Comments

  • Invent-O-DocInvent-O-Doc Posts: 768
    edited 2012-08-18 05:39
    Hi Red,

    I've asked for this too and the answer is that people are really reluctant to post such and object because it can be used as a key-logger and for nefarious purposes.

    One solution I have found is here https://www.sparkfun.com/products/11098?

    It is an Arduino pro micro and has built in USB Human Interface Device functionality. It allows for emulation of a USB keyboard or joystick for $30.

    Granted, I usually program on the propeller or SX, but it is so much easier to do it this way. Hope this helps.
  • Invent-O-DocInvent-O-Doc Posts: 768
    edited 2012-08-18 05:40
    Also,

    The PS/2 interface protocol isn't way too super complicated. You can easily find the specs online and if you have the ability, write an object.
  • __red____red__ Posts: 470
    edited 2012-08-19 10:01
    I've asked for this too and the answer is that people are really reluctant to post such and object because it can be used as a key-logger and for nefarious purposes.

    The "Nefarious Purposes" market has already been taken by the Teensy and Teensy++ coupled with the Social Engineering Toolkit.

    You plug the device in, it goes <Windows Key><arrows to run><notepad.exe><<dump hex codes here>><ctrl-s><windows key><arrows to run><name of saved executable>.

    In other words, you simply plug this device in and it will "type" the exploit into a notepad.exe window and execute it. It's pretty sweet.

    Me? Less nefarious. I'm a part of a custom keyboard design project here: http://geekhack.org/index.php?topic=26751.0 - the last version was based around the teensy. Currently we're looking at charlieplexing with an AS1130 to drive the LEDs.

    If we use the prop instead of the teensy++, we can use a prop core to charlieplex saving again more money and simplifyling the design.
  • Invent-O-DocInvent-O-Doc Posts: 768
    edited 2012-08-20 15:51
    Cool Beans!
Sign In or Register to comment.