Changed the event to use 'keycode', 'which' wasn't working.