1
XDEVICEBELL(libmansuffix)
2
=========================
7
XDeviceBell - ring a bell on a device supported through the
13
#include <X11/extensions/XInput.h>
15
Status XDeviceBell( Display *display,
21
Specifies the connection to the X server.
24
Specifies the device with which the bell is associated.
27
Specifies the class of the feedback with which the bell
31
Specifies the id of the feedback with which the bell is
35
Specifies the volume in the range -100 to 100 at which
36
the bell should be rung.
41
The XDeviceBell request causes the server to ring a bell on the
42
specified feedback of the specified device, if possible. The
43
specified volume is relative to the base volume for the bell.
44
If an invalid device is specified, a BadDevice error will be
45
returned. The feedbackclass and feedbackid parameters contain
46
values returned by an XGetFeedbackControl request and uniquely
47
identify the bell to ring. If a feedbackclass is specified that
48
does not support a bell, or if a nonexistent feedbackid is
49
specified, or a percent value is specified that is not in the
50
range -100 to 100, a BadValue error will be returned.
52
The volume at which the bell is rung when the percent argument
53
is nonnegative is: base - [(base * percent) / 100] + percent
55
The volume at which the bell rings when the percent argument is
56
negative is: base + [(base * percent) / 100]
58
To change the base volume of the bell, use
59
XChangeFeedbackControl.
61
XDeviceBell can generate a BadDevice or a BadValue error.
67
An invalid device was specified. The specified device
68
does not exist, or has not been opened by this client
72
An invalid feedbackclass, feedbackid, or percent value
78
XChangeFeedbackControl(libmansuffix), XBell(libmansuffix)