fix use getKeyCode when getExtendedKeyCode fails

using getKeyCode when getExtendedKeyCode returns VK_UNDEFINED
Merge pull request #2 from bartoleo/master

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