A programmable key or set of keys that will result in a preset commands or combination of commands.

For example: A common macro for the game Ultima Online is "alt+b" which will result in the user's character bowing down.

Macros are used so that the gamer can complete sometimes complex commands in the pressing of few buttons.