im_set_input_mode
Desktop Mode The application is responsible for retrieving and displaying
input. Use Desktop mode when you need detailed information about a
pressed key. Each character returned consists of four bytes: the ASCII code,
scan code, and two bytes for the keyboard flags (Shift, Ctrl, Alt).
For more information about reader input modes, see Chapter 5, "Advanced
Programming," in the PSK Reference Manual.
You must install the Reader Wedge to use this function. For information on
loading RWTSR.EXE, see "Runtime Requirements" in Chapter 2, "Working
With Ada."
Upon exiting the program, set the input mode to IM_WEDGE so that DOS
will work as expected.
im_get_input_mode, im_receive_input
See Also:
Example
See example for im_receive_input.
3-118