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

Enabling Auto-Repeat for Extended Input Devices

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To enable auto-repeat for an extended input device, use XHPDeviceAutoRepeatOn.

int XHPDeviceAutoRepeatOn(display, deviceid, mode)
Display *display;
XID deviceid;
unsigned int mode;

Title not available (Enabling Auto-Repeat for Extended Input Devices )

display

Specifies the connection to the X server.

deviceid

Specifies the ID of the desired device.

mode

Specifies the auto-repeat rate. Valid values are REPEAT_30, which causes repeats to take place every 1 \\over 30 of a second, and REPEAT_60, which causes repeats to take place every 1 \\over 60 of a second.

XHPDeviceAutoRepeatOn is provided to support the use of input devices other than the X keyboard and X pointer device. It cannot be used to turn auto-repeat on for the X keyboard device. The core XAutoRepeatOn function should be used for that purpose.

XHPDeviceAutoRepeatOn can generate BadDevice and BadValue errors.

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