home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 499.lha / InputDeviceToolKit / input.lzh / src / DeviceToolKits / Input / docs / DTInputSetMTrigger.doc < prev    next >
Encoding:
Text File  |  1991-01-05  |  1.5 KB  |  67 lines

  1.  
  2.                              Input Device ToolKit
  3.  
  4.  
  5.      DTInputSetMTrigger (1.1)                      DTInputSetMTrigger (1.1)
  6.  
  7.  
  8.      NAME
  9.  
  10.                DTInputSetMTrigger       Set the Trigger Values of the
  11.                                         Controller Attached for Mouse Input
  12.  
  13.      SYNOPSIS
  14.  
  15.                #include  "DeviceToolKits/Input.h"
  16.                #include  "DeviceToolKits/proto/Input.h"
  17.  
  18.                status = DTInputSetMTrigger(DTInput,trigger);
  19.  
  20.                DTInput_t                     DTInput;       Control
  21.                                                             structure
  22.                struct    GamePortTrigger     *trigger;      New trigger
  23.                                                             values
  24.  
  25.                LONG                          status;        Returned status
  26.  
  27.      FUNCTION
  28.  
  29.                This function sets the trigger values of the controller
  30.                attached for mouse input to the Input device.
  31.  
  32.      RETURNS
  33.  
  34.                If 'status' is zero, the request has been issued and
  35.                completed.  If 'status' is greater than zero, the ToolKit
  36.                has detected an error and that error is returned.  If
  37.                'status' is less than zero, an error was detected by the I/O
  38.                system and that error is returned in the in_error field of
  39.                the control structure.
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                           1
  62.           Printed September 10, 1990                                 Page  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.