Log in

View Full Version : keyboard simulation


claumarius
May 1st, 2001, 18:24
I am looking for an interface between 2 computers, the first for generate sequences of characters (simulates a keyboard) those are input to the second by keyboard connector and acting like a real keyboard. So, i need the ideea for the interface and the software. Thnx you in advance !!!

+SplAj
May 2nd, 2001, 06:01
pheeeeewww...... i'm glad this question is for 'newbies'

mo k
May 2nd, 2001, 13:04
Do your KBcontroller research,

for software, look at "expect", it is a TCL
extension, and is perfect for simulating an
"operator".

If you know C/TCL you can modify expect to
do just about what you want.

for an example; my previous employer had
a custom database running on an ultrix box.
the database had a primitive query interface.
We wrote some custom "expect" code to supply,
the query dispatcher with the appropriate commands,
writen a modern GUI to interact with the
"expect" layer, and piped them to the DBhost
over a socket.

If this is what you want, then "expect" is the
way to go.

Scally6
May 3rd, 2001, 18:03
Depends what you're tryin to do. If you want to effectively use a remote keyboard, you need to photo-couple to the keyboard using opto-isolators or cmos. It's easy with opto-isolators soldered across the keys on the pcb and the capacitance problems then disappear allowing a longish link between the real keyboard & dummy.
You can then use software like John Hnidec's CCM to generate any combination of keystrokes from a single keypress. Try searching flight sim sites for 'Control Command Module' if this is what you want to do.
As this is a little OT, contact me off list if you want any more on this.
Scally