XHPSelectExtensionEvent(3X) — Subroutines
Series 300 and 800 Only
NAME
XHPSelectExtensionEvent - Select an extension event.
SYNOPSIS
XHPSelectExtensionEvent (display, window, deviceid, mask)
Display∗display;
Windowwindow;
XIDdeviceid;
Maskmask;
ARGUMENTS
display Specifies the connection to the X server.
window Specifies the window from which input is desired.
deviceid Specifies the device from which input is desired.
mask Specifies the mask of input events that are desired.
DESCRIPTION
This function is provided to support the use of input devices other than the X keyboard and X pointer device. It allows input from other input devices to be selected independently from that coming from the X pointer and keyboard.
XHPSelectExtensionEvent requests the server to send an extended event that matches the specified event mask and comes from the specified device and window. In order to use this function, the client program must first determine the appropriate deviceid by using the XHPListInputDevice function, and the appropriate event mask by using the XHPGetExtEventMask function. Multiple event masks returned by XHPGetExtEventMask may be OR’d together and specified in a single request to XHPSelectExtensionEvent.
This function cannot be used to select any of the core X events, or to receive input from the X Keyboard or X pointer device. The core XSelectInput function should be used for that purpose.
DIAGNOSTICS
BadDevice An invalid device ID was specified.
BadWindow An invalid window ID was specified.
RETURN VALUE
none
FILES
none
ORIGIN
Hewlett-Packard Company
SEE ALSO
XHPListInputDevices(3x)
XHPGetExtEventMask(3x)
XSelectInput(3x)