Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gpr_inq_event_data(A) — Apollo Domain/OS SR10.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$INQ_EVENT_DATA               GPR Calls                GPR_$INQ_EVENT_DATA


NAME
     gpr_$inq_event_data - returns the time that an event occurred, and, if it
     is a dial event, the dial number and the dial value.

FORMAT
     gpr_$inq_event_data (event_type, length, event_data, length_ret,
                          time_stamp, status)

DESCRIPTION
     This routine returns the time that an event occurred, and, if it is a
     dial event, the dial number and the dial value.

     This call is in effect an extension of gpr_$event_wait for devices other
     than those originally supported by Apollo.

   Input Parameters
     event_type
          The type of the event, in gpr_$event_t format.  This is a 2-byte
          integer. The event types are:
          gpr_$coded_keys           Coded key input from a keyboard
          gpr_$function_keys        Function key input from a keyboard
          gpr_$physical_keys        Physical key input from a keyboard
          gpr_$keystroke            Input from a keyboard
          gpr_$buttons              Input from mouse or bitpad puck buttons
          gpr_$locator              Input from a touchpad or mouse
          gpr_$locator_update       Most recent input from a touchpad or mouse
          gpr_$entered_window       Cursor has entered window
          gpr_$left_window          Cursor has left window
          gpr_$kbd_entered_window   Keyboard focus has entered window
          gpr_$kbd_left_window      Keyboard focus has left window
          gpr_$locator_stop         Input from a locator has stopped
          gpr_$dial                 Input from a dial box
          gpr_$pfk                  Input from LPFK box
          gpr_$no_event             No event has occurred

     length
          The length of the event data buffer in bytes.  This is a two-byte
          integer.

   Output Parameters
     event_data
          The dial number and value associated with the dial event, in
          gpr_$event_data_t format.  This is a union in C and a variant record
          in Pascal.  You can simulate this data type in FORTRAN by declaring
          a two-element array of four-byte integers.  This parameter is only
          meaningful for dial events.

     length_ret
          The number of bytes returned, in two-byte integer format.

     time_stamp
          The time that the event occurred, in time_$clock_t format.  To simu-
          late this data type in FORTRAN, declare a three-element array of
          long integers.

     status
          Completion status, in status_$t format.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026