summaryrefslogtreecommitdiff
path: root/include/input.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-11-01 23:10:26 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-11-01 23:10:26 +0200
commit81728558a044fdde0e1d63da7b6314755f77296e (patch)
tree94e8bb0559aee194216164ee10b09446ca1570a0 /include/input.h
parent3df454719f9cbf6a046cb7458019ec621b3b42ee (diff)
input: add non-keyboard bell ringing function
Add a generic 'ring the bell' function (console bell on Linux and BSD, /dev/audio on Solaris), and add DDX functions for this. Make this the core keyboard's bell. Port Xvfb and Xnest to this. Port XFree86 to this, with OS-specific hooks for Linux, BSD, and Solaris taken from foo_io.c in the old layer.
Diffstat (limited to 'include/input.h')
-rw-r--r--include/input.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/input.h b/include/input.h
index 3fe694474..f2fe6d137 100644
--- a/include/input.h
+++ b/include/input.h
@@ -441,7 +441,9 @@ extern DeviceIntPtr LookupDeviceIntRec(
extern int NewInputDeviceRequest(
InputOption *options);
-extern DeviceIntPtr LookupDeviceIntRec(
- CARD8 deviceid);
+extern void DDXRingBell(
+ int volume,
+ int pitch,
+ int duration);
#endif /* INPUT_H */