Need a serial keyboard wedge
Oldbitcollector (Jeff)
Posts: 8,091
Part of a project I'm working on requires that the Propeller has control of the PC.
I'm figuring that the easiest way would be to talk control with the programming plug.
Does anyone know of a free (not trial) serial keyboard wedge for XP which will allow me
to send control characters as well as ASCII?
Thanks in advance,
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
I'm figuring that the easiest way would be to talk control with the programming plug.
Does anyone know of a free (not trial) serial keyboard wedge for XP which will allow me
to send control characters as well as ASCII?
Thanks in advance,
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
John Abshier
http://forums.parallax.com/showthread.php?p=627711
Regards,
John
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'
'Those who can, do.Those who can’t, teach.'
'Convince a man against his will, he's of the same opinion still.'
·
That does look like something toward what I'm looking for...
@Peter,
Hmm.. That would remove the requirement of my having to load something special on the PC
to accept keystrokes. If you do get some code working toward that end, please let me know.
@John,
Close, but no.. I'd had already checked that one out, no Freeware as specified, only a trial.
Thanks the for the attempt. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
<OLD DOS GUY ON>
If you can live in MS-DOS, you might be able to make use of the CTTY command
to redirect the standard Input/Output to a COM port instead of the keyboard consol.
You also need to make use of the MODE command to 'set' the COM port parameters.
If you need to 'play with Windows' then, the CTTY/MODE solution could create a
file sort of in the background, that a Windows program could periodically monitor
and act on accordingly.·
</OLD DOS GUY OFF>
..Just a thought.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I am 3/4 through a .Net rewrite - I dedided not to 'upgrade' exixting using vs.net as this creates numerous interop DLL's - I am using native .net serialport routines ..I will add other key combos also and perhaps mouse button VK's - would you prefer .net 2.0 or 3.5 ? I will drop the source code here if you like so you can take it to wherever you need to go ..
Regards,
John
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'
'Those who can, do.Those who can’t, teach.'
'Convince a man against his will, he's of the same opinion still.'
·
I'm partial to net2.0 if I have to use .net stuff, but beggars can't be choosers. [noparse]:)[/noparse]
Fair note to both Peter and John, this is going to be used as part of an interface for my
Propeller 2009 Contest entry. Naturally, I'll credit the source of my solution.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
I have emailed you the .NET 2.0 source code ... you can take it to where you need it to be ..
I have dropped the compiled application here as an attachment. The associated ini file has to be in the application path ..
the Form_visibility entry in the ini has to be a boolean i.e (True or False) when false the application just drops an Icon to the
system tray - if this is clicked makes the form visible again.
EDIT: Your mail server blocked the attachment .. I have now sent you a link via email.
Regards,
John Twomey
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'
'Those who can, do.Those who can’t, teach.'
'Convince a man against his will, he's of the same opinion still.'
Post Edited (QuattroRS4) : 10/6/2009 3:30:57 PM GMT