mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Add bell support.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-02-19 Zephaniah E. Hull <warp@aehallh.com>
|
||||
|
||||
* src/evdev_key.c: (EvdevKbdBell):
|
||||
Add bell support.
|
||||
|
||||
2006-02-16 Zephaniah E. Hull <warp@aehallh.com>
|
||||
|
||||
* src/evdev_btn.c: (EvdevBtnCalcRemap):
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user