actionmap: Implement key translations