Numeric Keypad Weirdness

This morning, I was typing something in and accidentally hit a key or keys near the Insert and Print Screen keys.  The num-lock light went off and using the numeric keypad stopped working.  When I turn num-lock back on, rather than entering numbers, my cursor jumped around.  I’m not sure how I did this, but to fix it, I did this (on Ubuntu 10.04):

  1. Start Keyboard Preferences (System -> Preferences -> Keyboard)
  2. Select Mouse Keys tab
  3. Uncheck “Pointer can be controlled using the keypad”