Lookup key-presses in a user-defined map.