CompuServe Messages

Input Devices

    03-Jan-95 20:21:58
Sb: #45029-Input Devices
Fm: Werner Kazmierzak 100041,1320
To: Gary Chaney 74347,2625
Gary, Open the console.device in library mode. Use IDCMP_RAWKEY. You will get a message for each key when it is pressed, and another one, when it is released. Filter out the special keys you want to monitor. If some alpha key is pressed, let the console device translate it for you to ASCII with it's function RawKeyConvert(), which will take care of the keyboard preferences the user has chosen. Looks simple, but it's a hard piece of work to implement and test. – wkc – … via AP from Hamburg, Germany