home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7273 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: haapa.oulu.fi!not-for-mail
  2. From: tikarjal@haapa.oulu.fi (Timo Karjalainen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Error in RKM Libs 3rd Edition?
  5. Date: 13 Apr 1996 15:13:12 GMT
  6. Organization: University of Oulu
  7. Message-ID: <4koga8$r26@ousrvr3.oulu.fi>
  8. NNTP-Posting-Host: haapa.oulu.fi
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. Summary: ESC rawkey code wrong in RKM Libs, 3rd edition
  13. Keywords: RAWKEY, RKM, libs
  14. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  15.  
  16. On page 819 of RKM: Libraries, 3rd Edition, it is stated that the
  17. rawkey code for the Escape key would be 45. 0x45 is implied since
  18. in the same table there are hex values such as 4C, 4D. 
  19.  
  20. However, my program reports an IDCMP_RAWKEY IntuiMessage->Code value
  21. of 0x1B when I press Esc. I recall seeing this 0x1B somewhere else
  22. as the Esc keycode, so I think it's the correct one. 
  23.  
  24. The question is: Why the heck does RKM Libs page 819 list 0x45 for the
  25. Escape keycode? 0x1B isn't even 45 decimal. 
  26.  
  27. (Another point of interest would be the poor key whose keycode *is*
  28. 0x45... Mistaken for Esc in every program written with RKM. :-D)
  29.  
  30. tikarjal
  31.  
  32.