Integrate menu key mapping in platform code