Add 'repeat' field to KeyDown and KeyUp events.