qenter - creates an event queue entry
void qenter(dev, val)
dev expects the device number to be entered into the event queue.
val expects the value to be entered into the event queue.
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
qcontrol, qread, qreset, qtest
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]