Hi. i have been trying to do a simple task. whenever any key is pressed for input either from Keyboad (pc), or Tv remote, as im building it for android tv also. i want it to show the id or the keycode of the button that is pressed on the screen. for example if someone presses Enter (Return) i want unity to show the keycode on the screen. (the keycode we use to get input in our script. for example Input.GetKeyDown (KeyCode.Return)). Any kind of help will be appreciated thanks.
I answered a very similar question just earlier today about displaying the ASCII code of a key pressed. Does that not solve your question? how can compare the the character by ascii value ? - Unity Answers