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."
im_set_input_mode, im_receive_input
See Also:
Example
With System, Text_IO, Intrmecd_IO, Intrmecp_IO;
Use System, Text_IO, Intrmecd_IO, Intrmecp_IO;
procedure getinmod Is
package IM_MODE_IO is new ENUMERATION_IO
(enum => IM_MODE);
mode : IM_MODE;
begin
mode := im_get_input_mode;
Put ("Mode is ");
IM_MODE_IO.Put (mode);
New_Line;
end getinmod;
3
im_get_input_mode
3-31