Intermec Janus 2020 Reference Manual - Im_Get_Keyclick
im_get_keyclick
3-32
im_get_keyclick
Purpose:
Every time you press a key, the reader can emit a click. This procedure
retrieves the current setting (enabled or disabled) of the keyclick.
Syntax:
With Intrmecd_IO, Intrmecp_IO;
Use Intrmecd_IO, Intrmecp_IO;
procedure im_get_keyclick (
keyclick_status : OUT IM_CONTROL;
status_code : OUT System.Word);
IN Parameter:
None.
OUT Parameter:
The keyclick_status parameter is one of the following constants:
IM_ENABLE
Keyclick mode is enabled
IM_DISABLE
Keyclick mode is disabled
The status_code is one of the standard status codes defined in Appendix A,
“Status Codes.”
Return Value:
None.
See Also:
im_set_keyclick
Example
With System, Text_IO, Intrmecd_IO, Intrmecp_IO;
Use System, Text_IO, Intrmecd_IO, Intrmecp_IO;
procedure getkeycl Is
keyclick_status : IM_CONTROL;
status_code : System.Word;
begin
im_get_keyclick (keyclick_status, status_code);
if keyclick_status = IM_ENABLE then
Put_Line ("Keyclick ENABLED");
else
Put_Line ("Keyclick DISABLED");
end if;
end getkeycl;