Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!linus!necntc!ames!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU.UUCP Newsgroups: comp.sys.amiga Subject: Re: RawKeyConvert() Message-ID: <8710010554.AA10691@cory.Berkeley.EDU> Date: Thu, 1-Oct-87 01:54:56 EDT Article-I.D.: cory.8710010554.AA10691 Posted: Thu Oct 1 01:54:56 1987 Date-Received: Sat, 3-Oct-87 03:37:58 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 18 >Has anyone used RawKeyConvert()? The update manual states that you >must be using the console device to make use of it. Since I didn't >want to, I wrote my own, then realized that I didn't know how to get >the keymap - I didn't have a CreateStdIO() I/O port. So I loaded a >keymap from disk to test the routine. Then it hit me - maybe you only >need console.device to get the keymap? Has anyone tried this? How can >I get the default keymap for the system? I didn't see the keymap name >in the preferences struct. Is there a load keymap function? Currently, >I just load the map and adjust the pointer returned by LoadSeg(). You can open a console device without openning a console device. That is, without specifying a window (see RKM). With this 'dummy' console device you can use CD_ASKDEFAULTKEYMAP to get the default keymap. RawKeyConvert() is a function in the CONSOLE.DEVICE LIBARARY VECTORS and thus you need to have an open console device to use it. -Matt