[comp.sys.amiga] RAW: Keycodes 500/2000 new keys?

jyouells@pnet02.cts.com (John Youells) (01/18/88)

  I need to know the RAW: keycodes for the extra keys on the 500 and 2000
keyboards. Can anyone help?

Thanks

John Youells

UUCP: {hplabs!hp-sdd!crash, cadovax}!gryphon!pnet02!jyouells
INET: jyouells@pnet02.cts.com

eric@cbmvax.UUCP (Eric Cotton) (01/18/88)

In article <2178@gryphon.CTS.COM> jyouells@pnet02.cts.com (John Youells) writes:

>I need to know the RAW: keycodes for the extra keys on the 500 and 2000
>keyboards. Can anyone help?

The new keycodes (in hexadecimal) are as follows:

	5A      Numeric Pad (   (A2000)
	5B      Numeric Pad )   (A2000)
	5C      Numeric Pad /   (A2000)
	5D      Numeric Pad *   (A2000)
	5E      Numeric Pad +   (A2000)

The complete keyboard (including keys 30 and 2B found on many European
keyboards):

  45  50  51  52  53  54    55  56  57  58  59
  00  01  02  03  04  05  06  07  08  09  0A  0B  0C  0D  41     5A  5B  5C  5D
  42    10  11  12  13  14  15  16  17  18  19  1A  1B    44     3D  3E  3F  4A
  63  62  20  21  22  23  24  25  26  27  28  29  2A  2B         2D  2E  2F  5E
  60    30  31  32  33  34  35  36  37  38  39  3A        61     1D  1E  1F  43
  64  66                    40                        67  65     0F      3C

Whoops!  I couldn't fit the keys between the main set and the keypad (the 
cursor keys, Del, and Help):

			46      5F

			    4C
			4F  4D  4E

Hope this helps (and isn't too confusing).

-- 
	Eric Cotton
	Commodore-Amiga

  *======================================================================*
 *=====     UUCP: {rutgers|ihnp4|allegra}!cbmvax!eric                =====*
*=====      FONE: (215) 431-9100                                      =====*
*=====      MAIL: 1200 Wilson Drive / West Chester, PA 19380          =====*
 *=====     PAUL: "I don't find this stuff amusing anymore."         =====*
  *======================================================================*

bryce@hoser.berkeley.edu (Bryce Nesbitt) (01/19/88)

In article <2178@gryphon.CTS.COM> jyouells@pnet02.cts.com (John Youells) writes:
>
>  I need to know the RAW: keycodes for the extra keys on the 500 and 2000
>keyboards. Can anyone help?

This belongs in comp.sys.amiga.tech :-)

I'll tell you the codes, but you need to promise never to write a program
that is incompatible with whatever keymap the user may have set.  OK?

Still reading?  You must have promised.

It will still work after "setmap usa2"?

Guru's honor?

Ok:

You can look at my "key.c" example and the sample keymap source code.
These have been posted to comp.sources.amiga.  I'd give a Fish disk
reference, but it seems that Fred Fish is not picking up that type
of stuff any more.

The actual codes are:

$5a	- (
$5b	- )
$5c	- /
$5d	- *
$5e	- +

Now, remember, if you make a keymap-incompatible program, may your
ram have bit-rot, your Guru's meditate all day, your recoverable ram
disk not, your mouse get eaten by the family cat...

|\ /|  . Ack! (NAK, SOH, EOT)
{o O} . bryce@hoser.berkeley.EDU -or- ucbvax!hoser!bryce (or try "cogsci")
 (")
  U	"Your theory is crazy... but not crazy enought to be true." -Niels Bohr

page@swan.ulowell.edu (Bob Page) (01/20/88)

bryce@hoser.berkeley.edu (Bryce Nesbitt) wrote:
>Summary: Fred Fish eaten by cat?  Pictures at 11.
...
>I'd give a Fish disk reference, but it seems that Fred Fish is not
>picking up that type of stuff any more.

Are you saying that he's not picking up technical items now?

..Bob
-- 
Bob Page, U of Lowell CS Dept.  page@swan.ulowell.edu  ulowell!page
"I don't know such stuff.  I just do eyes."  -- from 'Blade Runner'