Add preferences for logging mouse / key events.