Translations:FunKey Wiki Knowledge Center/108/en

In addition to its regular input mapping functionality, the MAP function is also used to overwrite previous mappings with new ones. To do this, following the word MAP the button or button combination and input or shortcut be remapped should be defined, seperated by the function TO KEY if remapping inputs or zoom or aspect ratio shortcuts, or TO COMMAND if remapping any other shortcut. Should the user wish to create a KEY file that switches the A and B inputs, for instance, all that would be needed would be MAP A TO KEY KEY_B on the first line and MAP B TO KEY KEY_A on the second. Note the formatting of the inputs; KEY_A and KEY_B. All inputs, as well as the zoom in, zoom out, and aspect ratio shortcuts, are defined in KEY files by KEY_ followed by a letter. Should remapping occur without the input of the secondary button swapped to the first button (whether due to that input being moved to an empty slot such as FN+START or simply overwritten and not replaced), the UNMAP function should first be used to remove the original mapping so that the input is not mapped to two buttons simultaneously. For instance, should a user wish to remove the aspect ratio shortcut and move the snapshot shortcut to its place, the KEY file for doing so would simply have UNMAP FN+UP on the first line and MAP FN+DOWN TO COMMAND snapshot on the second. In creating KEY files, note that due to a glitch with the formatting of such files, games with apostrophes in their title currently must be renamed to have KEY file support (such as renaming Kirby's Dream Land.gb to Kirbys Dream Land.gb). For additional KEY file examples, consult the FunKey Wiki's list of pre-configured KEY files.