The "Esc" key in my bluetooth keyboard doesn't work, how to fix it? I'm using Mac mini, and bought this new bluetooth keyboard. It's not Apple production, but has Apple layout. The other keys all work except "Esc" in the left up corner. Obviously it won't be handy if this important key didn't work. How to fix it, please?
I have (likely) the same keyboard and solved the problem this way: I mapped caps lock to esc.

You can do this via System Preferences > Keyboard > Modifier Keys. There, at Caps Lock select Escape.