HPlogo HP Xlib Extensions:

Chapter 5 X Input Device Extension Functions

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

Table of Contents

Listing Available Input Devices
Listing Input Devices
Freeing the List of Input Devices
Enabling and Disabling Input Devices
Opening Extended Input Devices
Closing Input Devices
Selecting Input from Extension Input Devices
Selecting Extension Events
Getting the List of Currently Selected Extension Events
Sending Extension Events
Getting the dont-propagate-list
Changing the dont-propagate-list
Getting Extended Device Motion History
Freeing the Device Motion Array
Grabbing and Ungrabbing Extension Input Devices
Grabbing Extended Input Devices
Ungrabbing Extended Input Devices
Grabbing Extended Input Device Buttons
Ungrabbing Extended Input Device Buttons
Grabbing Extended Input Device Keys
Ungrabbing Extended Input Device Keys
Releasing Queued Events
Focusing Extension Input Devices
Getting Extended Input Device Focus
Setting Extended Input Device Focus
Controlling Device Encodings
Getting the Key Mapping of Extended Input Devices
Changing the Key Mapping of Extended Input Devices
Getting the Modifier Mapping of Extended Input Devices
Setting the Modifier Mapping of Extended Input Devices
Querying the Device Button Mapping
Changing the Device Button Mapping
Changing the Core X Devices
Changing the X Keyboard Device
Changing the X Pointer Device
Feedback Control
Querying Input Device Feedbacks
Changing Input Device Feedbacks
Miscellaneous Functions
Changing the Mode of an Input Device
Checking the State of an Extension Input Device
Finding the Extension Version
Ringing a Bell on an Extension Input Device
Initializing Valuators on an Input Device
Getting Input Device Controls
Changing Input Device Controls
Sample X Input Device Extension Program

The functions described in this chapter allow client programs to access input devices other than the X keyboard and the X pointer.

NOTE: The functions described in this chapter supersede many of the HP extension functions described in . You should use the functions described in this chapter unless you require functionality that is only supported through the HP extension functions.

Do not mix functions of the two types. If you need to use input device extension functions, select either the X standard functions or the HP functions.

None of these features are required in order for the X server or X clients to operate correctly if the X keyboard and X pointer are the only input devices.

These input device extension functions are accessible through the library libXi.a. Defined constants and structures needed by clients that use these functions are found in the files XI.h and XInput.h.

X include files are installed in a subdirectory of /usr/include. For example, if the HP-UX Developer's Toolkit 1.0 product is installed, the X include files are installed in /usr/include/X11R5/X11.

Refer to the sample program at the end of this chapter for more information about using the functions described below.

© 1995 Hewlett-Packard Development Company, L.P.