Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Keyboard Scancodes

8 views
Skip to first unread message

BP

unread,
Feb 25, 1997, 3:00:00 AM2/25/97
to

Greetings,
I was wondering if anyone had a complete (or almost complete) listing of
the keyboard codes returned when monitoring port[$60]. Thanks!
--
----------------------------------------------------------------------------
----
» mail to : mre...@ici.net «
» http://www.ici.net/cust_pages/mrealm/BANDP.HTM «
----------------------------------------------------------------------------
-----
' It is better to die on your feet, than to live on your knees! '


Joris de Gruyter

unread,
Mar 2, 1997, 3:00:00 AM3/2/97
to

Dit is een meerdelig bericht in MIME-indeling.

------=_NextPart_000_01BC26F4.56E42800
Content-Type: multipart/alternative; boundary="----=_NextPart_001_01BC26F4.56E42800"
Content-Transfer-Encoding: 7bit


------=_NextPart_001_01BC26F4.56E42800
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

BP <mre...@ici.net> schreef in artikel
<01bc22c5$d46323e0$1a0a...@mrealm.ici.net>...


> Greetings,
> I was wondering if anyone had a complete (or almost complete) listing
of
> the keyboard codes returned when monitoring port[$60]. Thanks!

Hi, I made once a complete listing of all scan-codes. It has been very
usefull to me!
BUT!!!!!! I have an AZERTY-keyboard ! So, here's a program, just press the
keys you want to know the code of, and it will appear on your screen. Good
luck!

SPECIAL KEYS...
NUMLOCK, SCROLLOCK, PAUSE, SHIFTLOCK, SHIFT
There is a strange combination of codes with these keys... You have first a
different combination, but then they all display 250... I don't understand
it...
NUMLOCK 250/69 SCROLLOCK 250/70 PAUSE 225/25
SHIFTLOCK 250/58 SHIFT(both) 250

------=_NextPart_001_01BC26F4.56E42800
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 =
color=3D"#000000" face=3D"Arial">BP &lt;<font =
color=3D"#0000FF"><u>mre...@ici.net</u><font color=3D"#000000">&gt; =
schreef in artikel &lt;<font =
color=3D"#0000FF"><u>01bc22c5$d46323e0$1a0a...@mrealm.ici.net</u><font =
color=3D"#000000">&gt;...<br>&gt; Greetings,<br>&gt; &nbsp;&nbsp;I was =
wondering if anyone had a complete (or almost complete) listing =
of<br>&gt; the keyboard codes returned when monitoring port[$60]. =
&nbsp;Thanks!<br><br>Hi, I made once a complete listing of all =
scan-codes. It has been very usefull to me!<br>BUT!!!!!! I have an =
AZERTY-keyboard ! So, here's a program, just press the keys you want to =
know the code of, and it will appear on your screen. Good =
luck!<br><br>SPECIAL KEYS...<br>NUMLOCK, SCROLLOCK, PAUSE, SHIFTLOCK, =
SHIFT<br>There is a strange combination of codes with these keys... You =
have first a different combination, but then they all display 250... I =
don't understand =
it...<br>NUMLOCK&#009;250/69&#009;SCROLLOCK&#009;250/70&#009;PAUSE&#009;2=
25/25<br>SHIFTLOCK&#009;250/58&#009;SHIFT(both)&#009;250<br><br></p>
</font></font></font></font></font></body></html>
------=_NextPart_001_01BC26F4.56E42800--


------=_NextPart_000_01BC26F4.56E42800
Content-Type: application/octet-stream; name="Port.pas"
Content-Transfer-Encoding: 7bit
Content-Description: Port.pas (PAS -bestand)
Content-Disposition: attachment; filename="Port.pas"

Uses Crt;

Var t : integer;

Begin
Repeat
t:=Port[$60];
Writeln(t);
If keypressed then readkey; {Prevent too much keys in buffer}
Until t=1; {1 = <ESC>}
End.
------=_NextPart_000_01BC26F4.56E42800--


BP

unread,
Mar 2, 1997, 3:00:00 AM3/2/97
to

Joris de Gruyter <jor...@glo.be> wrote in article
<01bc26eb$e19d8c60$69b530ce@joris-2>...


BP <mre...@ici.net> schreef in artikel
<01bc22c5$d46323e0$1a0a...@mrealm.ici.net>...
> Greetings,
> I was wondering if anyone had a complete (or almost complete) listing
of
> the keyboard codes returned when monitoring port[$60]. Thanks!

Hi, I made once a complete listing of all scan-codes. It has been very
usefull to me!
BUT!!!!!! I have an AZERTY-keyboard ! So, here's a program, just press the
keys you want to know the code of, and it will appear on your screen. Good
luck!

SPECIAL KEYS...
NUMLOCK, SCROLLOCK, PAUSE, SHIFTLOCK, SHIFT
There is a strange combination of codes with these keys... You have first a
different combination, but then they all display 250... I don't understand
it...
NUMLOCK 250/69 SCROLLOCK 250/70 PAUSE 225/25
SHIFTLOCK 250/58 SHIFT(both) 250

----------
Thanks for the info. The easiest solutions go unnoticed sometimes, I can't
believe I missed thinking of doing that ;}

Ld

unread,
Mar 23, 1997, 3:00:00 AM3/23/97
to

"BP" <mre...@ici.net> wrote:

>Greetings,
> I was wondering if anyone had a complete (or almost complete) listing of
>the keyboard codes returned when monitoring port[$60]. Thanks!

>--

pascal online help has a list of all the scancodes...look around you will find
it.


0 new messages