Update keyrepeat value.