Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Xlib Extensions: > Chapter 6 HP Input Device Extension Functions

Getting the Modifier Mapping of Extended Input Devices

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To get the modifier mapping of an extended input device, use XHPGetDeviceModifierMapping.

XModifierKeymap *XHPGetDeviceModifierMapping(display,
deviceid)
Display *display;
XID deviceid;

Title not available (Getting the Modifier Mapping of Extended Input Devices)

display

Specifies the connection to the X server.

deviceid

Specifies the ID of the device whose modifier map is requested.

XHPGetDeviceModifierMapping allows a client program to read and use the keys being used as modifiers for an extended input device.

XHPGetDeviceModifierMapping returns a newly created XModifierKeymap structure that contains the keys being used as modifiers for the specified device. The structure should be freed after use by calling XFreeModifiermap. If only zero values appear in the set for any modifier, that modifier is disabled.

XHPGetDeviceModifierMapping can generate a BadDevice error.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1995 Hewlett-Packard Development Company, L.P.