Using KeyCode.Escape in the Input Manager?

Hi there! Quick little question I am hoping someone is able to answer.

So i am working on an app for android devices of course, I want to be able to map “KeyCode.Escape” ie… the back button on android devices, and the toolbar, to use in the input manager. Only when I go to type KeyCode.Escape in the positive field in the input I have set up in the input manager, it does not accept that.

Is there something I can use in the input fields, that will be accepted… and will work on android as if I was using KeyCode.Escape? can I possibly just… gasp… type in “Escape” and it will work the same way?

Thanks guys!

nobody knows?

edit

it’s simple old “escape”

i didn’t know that worked for the hardware back key, and also the toolbar menu key. so anyone who wants to know for future reference, there you go.

1 Like

For those also looking, this seems to list all the key names: Unity - Manual: Input Manager