My widescreen iMac (OS 10.4.10) suddenly began behaving as if the command key is pressed all the time. Clicking on an icon in the dock brings up not the application, but the application folder that contains it. (Option clicking on the icon brings up the app.) Typing an "n" in TextEdit brings up a new window, a "q" quits the app, etc.
The problem isn't in the keyboard, since a different keyboard produces exactly the same result. Any suggestions will be greatly appreciated, since this renders the computer completely unusable.