fixing use of getKeyCode when getExtendedKeyCode fails, now it is playable on my Mac OSX Mavericks (Java7)

using getKeyCode when getExtendedKeyCode returns VK_UNDEFINED