diff options
author | Zephaniah E. Hull <warp@aehallh.com> | 2006-02-19 19:11:04 +0000 |
---|---|---|
committer | Zephaniah E. Hull <warp@aehallh.com> | 2006-02-19 19:11:04 +0000 |
commit | c6dbf89d9d40fcbce72493404ea02b7e7957513f (patch) | |
tree | c366713a210cb04309695e86394f306856f8bd42 /src | |
parent | Bugzilla #5914 <https://bugs.freedesktop.org/show_bug.cgi?id=5914> Stupid (diff) | |
download | xf86-input-evdev-c6dbf89d9d40fcbce72493404ea02b7e7957513f.tar.gz xf86-input-evdev-c6dbf89d9d40fcbce72493404ea02b7e7957513f.tar.bz2 xf86-input-evdev-c6dbf89d9d40fcbce72493404ea02b7e7957513f.zip |
Add bell support.
Diffstat (limited to 'src')
-rw-r--r-- | src/evdev_key.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/evdev_key.c b/src/evdev_key.c index 9fddb2b..a759f5f 100644 --- a/src/evdev_key.c +++ b/src/evdev_key.c @@ -244,12 +244,14 @@ static KeySym map[] = { }; /* - * FIXME: We can't actually _do_ anything here. - * Find a way around this. + * FIXME: We have no way of ringing the bell ourselves. + * So use the system bell for now. */ static void EvdevKbdBell (int percent, DeviceIntPtr device, pointer ctrl, int unused) { + xf86SoundKbdBell(percent, ((KeybdCtrl*) ctrl)->bell_pitch, + ((KeybdCtrl*) ctrl)->bell_duration); } static void |