Lion keyboard problem - all apps stop receiving key events
I'm running Lion GM on a 2-year-old MacBook Pro and am seeing very odd, intermittent problems with keyboard events. Occasionally - usually after about 5-10 minutes after logging on - no keyboard events will be sent to any application. However, I can see that the OS is still getting those events, because certain system-level key combos work (e.g. Opt+arrow to switch between spaces) and the Keyboard Viewer is still registering all keypresses. Despite this, no application (including the Finder and the password-entry box to unlock the screensaver) is getting any keyboard input.
I'm trying to work out what circumstances might be triggering this problem; so far it only seems to happen when I'm at work, using wired ethernet & wifi, bluetooth Magic Mouse, Dell secondary monitor. (At home I use a secondary monitor, wifi only, USB mouse.) The only software I'm running that I know may be responsible is BetterTouchTool - I'm going to uninstall that and see if it helps. Other than that, I have no idea.
Anyone else getting this problem?
MacBook Pro, Other OS