• Andries E. Brouwer's avatar
    Since 2.5.32 the keyboard repeat code was broken. · 723a2459
    Andries E. Brouwer authored
    The reason Vojtech broke it was the stupid name of a field
    in struct kbd_repeat, namely "rate".  Every sane person
    expects that a rate has dimension [1/sec], but here the
    "rate" is a time period measured in msec.
    
    So, the patch below first of all fixes the code,
    and secondly changes the name.
    Since Vojtech used PERIOD as index, I also used period
    as field name in the struct.
    
    Half of the stuff below is actually from Alan Stern.
    
    Andries
    723a2459
uctrl.c 10.4 KB