*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/qenter (3)              


qenter(3G)							    qenter(3G)

NAME    [Toc]    [Back]

     qenter - creates an event queue entry

C SPECIFICATION    [Toc]    [Back]

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

PARAMETERS    [Toc]    [Back]

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

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

DESCRIPTION    [Toc]    [Back]

     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 usergenerated
 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    [Toc]    [Back]

     qcontrol, qread, qreset, qtest

NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
qread IRIX reads the first entry in the event queue
alPendingEvents IRIX Get total number of event queued in event queue
rpccp_add_element HP-UX Adds an element to a profile in a name service entry; if the specified entry does not exist, creates the entry
rpccp_add_member HP-UX Adds a member to a group in a name service entry; if the specified entry does not exist, creates the entry
alCheckEvent IRIX Looks for an event in the event queue and retrieves it.
qreset IRIX empties the event queue
qcontrol IRIX administers event queue
alCloseEventQueue IRIX close an audio event queue
alFlushEvents IRIX Flush all events in event queue
alOpenEventQueue IRIX open an audio event queue
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service