•  Back 
  •  VDI Inquire 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filevsin_mode()
vqin_mode()                                                             VDI

Syntax

VOID vqin_mode( handle, dev, mode )
WORD handle, dev;
WORD *mode;

Function      vqin_mode() returns the input status of the specified VDI
              device.

Opcode        115

Availability  Supported by all Atari computers.

Parameters    handle specifies a valid workstation handle. mode points to
              a WORD which upon exit will be filled in with 1 if the
              specified device is in request mode or 2 if in sample mode.
              dev specifies the device to inquire as follows:

              Name     dev  Device

              LOCATOR   1   Locator (Mouse, Mouse Buttons, and Keyboard)

              VALUATOR  2   Valuator (not currently defined)

              CHOICE    3   Choice (not currently defined)

              STRING    4   String (Keyboard)

Binding       contrl[0] = 115;
              contrl[1] = 0
              contrl[3] = 1;
              contrl[6] = handle;

              intin[0] = dev;

              vdi();

              *mode = intout[0];

See Also      vsin_mode()

Group         VDI Inquire