Macro key

Some consider a macro key to enhance productivity by allowing them to do operations via a single key press that otherwise requires slower or multiple UI actions.

Custom behavior typically involves one or more user interface (UI) operations such as keystrokes and mouse actions.

[1] For example, a macro key might be configured to launch a program.

It generated a special scan code so that a program could associate unique behavior to it.

Around 2010, some mice had a macro button with a similar utility.

Macro key on an old keyboard.