As the title says, keyboard repeat stopped working. I mean the behavior which causes repeating key presses when holding a button. For example holding the right arrow should move my cursor between words, but it does not. Holding an 'f' button does not type in 'fffffff' in any application at all. It does not work anywhere. Keyboard settings seem to be configured properly in the switchboard .

EDIT: I discovered using xev that my system is registering key presses constantly, even when I am not pressing anything. xev returns the following:

KeyPress event, serial 37, synthetic NO, window 0x3e00001, root 0x2c8, subw 0x0, time 161832, (322,168), root:(1193,635), state 0x0, keycode 221 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False

This event keeps popping up constantly, again, without pressing anything.

Any clue on how to fix it?