PS/2 Client object?
__red__
Posts: 470
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!)
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
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.
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.
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.