mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-15 00:13:28 +00:00
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.
This commit is contained in:
parent
3df454719f
commit
81728558a0
12 changed files with 335 additions and 6 deletions
|
|
@ -174,6 +174,7 @@ extern int xf86GetSerialModemState(int fd);
|
|||
extern int xf86SerialModemSetBits(int fd, int bits);
|
||||
extern int xf86SerialModemClearBits(int fd, int bits);
|
||||
extern int xf86LoadKernelModule(const char *pathname);
|
||||
extern void xf86RingBell(int volume, int pitch, int duration);
|
||||
|
||||
/* AGP GART interface */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue