Date: Tue, 19 Sep 2000 08:59:58 +0400 From: Igor Roboul <igor@raduga.dyndns.org> To: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: Scancodes Message-ID: <20000919085958.D29692@linux.rainbow> In-Reply-To: <030c01c021ba$06adeff0$8d0336d5@gottt>; from list@rachinsky.de on Mon, Sep 18, 2000 at 11:46:31PM %2B0200 References: <14788.64324.182859.281352@guru.mired.org> <01b201c02191$33db2bb0$8d0336d5@gottt> <20000918175616.C567@parish> <030c01c021ba$06adeff0$8d0336d5@gottt>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 18, 2000 at 11:46:31PM +0200, Nicolas wrote: > Is there any tool to show me which scancode is produced by which key? If you have access to MS-DOS then this simple program will give you scancodes. main() { char k; while( (k=inportb(0x60))!=1 ) { printf("%d\n",k); } } You need DOS C compiler (and maybe you need replace inportb with inport) After you'll press ESC (scan code 1) program will terminate. -- Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000919085958.D29692>