Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ qenter(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



qenter(3G)                                                          qenter(3G)



NAME
     qenter - creates an event queue entry

C SPECIFICATION
     void qenter(dev, val)
     Device dev;
     short val;

PARAMETERS
     dev   expects the device number to be entered into the event queue.

     val   expects the value to be entered into the event queue.

DESCRIPTION
     qenter takes a device number and a value and enters them into the event
     queue of the calling process.  There is no way to distinguish user-
     generated and system-generated events except by device number.

     The 16-bit device number name space is partitioned as follows:

          0x0000 -> 0x0FFF     Devices defined by SGI
              0x0001 -> 0x00FF     Buttons
              0x0100 -> 0x01FF     Valuators
              0x0200 -> 0x02FF     Pseudo devices
              0x0300 -> 0x0EFF     Reserved
              0x0F00 -> 0x0FFF     Additional buttons

          0x1000 -> 0x7FFF     Devices defined by users
              0x1000 -> 0x2FFF     Buttons
              0x3000 -> 0x3FFF     Valuators
              0x4000 -> 0x7FFF     Pseudo devices

          0x8000 -> 0xFFFF     Can not be used

SEE ALSO
     qcontrol, qread, qreset, qtest

NOTE
     This routine is available only in immediate mode.
















                                                                        Page 1



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