Hi, I’m making a game for Android TV box with a remote control that uses KEYCODE_CLEAR for OK button. Unfortunately, I don’t have access to the device right now and test input via adb shell, typing commands like “input keyevent KEYCODE_DPAD_UP”. And everything works fine except for the clear key. First I thought there was some problem with Rewired plugin, but reading key with Input.GetKeyDown(KeyCode.Clear) doesn’t work either.
Please define “doesn’t work”, do you get an error? Also how are you testing on the device if you don’t have access to the device?
KEYCODE_CLEAR is not handled by our current input system on Android. You can report it as a bug, but please provide a clear description how it can be reproduced with a real device (without using emulation).