qenter(3G)
qenter - creates an event queue entry
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME qenter - creates an event queue entry FORTRAN 77 SPECIFICATION subroutine qenter(dev, val) integer*4 dev, 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 16-bit device number and 16-bit 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: $0000 -> $0FFF Devices defined by SGI $0001 -> $00FF Buttons $0100 -> $01FF Valuators $0200 -> $02FF Pseudo devices $0300 -> $0EFF Reserved $0F00 -> $0FFF Additional buttons $1000 -> $7FFF Devices defined by users $1000 -> $2FFF Buttons $3000 -> $3FFF Valuators $4000 -> $7FFF Pseudo devices $8000 -> $FFFF Can not be used SEE ALSO qcontr, qread, qreset, qtest NOTE This routine is available only in immediate mode.