• Dmitry Torokhov's avatar
    Input: atkbd - throttle LED switching · da4249c9
    Dmitry Torokhov authored
    On some boxes keyboard controllers are too slow to withstand
    continuous flow of requests to turn keyboard LEDs on and off
    and start losing some keypresses or even all of them.
    
    Delay executing of LED switching request if we had another one
    within 50 ms thus easing load on the controller.
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    da4249c9
atkbd.c 34.6 KB