XF86MiscQueryExtension, XF86MiscQueryVersion, XF86MiscGetMouseSettings, XF86MiscSetMouseSettings, XF86MiscGetKbdSettings, XF86MiscSetKbdSettings \- Extension library for the XFree86-Misc X extension.
.SHSYNTAX
.nf
.LP
\&#include <X11/extensions/xf86misc.h>
.LP
Bool XF86MiscQueryExtension(
Display *\fIdisplay\fP\^,
int *\fIevent_base_return\fP\^,
int *\fIerror_base_return\fP\^);
.LP
Bool XF86MiscQueryVersion(
Display *\fIdisplay\fP\^,
int *\fImajor_version_return\fP\^,
int *\fIminor_version_return\fP\^);
.ig
.LP
Status XF86MiscGetSaver(
Display *\fIdisplay\fP\^,
int \fIscreen\fP\^,
int *\fIsuspend_time_return\fP\^,
int *\fIoff_time_return\fP\^);
.LP
Status XF86MiscSetSaver(
Display *\fIdisplay\fP\^,
int \fIscreen\fP\^,
int \fIsuspend_time\fP\^,
int \fIoff_time\fP\^);
..
.LP
Status XF86MiscGetMouseSettings(
Display *\fIdisplay\fP\^,
XF86MiscMouseSettings *\fImseinfo\fP\^);
.LP
Status XF86MiscSetMouseSettings(
Display *\fIdisplay\fP\^,
XF86MiscMouseSettings *\fImseinfo\fP\^);
.LP
Status XF86MiscGetKbdSettings(
Display *\fIdisplay\fP\^,
XF86MiscKbdSettings *\fIkbdinfo\fP\^);
.LP
Status XF86MiscSetKbdSettings(
Display *\fIdisplay\fP\^,
XF86MiscKbdSettings *\fIkbdinfo\fP\^);
.fi
.SHARGUMENTS
.IP\fIdisplay\fP2i
Specifies the connection to the X server.
.IP\fIscreen\fP2i
Specifies which screen number the setting apply to.
.IP\fIevent_base_return\fP2i
Returns the base event number for the extension.
.IP\fIerror_base_return\fP2i
Returns the base error number for the extension.
.IP\fImajor_version_return\fP2i
Returns the major version number of the extension.
.IP\fIminor_version_return\fP2i
Returns the minor version number of the extension.
.ig
.IP\fIsuspend_time_return\fP2i
Returns the number of seconds of idle time the server
will wait before activating the monitor's suspend mode.
.IP\fIoff_time_return\fP2i
Returns the number of seconds of idle time the server
will wait before causing the monitor to powerdown.
.IP\fIsuspend_time\fP2i
Specifies the number of seconds of idle time the server
should wait before activating the monitor's suspend mode.
.IP\fIoff_time\fP2i
Specifies the number of seconds of idle time the server
should wait before causing the monitor to powerdown.
..
.IP\fImseinfo\fP2i
Specifies a structure which contains the mouse parameters.
.IP\fIkbdinfo\fP2i
Specifies a structure which contains the keyboard parameters.
.SHSTRUCTURES
.nf
.ta3i
\fIMouse:\fP
typedef struct {
char *device; /\(** returned path to device */
int type; /\(** mouse protocol */
int baudrate; /\(** 1200, 2400, 4800, or 9600 */
int samplerate; /\(** samples per second */
int resolution; /\(** resolution, count per inch */