static int simplifyKeyCode(int code) { ret code == KeyEvent.VK_KP_DOWN ? KeyEvent.VK_DOWN : code; }