Mail Archives: djgpp/1998/08/20/08:02:21
From: | mjara AT magus DOT cs DOT utah DOT edu (Michael Jara)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | non-standard "scancodes"
|
Date: | 20 Aug 1998 01:14:26 GMT
|
Organization: | University of Utah Computer Science Department
|
Lines: | 19
|
Message-ID: | <6rft9i$jjg@magus.cs.utah.edu>
|
NNTP-Posting-Host: | lab1-12.eng.utah.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I need to read a special code sent by a barcode scanner sent via the keyboard
port (it's plugged in through the keyboard). When the barcode scanner scans,
the actual numbers are transmitted as ascii codes. However, before the ascii
codes are sent, a special "scancode" is sent to differentiate it from regular
keyboard input. I've tried various keyboard handlers, and none of them can
read this (I assume because it doesn't correspond to an actual key). Is there
any fairly simple way that I can take care of this?
At the moment, I'm using Allegro's keyboard handler. I know nothing about
writing interrupts and other low level hardware stuff, or I'd probably just
write my own.
Thanks,
--
_____ ___ ___ ___ ___ ______ __
/ | / || || |/ / | __| mjara AT eng DOT utah DOT edu \ \
/ |/ || || / | _] http://www.cs.utah.edu/~mjara \ \
/ /| || || \ | |____________________________________\ \
/___/ |____/ __||___||___|\___\|___________________________________________\
- Raw text -