I called Apple and the person I talked to helped me troubleshoot it. He came to the conclusion that it was the hardware and sent me off a new keyboard. I'm using it right now, and I'm still having troubles with the volume and eject keys. I haven't even sent off the old keyboard yet. Anyone else got any suggestions? It's obviously software related, unless it's the USB ports. I can't think of anything else. Unless it's a specific app that's open or running that gives me trouble. But I have no idea what that app would be. Anyone else have the same problems?
EDIT: Arg! I just closed all my apps down, still wouldn't work. I opened up my trash and emptied it, it made the trash empty sound, I tried again, and suddenly it works. This makes no sense at all.