By default keyboard shortcuts are enabled on Micello maps. It listens to key pressed and takes appropriate action. For example, keypress 'l' will change the level, 'd' will change the drawing, arrow keys will move the map.

At some point, you need to disable key commands as it might prevent you from entering text on map. Add this below line of code in your mapInit function to disable key commands.

mapGui = mapControl.getMapGUI();
mapGui.KEY_COMMANDS = false;

Try pressing 'l', 'd', arrow keys in below example, it will not take any action.