home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 581b.lha / GetKeyMap / GetKeyMap.h < prev    next >
C/C++ Source or Header  |  1991-12-01  |  710b  |  22 lines

  1. /* This file can be included in your program.  It includes the keymap
  2.    header file and defines a keymap structure for use by your program.
  3.      I assign it to the StringInfo structure AltKeyMap member in order
  4.      to use the new keymap in a string gadget.  Don't forget to set the
  5.      ALTKEYMAP bit in the 'Activation' member of the gadget structure.
  6.      You can have as many different keymaps as you wish.  Just make sure
  7.      you define each one keymap and each of its members with unique names. */
  8.      
  9. #include <devices/keymap.h>
  10.  
  11. UBYTE lkmt[0x40];
  12. ULONG lkm[0x40];
  13. UBYTE lc[8];
  14. UBYTE lr[8];
  15. UBYTE hkmt[0x40];
  16. ULONG hkm[0x40];
  17. UBYTE hc[8];
  18. UBYTE hr[8];
  19.  
  20. struct KeyMap keymap = {lkmt, lkm, lc, lr, hkmt, hkm, hc, hr};
  21.  
  22.