Record X11 keystrokes: -category, +tag