Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gseven(3) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

gseven

Purpose

     Enables the reporting of events.

C Syntax

     int gseven_ (event)

     int *event;

FORTRAN Syntax

     INTEGER function gseven (event)

     INTEGER event

Pascal Syntax

     FUNCTION gseven_ (

     VAR event: INTEGER
     ): INTEGER [PUBLIC|;

Description

     The gseven subroutine enables  the reporting of events of
     a  given type.   If  the device  producing  the event  is
     enabled,  then gseven  lets  it put  data  into the  ring
     buffer.  If the  event type is not  recognized, no action
     is taken.

     A  valid  input  ring  must be  defined  during  the  GSL
     initialization.

     Parameters

     event     The recognized events are as follows:

               1  Keystroke
               3  Locator movement or button
               4  Lighted Program Function Key (LPFK)
               5  Valuator

     After GSL  initialization, only the keyboard  is enabled.
     If  the  application  wishes   the  other  input  devices
     enabled,  it  must  explicitly   enable  them  with  this
     command.

Return Value

     GS_SUCC   Successful.
     GS_EVNT   Invalid event type.
     GS_UNSC   Unsuccessful.

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