isDirectionalPadKeyCode

open fun isDirectionalPadKeyCode(keyCode: Int): Boolean

Returns true when the key code is one of the following: - KEYCODE_DPAD_UP - KEYCODE_DPAD_DOWN - KEYCODE_DPAD_CENTER - KEYCODE_DPAD_RIGHT - KEYCODE_DPAD_LEFT or false otherwise.

Return

true when it is a directional Pad key code

Parameters

keyCode

the KeyEvent key code