Post Reply 
Keyboard emulation but with a twist
Author Message
PSPkiller
*The Sweaty Indian/Welsh Guy*

Posts: 2,393.2167
Threads: 251
Joined: 24th Jun 2007
Reputation: 0.56947
E-Pigs: 53.7911
Offline
Post: #1
Keyboard emulation but with a twist
Does anypne know of a piece of software that can take RS-232 input from a serial port and turn it into emulated keyboard presses?

Basically I've acquired a barcode scanner that connects through a serial port. It outputs as RS-232 which isn't of much use outside specially written applications and a terminal. The only computer I have that still has a native serial port is my Ubuntu server. Therefore I'd rather a program that is written for Linux as opposed to a Windows porgram. If nothing can be found then I can try a Windows application in WINE.

Any ideas?

[Insert Signature Here]
14/09/2010 08:48 AM
Find all posts by this user Quote this message in a reply
Slushba132
BustyLoli-Chan

Posts: 3,125.3993
Threads: 508
Joined: 20th Feb 2008
Reputation: -8.27558
E-Pigs: 73.1299
Offline
Post: #2
RE: Keyboard emulation but with a twist
would be very interesting to actually program something like this... and I'd love to do it if I had a bar-code scanner of any kind.

but I don't :<
and I don't even run linux :O (thinks about trying linux again)

sorry this isn't of help.... Sigh

14/09/2010 09:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
PSPkiller
*The Sweaty Indian/Welsh Guy*

Posts: 2,393.2167
Threads: 251
Joined: 24th Jun 2007
Reputation: 0.56947
E-Pigs: 53.7911
Offline
Post: #3
RE: Keyboard emulation but with a twist
I've done a bit more digging. There's a Python library already written for emulating keypresses. As for the scanner it ouputs in ASCII and not Hex meaning there's no conversion to do. In theory it should be pretty simple to write a program to do what's needed. But alas, I don't know Python. Anyone here that does?

[Insert Signature Here]
15/09/2010 04:33 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: