diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-11-01 23:10:26 +0200 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-11-01 23:10:26 +0200 |
commit | 81728558a044fdde0e1d63da7b6314755f77296e (patch) | |
tree | 94e8bb0559aee194216164ee10b09446ca1570a0 /include/input.h | |
parent | 3df454719f9cbf6a046cb7458019ec621b3b42ee (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.h | 6 |
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 */ |