Emulate remote control number key presses on Android TV Emulator

241 views Asked by At

Is there a way to emulate the remote's numpad key presses (i.e. KeyEvent.KEYCODE_NUMPAD) in the Android TV Emulator?

1

There are 1 answers

0
mahdi On BEST ANSWER

You can emulate all key presses using adb shell command input keyevent. For numpad you can use the command like this: adb shell input keyevent KEYCODE_NUMPAD_1